public class InstallmentData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InstallmentData.TransTypeEnum
Gets or Sets transType
|
| Constructor and Description |
|---|
InstallmentData() |
public void setAmount(BigDecimal amount)
public InstallmentData amount(BigDecimal amount)
amount - The total transaction amount in selected currency with dot as a decimal separator, must be less than 10 billionpublic void setCurrency(String currency)
public InstallmentData currency(String currency)
currency - [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency codepublic void setDynamicDescriptor(String dynamicDescriptor)
public InstallmentData dynamicDescriptor(String dynamicDescriptor)
dynamicDescriptor - Short description of the service or product, must be enabled by CardPay manager to be used.public void setGenerateToken(Boolean generateToken)
public InstallmentData generateToken(Boolean generateToken)
generateToken - This attribute can be received only in first recurring request. In all requests with recurring_id card.token can't be generated. If set to 'true', Card token will be generated and returned in GET response. Will be generated only for successful transactions (not for declined).public void setInitiator(String initiator)
public InstallmentData initiator(String initiator)
initiator - Use `cit` for initiator attribute (cardholder initiated transaction).public void setInstallmentAmount(BigDecimal installmentAmount)
public InstallmentData installmentAmount(BigDecimal installmentAmount)
installmentAmount - Amount of 1 installment payment, should be less or equal to total amount of subscription, can have dot as a decimal separator. Mandatory for Payment Page Mode only.public void setInstallmentType(String installmentType)
public InstallmentData installmentType(String installmentType)
installmentType - Installment type, 2 possible values: `IF` - issuer financed `MF_HOLD' - merchant financed holdpublic void setNote(String note)
public InstallmentData note(String note)
note - Note about the recurring that will not be displayed to customer.public InstallmentData payments(List<Integer> payments)
payments - Number of total payments, to be charged per defined interval. For installment subscription with installment_type = `MF_HOLD` can be 2-12. For Mexican installment subscription (installment_type = `IF`) should be 1-99.public InstallmentData addPaymentsItem(Integer paymentsItem)
public void setPreauth(Boolean preauth)
public InstallmentData preauth(Boolean preauth)
preauth - If set to `true`, the amount will not be captured but only blocked. Installment with `preauth` attribute will be voided automatically in 7 days from the time of creating the preauth transaction.public void setThreeDsChallengeIndicator(String threeDsChallengeIndicator)
public InstallmentData threeDsChallengeIndicator(String threeDsChallengeIndicator)
threeDsChallengeIndicator - threeDsChallengeIndicatorpublic void setTransType(InstallmentData.TransTypeEnum transType)
public InstallmentData transType(InstallmentData.TransTypeEnum transType)
transType - transTypeCopyright © 2023. All rights reserved.