BillingDiscounts

@Serializable
data class BillingDiscounts(val proration: BillingProrationDiscount? = null, val discount: BillingAppliedDiscount? = null, val total: BillingMoneyAmount)

Discounts applied to a checkout or payment, such as prorated discounts for mid-cycle seat additions.

Constructors

Link copied to clipboard
constructor(proration: BillingProrationDiscount? = null, discount: BillingAppliedDiscount? = null, total: BillingMoneyAmount)

Properties

Link copied to clipboard

The catalog discount applied to the transaction. Omitted when no catalog discount applies.

Link copied to clipboard

The prorated discount for the part of the billing period that has already passed when adding a seat mid-cycle. null when no proration discount applies.

Link copied to clipboard

The total of all discounts applied.