Price

(OBJECT)

Amount with currency, possibility to format/locale and indication if it is net or gross

link GraphQL Schema definition

  • type Price {
  • # amount with rounding rules
  • value: Float!
  • # raw amount (unrounded)
  • raw_value: Float!
  • # currency reference
  • currency: Currency!
  • # true = `value` is net (excl. tax), false = gross (incl. tax); for a VAT
  • # non-payer net and gross are equal
  • is_net_price: Boolean
  • # amount incl. currency symbol and optional formatting/rounding rules
  • formatted: String
  • }