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 - The account number of the bank transfer.
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getAccountNumber

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

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

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

        public String getBankCode()
        The bank code of the bank transfer.
        Returns:
        bankCode The bank code of the bank transfer.
      • setBankCode

        public void setBankCode​(String bankCode)
        The bank code of the bank transfer.
        Parameters:
        bankCode - The bank code of the bank transfer.
      • beneficiary

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

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

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

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

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

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

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

        public String getBranchCode()
        The branch code of the bank transfer.
        Returns:
        branchCode The branch code of the bank transfer.
      • setBranchCode

        public void setBranchCode​(String branchCode)
        The branch code of the bank transfer.
        Parameters:
        branchCode - The branch code of the bank transfer.
      • downloadUrl

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public CheckoutBankTransferAction shopperEmail​(String shopperEmail)
        The e-mail of the shopper, included if an e-mail was sent to the shopper.
        Parameters:
        shopperEmail - The e-mail of the shopper, included if an e-mail was sent to the shopper.
        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 The e-mail of the shopper, included if an e-mail was sent to the shopper.
      • setShopperEmail

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

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

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

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

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

        public Amount getTotalAmount()
        Get 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 - Specifies the URL to redirect to.
        Returns:
        the current CheckoutBankTransferAction instance, allowing for method chaining
      • getUrl

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

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

        public CheckoutBankTransferAction includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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