BillingCredits

@Serializable
data class BillingCredits(val proration: BillingProrationCreditDetail? = null, val payer: BillingPayerCredit? = null, val total: BillingMoneyAmount)

Credits applied to a checkout, payment, or subscription item.

Constructors

Link copied to clipboard
constructor(proration: BillingProrationCreditDetail? = null, payer: BillingPayerCredit? = null, total: BillingMoneyAmount)

Properties

Link copied to clipboard

The payer credit applied to the transaction. null when no payer credit applies.

Link copied to clipboard

The credit for the unused portion of the current billing cycle. null when no proration credit applies.

Link copied to clipboard

The total monetary value of all credits applied to the transaction.