public class AuthDataRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthDataRequest.TypeEnum
Gets or Sets type
|
| Constructor and Description |
|---|
AuthDataRequest() |
public void setAmount(BigDecimal amount)
public AuthDataRequest amount(BigDecimal amount)
amount - The total invoice amount in selected currency with dot as a decimal separator, must be less than 10 billionpublic void setCurrency(String currency)
public AuthDataRequest currency(String currency)
currency - [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency codepublic void setDynamicDescriptor(String dynamicDescriptor)
public AuthDataRequest dynamicDescriptor(String dynamicDescriptor)
dynamicDescriptor - dynamicDescriptorpublic void setGenerateToken(Boolean generateToken)
public AuthDataRequest generateToken(Boolean generateToken)
generateToken - If set to `true`, token will be generated and returned in the response (callback). Token can be generated only for successful transactions (not for declined transactions) *(for BANKCARD payment method only)*public void setInstallmentAmount(BigDecimal installmentAmount)
public AuthDataRequest installmentAmount(BigDecimal installmentAmount)
installmentAmount - Amount of 1 installment authentication, 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 AuthDataRequest installmentType(String installmentType)
installmentType - Installment type, 2 possible values: `IF` - issuer financed `MF_HOLD' - merchant financed. For installment subscription with hold rest amount.public AuthDataRequest installments(List<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 AuthDataRequest addInstallmentsItem(Integer installmentsItem)
public void setNote(String note)
public AuthDataRequest note(String note)
note - Note about the authentication, not shown to Customerpublic void setRecurringData(RecurringData recurringData)
public AuthDataRequest recurringData(RecurringData recurringData)
recurringData - Recurring datapublic void setScaExemption(String scaExemption)
public AuthDataRequest scaExemption(String scaExemption)
scaExemption - Indicates the exemption type that you want to request for the authentication. Possible value: LOW_VALUEpublic void setTransType(String transType)
public AuthDataRequest transType(String transType)
transType - Identifies the type of transaction being authenticated.public void setType(AuthDataRequest.TypeEnum type)
public AuthDataRequest type(AuthDataRequest.TypeEnum type)
type - typeCopyright © 2024. All rights reserved.