public class PaymentRequestPaymentData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentRequestPaymentData.TransTypeEnum
Gets or Sets transType
|
| Constructor and Description |
|---|
PaymentRequestPaymentData() |
public void setAmount(BigDecimal amount)
public PaymentRequestPaymentData amount(BigDecimal amount)
amount - The total transaction amount in selected currency with dot as a decimal separator, must be less than 10 billion If 'payment_method' = `BITCOIN` then minimum order amount is approximately 0.003 bitcoins or its equivalent. The exact value should be provided by the account manager.public void setAuthenticationRequest(Boolean authenticationRequest)
public PaymentRequestPaymentData authenticationRequest(Boolean authenticationRequest)
authenticationRequest - If set to `true`, amount must not be presented in request, no payment will be made, only cardholder authentication will be performed. Also can be used to generate token. *(for BANKCARD payment method only)*public void setCurrency(String currency)
public PaymentRequestPaymentData currency(String currency)
currency - [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency codepublic void setDynamicDescriptor(String dynamicDescriptor)
public PaymentRequestPaymentData dynamicDescriptor(String dynamicDescriptor)
dynamicDescriptor - Short description of the service or product, must be enabled by CardPay manager to be used *(for BANKCARD payment method only)*public void setEncryptedData(String encryptedData)
public PaymentRequestPaymentData encryptedData(String encryptedData)
encryptedData - The encrypted payment credentials encoded in base64. *(for APPLEPAY payment method only)*public void setGenerateToken(Boolean generateToken)
public PaymentRequestPaymentData generateToken(Boolean generateToken)
generateToken - If set to `true`, token will be generated and returned in the response. Token can be generated only for successful transactions (not for declined transactions) *(for BANKCARD payment method only)*public void setInstallmentAmount(BigDecimal installmentAmount)
public PaymentRequestPaymentData 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 PaymentRequestPaymentData installmentType(String installmentType)
installmentType - Installment type, 2 possible values: `IF` - issuer financed `MF_HOLD' - merchant financed. For installment subscription with hold rest amount.public void setInstallments(Integer installments)
public PaymentRequestPaymentData installments(Integer installments)
installments - Number of total installment payments, to be charged per defined interval. For installment subscription with installment_type = `MF_HOLD` can be 1-12. For installment subscription with installment_type = `IF` can be 1-99.public void setNote(String note)
public PaymentRequestPaymentData note(String note)
note - Note about the transaction that will not be displayed to Customerpublic void setPreauth(Boolean preauth)
public PaymentRequestPaymentData preauth(Boolean preauth)
preauth - If set to `true`, the amount will not be captured but only blocked. Payments with 'preauth' attribute will be captured automatically in 7 days from the time of creating the preauth transaction. *(for BANKCARD payment method only)*.public void setThreeDsChallengeIndicator(String threeDsChallengeIndicator)
public PaymentRequestPaymentData threeDsChallengeIndicator(String threeDsChallengeIndicator)
threeDsChallengeIndicator - threeDsChallengeIndicatorpublic void setTransType(PaymentRequestPaymentData.TransTypeEnum transType)
public PaymentRequestPaymentData transType(PaymentRequestPaymentData.TransTypeEnum transType)
transType - transTypeCopyright © 2022. All rights reserved.