Package com.adyen.model.checkout
Class CheckoutPaymentsAction
- java.lang.Object
-
- com.adyen.model.checkout.CheckoutPaymentsAction
-
public class CheckoutPaymentsAction extends Object
CheckoutPaymentsAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckoutPaymentsAction.CheckoutActionTypeEnum that specifies the action that needs to be taken by the client.
-
Constructor Summary
Constructors Constructor Description CheckoutPaymentsAction()
-
Method Summary
-
-
-
Method Detail
-
alternativeReference
public CheckoutPaymentsAction alternativeReference(String alternativeReference)
-
getAlternativeReference
public String getAlternativeReference()
The voucher alternative reference code.- Returns:
- alternativeReference
-
setAlternativeReference
public void setAlternativeReference(String alternativeReference)
-
data
public CheckoutPaymentsAction data(Map<String,String> data)
-
getData
public Map<String,String> getData()
When the redirect URL must be accessed via POST, use this data to post to the redirect URL.- Returns:
- data
-
downloadUrl
public CheckoutPaymentsAction downloadUrl(String downloadUrl)
-
getDownloadUrl
public String getDownloadUrl()
The URL to download the voucher.- Returns:
- downloadUrl
-
setDownloadUrl
public void setDownloadUrl(String downloadUrl)
-
expiresAt
public CheckoutPaymentsAction expiresAt(String expiresAt)
-
getExpiresAt
public String getExpiresAt()
The date time of the voucher expiry.- Returns:
- expiresAt
-
setExpiresAt
public void setExpiresAt(String expiresAt)
-
initialAmount
public CheckoutPaymentsAction initialAmount(Amount initialAmount)
-
getInitialAmount
public Amount getInitialAmount()
Get initialAmount- Returns:
- initialAmount
-
setInitialAmount
public void setInitialAmount(Amount initialAmount)
-
instructionsUrl
public CheckoutPaymentsAction instructionsUrl(String instructionsUrl)
-
getInstructionsUrl
public String getInstructionsUrl()
The URL to the detailed instructions to make payment using the voucher.- Returns:
- instructionsUrl
-
setInstructionsUrl
public void setInstructionsUrl(String instructionsUrl)
-
issuer
public CheckoutPaymentsAction issuer(String issuer)
-
getIssuer
public String getIssuer()
The issuer of the voucher.- Returns:
- issuer
-
setIssuer
public void setIssuer(String issuer)
-
maskedTelephoneNumber
public CheckoutPaymentsAction maskedTelephoneNumber(String maskedTelephoneNumber)
-
getMaskedTelephoneNumber
public String getMaskedTelephoneNumber()
The shopper telephone number (partially masked).- Returns:
- maskedTelephoneNumber
-
setMaskedTelephoneNumber
public void setMaskedTelephoneNumber(String maskedTelephoneNumber)
-
merchantName
public CheckoutPaymentsAction merchantName(String merchantName)
-
getMerchantName
public String getMerchantName()
The merchant name.- Returns:
- merchantName
-
setMerchantName
public void setMerchantName(String merchantName)
-
merchantReference
public CheckoutPaymentsAction merchantReference(String merchantReference)
-
getMerchantReference
public String getMerchantReference()
The merchant reference.- Returns:
- merchantReference
-
setMerchantReference
public void setMerchantReference(String merchantReference)
-
method
public CheckoutPaymentsAction method(String method)
-
getMethod
public String getMethod()
Specifies the HTTP method, for example GET or POST.- Returns:
- method
-
setMethod
public void setMethod(String method)
-
paymentData
public CheckoutPaymentsAction paymentData(String paymentData)
-
getPaymentData
public String getPaymentData()
When non-empty, contains a value that you must submit to the `/payments/details` endpoint. In some cases, required for polling.- Returns:
- paymentData
-
setPaymentData
public void setPaymentData(String paymentData)
-
paymentMethodType
public CheckoutPaymentsAction paymentMethodType(String paymentMethodType)
-
getPaymentMethodType
public String getPaymentMethodType()
Specifies the payment method.- Returns:
- paymentMethodType
-
setPaymentMethodType
public void setPaymentMethodType(String paymentMethodType)
-
qrCodeData
public CheckoutPaymentsAction qrCodeData(String qrCodeData)
-
getQrCodeData
public String getQrCodeData()
The contents of the QR code as a UTF8 string.- Returns:
- qrCodeData
-
setQrCodeData
public void setQrCodeData(String qrCodeData)
-
reference
public CheckoutPaymentsAction reference(String reference)
-
getReference
public String getReference()
The voucher reference code.- Returns:
- reference
-
setReference
public void setReference(String reference)
-
shopperEmail
public CheckoutPaymentsAction shopperEmail(String shopperEmail)
-
getShopperEmail
public String getShopperEmail()
The shopper email.- Returns:
- shopperEmail
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
-
shopperName
public CheckoutPaymentsAction shopperName(String shopperName)
-
getShopperName
public String getShopperName()
The shopper name.- Returns:
- shopperName
-
setShopperName
public void setShopperName(String shopperName)
-
surcharge
public CheckoutPaymentsAction surcharge(Amount surcharge)
-
getSurcharge
public Amount getSurcharge()
Get surcharge- Returns:
- surcharge
-
setSurcharge
public void setSurcharge(Amount surcharge)
-
token
public CheckoutPaymentsAction token(String token)
-
getToken
public String getToken()
A token to pass to the 3DS2 Component to get the fingerprint/challenge.- Returns:
- token
-
setToken
public void setToken(String token)
-
totalAmount
public CheckoutPaymentsAction totalAmount(Amount totalAmount)
-
getTotalAmount
public Amount getTotalAmount()
Get totalAmount- Returns:
- totalAmount
-
setTotalAmount
public void setTotalAmount(Amount totalAmount)
-
getEntity
public String getEntity()
-
setEntity
public void setEntity(String entity)
-
entity
public CheckoutPaymentsAction entity(String entity)
-
type
public CheckoutPaymentsAction type(CheckoutPaymentsAction.CheckoutActionType type)
-
getType
public CheckoutPaymentsAction.CheckoutActionType getType()
Enum that specifies the action that needs to be taken by the client.- Returns:
- type
-
setType
public void setType(CheckoutPaymentsAction.CheckoutActionType type)
-
url
public CheckoutPaymentsAction url(String url)
-
getUrl
public String getUrl()
Specifies the URL to redirect to.- Returns:
- url
-
setUrl
public void setUrl(String url)
-
getResendInterval
public int getResendInterval()
-
getResendMaxAttempts
public int getResendMaxAttempts()
-
getResendUrl
public String getResendUrl()
-
getRedirect
public Redirect getRedirect()
-
getAuthorisationToken
public String getAuthorisationToken()
-
setAuthorisationToken
public void setAuthorisationToken(String authorisationToken)
-
authorisationToken
public CheckoutPaymentsAction authorisationToken(String authorisationToken)
-
getSubtype
public String getSubtype()
-
setSubtype
public void setSubtype(String subtype)
-
subtype
public CheckoutPaymentsAction subtype(String subtype)
-
setResendInterval
public void setResendInterval(int resendInterval)
-
setResendMaxAttempts
public void setResendMaxAttempts(int resendMaxAttempts)
-
setResendUrl
public void setResendUrl(String resendUrl)
-
setRedirect
public void setRedirect(Redirect redirect)
-
getBeneficiary
public String getBeneficiary()
-
setBeneficiary
public void setBeneficiary(String beneficiary)
-
getBic
public String getBic()
-
setBic
public void setBic(String bic)
-
getIban
public String getIban()
-
setIban
public void setIban(String iban)
-
getShopperStatement
public String getShopperStatement()
-
setShopperStatement
public void setShopperStatement(String shopperStatement)
-
getCollectionInstitutionNumber
public String getCollectionInstitutionNumber()
-
setCollectionInstitutionNumber
public void setCollectionInstitutionNumber(String collectionInstitutionNumber)
-
-