Agreements
data class Agreements(val merchantAccount: List<MerchantAccount>? = null, val timeFrame: TimeFrame? = null)
Represents agreements and terms for a payment method. This class contains information about merchant accounts and time frames associated with the payment method's agreements.
Parameters
merchantAccount
List of merchant accounts associated with the agreement
timeFrame
Time period during which the agreement is valid
Example:
val agreements = Agreements(
merchantAccount = listOf(
MerchantAccount(id = "123", paymentMethodOptionId = "visa")
),
timeFrame = TimeFrame(
startDate = "2024-01-01",
endDate = "2024-12-31"
)
)
Content copied to clipboard