# CardSurchargeDetails

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

Details of a card surcharge applied to a payment.

## Constructors

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

## Properties

cardSurchargeMoney
Link copied to clipboard
val cardSurchargeMoney: Money

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.

taxOnSurchargeMoney
Link copied to clipboard
val taxOnSurchargeMoney: Money?

The tax amount applied on the surcharge.

totalSurchargeMoney
Link copied to clipboard
val totalSurchargeMoney: Money

Helper function to calculate the total surcharge amount.