Class CheckoutBankTransferAction


  • public class CheckoutBankTransferAction
    extends Object
    CheckoutBankTransferAction
    • Constructor Detail

      • CheckoutBankTransferAction

        public CheckoutBankTransferAction()
    • Method Detail

      • accountNumber

        public CheckoutBankTransferAction accountNumber​(String accountNumber)
        The account number of the bank transfer.
        Parameters:
        accountNumber -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getAccountNumber

        public String getAccountNumber()
        The account number of the bank transfer.
        Returns:
        accountNumber
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
        The account number of the bank transfer.
        Parameters:
        accountNumber -
      • beneficiary

        public CheckoutBankTransferAction beneficiary​(String beneficiary)
        The name of the account holder.
        Parameters:
        beneficiary -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getBeneficiary

        public String getBeneficiary()
        The name of the account holder.
        Returns:
        beneficiary
      • setBeneficiary

        public void setBeneficiary​(String beneficiary)
        The name of the account holder.
        Parameters:
        beneficiary -
      • bic

        public CheckoutBankTransferAction bic​(String bic)
        The BIC of the IBAN.
        Parameters:
        bic -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getBic

        public String getBic()
        The BIC of the IBAN.
        Returns:
        bic
      • setBic

        public void setBic​(String bic)
        The BIC of the IBAN.
        Parameters:
        bic -
      • downloadUrl

        public CheckoutBankTransferAction downloadUrl​(String downloadUrl)
        The url to download payment details with.
        Parameters:
        downloadUrl -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getDownloadUrl

        public String getDownloadUrl()
        The url to download payment details with.
        Returns:
        downloadUrl
      • setDownloadUrl

        public void setDownloadUrl​(String downloadUrl)
        The url to download payment details with.
        Parameters:
        downloadUrl -
      • iban

        public CheckoutBankTransferAction iban​(String iban)
        The IBAN of the bank transfer.
        Parameters:
        iban -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getIban

        public String getIban()
        The IBAN of the bank transfer.
        Returns:
        iban
      • setIban

        public void setIban​(String iban)
        The IBAN of the bank transfer.
        Parameters:
        iban -
      • paymentMethodType

        public CheckoutBankTransferAction paymentMethodType​(String paymentMethodType)
        Specifies the payment method.
        Parameters:
        paymentMethodType -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getPaymentMethodType

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

        public void setPaymentMethodType​(String paymentMethodType)
        Specifies the payment method.
        Parameters:
        paymentMethodType -
      • reference

        public CheckoutBankTransferAction reference​(String reference)
        The transfer reference.
        Parameters:
        reference -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getReference

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

        public void setReference​(String reference)
        The transfer reference.
        Parameters:
        reference -
      • routingNumber

        public CheckoutBankTransferAction routingNumber​(String routingNumber)
        The routing number of the bank transfer.
        Parameters:
        routingNumber -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getRoutingNumber

        public String getRoutingNumber()
        The routing number of the bank transfer.
        Returns:
        routingNumber
      • setRoutingNumber

        public void setRoutingNumber​(String routingNumber)
        The routing number of the bank transfer.
        Parameters:
        routingNumber -
      • shopperEmail

        public CheckoutBankTransferAction shopperEmail​(String shopperEmail)
        The e-mail of the shopper, included if an e-mail was sent to the shopper.
        Parameters:
        shopperEmail -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getShopperEmail

        public String getShopperEmail()
        The e-mail of the shopper, included if an e-mail was sent to the shopper.
        Returns:
        shopperEmail
      • setShopperEmail

        public void setShopperEmail​(String shopperEmail)
        The e-mail of the shopper, included if an e-mail was sent to the shopper.
        Parameters:
        shopperEmail -
      • sortCode

        public CheckoutBankTransferAction sortCode​(String sortCode)
        The sort code of the bank transfer.
        Parameters:
        sortCode -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getSortCode

        public String getSortCode()
        The sort code of the bank transfer.
        Returns:
        sortCode
      • setSortCode

        public void setSortCode​(String sortCode)
        The sort code of the bank transfer.
        Parameters:
        sortCode -
      • totalAmount

        public CheckoutBankTransferAction totalAmount​(Amount totalAmount)
        totalAmount
        Parameters:
        totalAmount -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getTotalAmount

        public Amount getTotalAmount()
        totalAmount
        Returns:
        totalAmount
      • setTotalAmount

        public void setTotalAmount​(Amount totalAmount)
        totalAmount
        Parameters:
        totalAmount -
      • url

        public CheckoutBankTransferAction url​(String url)
        Specifies the URL to redirect to.
        Parameters:
        url -
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getUrl

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

        public void setUrl​(String url)
        Specifies the URL to redirect to.
        Parameters:
        url -
      • equals

        public boolean equals​(Object o)
        Return true if this CheckoutBankTransferAction object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static CheckoutBankTransferAction fromJson​(String jsonString)
                                                   throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CheckoutBankTransferAction given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CheckoutBankTransferAction
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CheckoutBankTransferAction
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CheckoutBankTransferAction to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException