---
title: "Money"
description: "金额货币信息"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/money'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/money.md'
---
# Money

金额货币信息

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`Money`

## Fields

* `amount`

  [Decimal](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/decimal.md)

  金额数值

* `currencyCode`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  货币编码

## Schema Definition

```graphql
type Money { 
	amount: Decimal
	currencyCode: String 
}
```

## Field from

* [ShippingRate](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/shipping-rate.md).price

  此运费的价格。

* [Order](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order.md).subtotalPrice

  商品金额累计，不含运费税费

* [Order](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order.md).totalDuties

  订单的总关税，包含编辑的订单商品

* [Order](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order.md).totalPrice

  订单总价，包含了商品金额、运费、税费 以及优惠折扣

* [Order](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order.md).totalShippingPrice

  订单总运费，包含运费折扣

* [Order](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order.md).totalTax

  订单的总税费，包含编辑的订单商品

* [CartDiscountAllocation](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/objects/cart-discount-allocation.md).discountedAmount

  discountedAmount

* [CheckoutLineItem](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/objects/checkout-line-item.md).price

  商品售价

* [CartEstimatedCost](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/objects/cart-estimated-cost.md).subtotalAmount

  除去税费和折扣，顾客预计支付的总金额

* [CartEstimatedCost](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/cart/objects/cart-estimated-cost.md).totalAmount

  顾客预计支付的总金额

* [ProductVariant](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product-variant.md).compareAtPrice

  原价

* [ProductVariant](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product-variant.md).price

  售价

* [OrderLineItem](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order-line-item.md).discountedTotalPrice

  商品行优惠后的金额

* [OrderLineItem](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order-line-item.md).originalTotalPrice

  商品行优惠前的金额

* [FlashSaleProduct](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/flash-sale-product.md).minPrice

  商品的最小价格

* [DiscountAllocation](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/discount-allocation.md).allocatedAmount

  分配的折扣金额。

* [ProductPriceRange](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product-price-range.md).maxVariantPrice

  最高价

* [ProductPriceRange](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product-price-range.md).minVariantPrice

  最低价

* [OrderDiscountAllocation](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order-discount-allocation.md).allocatedAmount

  分配的折扣金额

* [FlashSaleItem](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/flash-sale-item.md).salePrice

  商品款式的活动价格。活动未开始时返回商品售价

* ... and 8 more

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

