Agreements

constructor(merchantAccount: List<MerchantAccount>? = null, timeFrame: TimeFrame? = null)

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"
)
)