Class CheckoutPaymentsAction


  • public class CheckoutPaymentsAction
    extends Object
    CheckoutPaymentsAction
    • Constructor Detail

      • CheckoutPaymentsAction

        public CheckoutPaymentsAction()
    • Method Detail

      • getAlternativeReference

        public String getAlternativeReference()
        The voucher alternative reference code.
        Returns:
        alternativeReference
      • setAlternativeReference

        public void setAlternativeReference​(String alternativeReference)
      • 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
      • getDownloadUrl

        public String getDownloadUrl()
        The URL to download the voucher.
        Returns:
        downloadUrl
      • setDownloadUrl

        public void setDownloadUrl​(String downloadUrl)
      • getExpiresAt

        public String getExpiresAt()
        The date time of the voucher expiry.
        Returns:
        expiresAt
      • setExpiresAt

        public void setExpiresAt​(String expiresAt)
      • getInitialAmount

        public Amount getInitialAmount()
        Get initialAmount
        Returns:
        initialAmount
      • setInitialAmount

        public void setInitialAmount​(Amount initialAmount)
      • getInstructionsUrl

        public String getInstructionsUrl()
        The URL to the detailed instructions to make payment using the voucher.
        Returns:
        instructionsUrl
      • setInstructionsUrl

        public void setInstructionsUrl​(String instructionsUrl)
      • getIssuer

        public String getIssuer()
        The issuer of the voucher.
        Returns:
        issuer
      • setIssuer

        public void setIssuer​(String issuer)
      • getMaskedTelephoneNumber

        public String getMaskedTelephoneNumber()
        The shopper telephone number (partially masked).
        Returns:
        maskedTelephoneNumber
      • setMaskedTelephoneNumber

        public void setMaskedTelephoneNumber​(String maskedTelephoneNumber)
      • getMerchantName

        public String getMerchantName()
        The merchant name.
        Returns:
        merchantName
      • setMerchantName

        public void setMerchantName​(String merchantName)
      • getMerchantReference

        public String getMerchantReference()
        The merchant reference.
        Returns:
        merchantReference
      • setMerchantReference

        public void setMerchantReference​(String merchantReference)
      • getMethod

        public String getMethod()
        Specifies the HTTP method, for example GET or POST.
        Returns:
        method
      • setMethod

        public void setMethod​(String method)
      • 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)
      • getPaymentMethodType

        public String getPaymentMethodType()
        Specifies the payment method.
        Returns:
        paymentMethodType
      • setPaymentMethodType

        public void setPaymentMethodType​(String paymentMethodType)
      • getQrCodeData

        public String getQrCodeData()
        The contents of the QR code as a UTF8 string.
        Returns:
        qrCodeData
      • setQrCodeData

        public void setQrCodeData​(String qrCodeData)
      • getReference

        public String getReference()
        The voucher reference code.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
      • getShopperEmail

        public String getShopperEmail()
        The shopper email.
        Returns:
        shopperEmail
      • setShopperEmail

        public void setShopperEmail​(String shopperEmail)
      • getShopperName

        public String getShopperName()
        The shopper name.
        Returns:
        shopperName
      • setShopperName

        public void setShopperName​(String shopperName)
      • getSurcharge

        public Amount getSurcharge()
        Get surcharge
        Returns:
        surcharge
      • setSurcharge

        public void setSurcharge​(Amount surcharge)
      • 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)
      • getTotalAmount

        public Amount getTotalAmount()
        Get totalAmount
        Returns:
        totalAmount
      • setTotalAmount

        public void setTotalAmount​(Amount totalAmount)
      • getEntity

        public String getEntity()
      • setEntity

        public void setEntity​(String entity)
      • getUrl

        public String getUrl()
        Specifies the URL to redirect to.
        Returns:
        url
      • setUrl

        public void setUrl​(String url)
      • getSdkData

        public Map<String,​String> getSdkData()
        Returns SDK data.
        Returns:
        sdkData
      • 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)
      • getSubtype

        public String getSubtype()
      • setSubtype

        public void setSubtype​(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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object