public class PaymentResponsePaymentData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentResponsePaymentData.StatusEnum
Current payment status, *(mandatory for WEBMONEY and BITCOIN payment method only)*
|
static class |
PaymentResponsePaymentData.TransTypeEnum
Gets or Sets transType
|
| Constructor and Description |
|---|
PaymentResponsePaymentData() |
public void setAmount(BigDecimal amount)
public PaymentResponsePaymentData amount(BigDecimal amount)
amount - Payment amountpublic void setArn(String arn)
public PaymentResponsePaymentData arn(String arn)
arn - ARN (Acquirer Reference Number), supplied by the acquiring financial institution, return only after receiving ARN from bank acquirer *(for BANKCARD payment method only)*public void setAuthCode(String authCode)
public PaymentResponsePaymentData authCode(String authCode)
authCode - Authorization code, provided by bank *(for BANKCARD payment method only)*public void setCreated(String created)
public PaymentResponsePaymentData created(String created)
created - Time when this payment started in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (yyyy-MM-dd'T'HH:mm:ss'Z')public void setCurrency(String currency)
public PaymentResponsePaymentData currency(String currency)
currency - Payment currency code ([ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code)public void setDeclineCode(String declineCode)
public PaymentResponsePaymentData declineCode(String declineCode)
declineCode - Decline code (only in decline case)public void setDeclineReason(String declineReason)
public PaymentResponsePaymentData declineReason(String declineReason)
declineReason - Bank's message about transaction decline reason (only in decline case)public void setExtendedDeclineReason(String extendedDeclineReason)
public PaymentResponsePaymentData extendedDeclineReason(String extendedDeclineReason)
extendedDeclineReason - Original decline reason. Can be presented in responses if original network response code is presented and option is enabled for Merchant. Not presented by default, ask Unlimit manager to enable it if needed.public void setHoldPeriod(Integer holdPeriod)
public PaymentResponsePaymentData holdPeriod(Integer holdPeriod)
holdPeriod - The delay between the authorisation and scheduled auto-capture or auto-void, specified in hours. The minimum hold period is 1 hour, maximum hold period is 7 days (168 hours).public void setId(String id)
public PaymentResponsePaymentData id(String id)
id - CardPay's payment idpublic void setInstallmentType(String installmentType)
public PaymentResponsePaymentData installmentType(String installmentType)
installmentType - Selected installment typepublic void setInstallments(String installments)
public PaymentResponsePaymentData installments(String installments)
installments - Number of total installment payments, to be chargedpublic PaymentResponsePaymentData invalidData(List<String> invalidData)
invalidData - Invalid card or billing datapublic PaymentResponsePaymentData addInvalidDataItem(String invalidDataItem)
public void setIs3d(Boolean is3d)
public PaymentResponsePaymentData is3d(Boolean is3d)
is3d - Was 3-D Secure authentication made or not *(for BANKCARD payment method only)*public void setNote(String note)
public PaymentResponsePaymentData note(String note)
note - Payment notepublic void setPostauthStatus(String postauthStatus)
public PaymentResponsePaymentData postauthStatus(String postauthStatus)
postauthStatus - The value contains payment status after hold period if payment has not been completed. Possible values: COMPLETE, REVERSEpublic void setRrn(String rrn)
public PaymentResponsePaymentData rrn(String rrn)
rrn - RRN (Retrieval Reference Number), supplied by the acquiring financial institution *(for BANKCARD payment method only)*public void setStatus(PaymentResponsePaymentData.StatusEnum status)
public PaymentResponsePaymentData status(PaymentResponsePaymentData.StatusEnum status)
status - Current payment status, *(mandatory for WEBMONEY and BITCOIN payment method only)*public void setTransType(PaymentResponsePaymentData.TransTypeEnum transType)
public PaymentResponsePaymentData transType(PaymentResponsePaymentData.TransTypeEnum transType)
transType - transTypepublic void setType(String type)
public PaymentResponsePaymentData type(String type)
type - Payment type, can be PAYMENT, INSTALLMENTCopyright © 2024. All rights reserved.