Installment

data class Installment(val paymentMethodId: String? = null, val paymentTypeId: String? = null, val issuer: Issuer? = null, val processingMode: String? = null, val merchantAccountId: String? = null, val payerCost: List<PayerCost>? = null, val agreements: List<Agreements>? = null)

Represents installment options and payment details for a specific payment method. This class contains comprehensive information about available installment plans, including costs, rates, and processing details for a payment method. It helps merchants and users understand the total cost and payment options.

Parameters

paymentMethodId

Unique identifier for the payment method (e.g., "visa", "master")

paymentTypeId

Type of payment (e.g., "credit_card", "debit_card")

issuer

Information about the card issuer or financial institution

processingMode

Mode of payment processing (e.g., "aggregator", "gateway")

merchantAccountId

Unique identifier for the merchant's account

payerCost

List of available installment options with their costs

agreements

List of agreements and terms for the payment method

Example:

val installment = Installment(
paymentMethodId = "visa",
paymentTypeId = "credit_card",
issuer = Issuer(
id = "123",
thumbnail = "https://example.com/visa.png"
),
payerCost = listOf(
PayerCost(
instalments = 1,
installmentAmount = 100.0f,
totalAmount = 100.0f
)
)
)

See also

Constructors

Link copied to clipboard
constructor(paymentMethodId: String? = null, paymentTypeId: String? = null, issuer: Issuer? = null, processingMode: String? = null, merchantAccountId: String? = null, payerCost: List<PayerCost>? = null, agreements: List<Agreements>? = null)

Properties

Link copied to clipboard
val agreements: List<Agreements>? = null
Link copied to clipboard
val issuer: Issuer? = null
Link copied to clipboard
Link copied to clipboard
val payerCost: List<PayerCost>? = null
Link copied to clipboard
val paymentMethodId: String? = null
Link copied to clipboard
val paymentTypeId: String? = null
Link copied to clipboard
val processingMode: String? = null