BillingPaymentTotals

@Serializable
data class BillingPaymentTotals(val subtotal: BillingMoneyAmount, val grandTotal: BillingMoneyAmount, val taxTotal: BillingMoneyAmount, val baseFee: BillingMoneyAmount? = null, val perUnitTotals: List<BillingPerUnitTotal>? = null, val discounts: BillingDiscounts? = null)

Per-payment cost breakdown, including any base fee and per-unit (for example, seats) subtotals.

Constructors

Link copied to clipboard
constructor(subtotal: BillingMoneyAmount, grandTotal: BillingMoneyAmount, taxTotal: BillingMoneyAmount, baseFee: BillingMoneyAmount? = null, perUnitTotals: List<BillingPerUnitTotal>? = null, discounts: BillingDiscounts? = null)

Properties

Link copied to clipboard

The flat base fee charged on top of any per-unit fees.

Link copied to clipboard

Discounts applied to this payment such as mid-cycle prorated seat discounts. null when no discounts apply.

Link copied to clipboard

The total amount for the payment, including taxes and after credits/discounts are applied.

Link copied to clipboard

Per-unit cost breakdown for this payment (for example, seats).

Link copied to clipboard

The price of the items before taxes, credits, or discounts are applied.

Link copied to clipboard

The amount of tax included in the payment.