Skip to main content

Money Object

Represents amount of money in specific currency.

type Money {
currency: String!
amount: Float!
fractionalAmount: Int!
fractionDigits: Int!
}

Fields

currency ● String!

Currency code.

amount ● Float!

Amount of money.

fractionalAmount ● Int!

Amount of money represented as an integer in the smallest currency unit.

fractionDigits ● Int!

Number of digits after the decimal point in the currency.

Member Of

Checkout object ● CheckoutLine object ● Fulfillment object ● GiftCard object ● GiftCardEventBalance object ● MoneyRange object ● Order object ● OrderDiscount object ● OrderEventDiscountObject object ● OrderGrantedRefund object ● OrderLine object ● OrderLineDiscount object ● Payment object ● ProductChannelListing object ● ProductVariantChannelListing object ● ShippingMethod object ● ShippingMethodChannelListing object ● ShippingMethodType object ● TaxableObject object ● TaxableObjectDiscount object ● TaxableObjectLine object ● TaxedMoney object ● Transaction object ● TransactionEvent object ● TransactionItem object ● Voucher object ● VoucherChannelListing object