SurchargeDetails

@Serializable
data class SurchargeDetails(val amount: Long? = null, val maximumAmount: Long? = null, val status: SurchargeStatus? = null) : Serializable

SurchargeDetails contains details about surcharges, including the surcharge amount, availability, and maximum allowed amount.

For more information, see the official Stripe docs: Collect surcharges

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

Link copied to clipboard
constructor(amount: Long? = null, maximumAmount: Long? = null, status: SurchargeStatus? = null)

Properties

Link copied to clipboard
val amount: Long? = null

Portion of the amount that corresponds to a surcharge.

Link copied to clipboard
val maximumAmount: Long? = null

The maximum amount allowed for the surcharge.

Link copied to clipboard
val status: SurchargeStatus? = null

The status of the surcharge.