Record

calculation

No description available.

record calculation {
  amount-total: s32,
  currency: string,
  customer: option​<string>,
  customer-details: product-resource-customer-details,
  expires-at: option​<s32>,
  id: option​<string>,
  line-items: option​<calculation-line-items>,
  livemode: bool,
  object: calculation-object-enum,
  shipping-cost: option​<string>,
  tax-amount-exclusive: s32,
  tax-amount-inclusive: s32,
  tax-breakdown: list​<product-resource-tax-breakdown>,
  tax-date: s32,
}

Fields

NameTypeDescription
amount-totals32
currencystring
customeroption​<string>
customer-detailsproduct-resource-customer-details
expires-atoption​<s32>
idoption​<string>
line-itemsoption​<calculation-line-items>
livemodebool
objectcalculation-object-enum
shipping-costoption​<string>
tax-amount-exclusives32
tax-amount-inclusives32
tax-breakdownlist​<product-resource-tax-breakdown>
tax-dates32