CardSurchargeDetails

data class CardSurchargeDetails(val cardSurchargeMoney: Money, val taxOnSurchargeMoney: Money?)

Details of a card surcharge applied to a payment.

Constructors

Link copied to clipboard
constructor(cardSurchargeMoney: Money, taxOnSurchargeMoney: Money?)

Properties

Link copied to clipboard

The card surcharge amount applied to a card payment. This amount is automatically calculated using the merchant's configured surcharge percentage. This is the base surcharge amount and does not include any additional taxes that may apply to the surcharge.

Link copied to clipboard

The tax amount applied on the surcharge.

Link copied to clipboard

Helper function to calculate the total surcharge amount.