Class UpdateTokenRequest

java.lang.Object
com.blockchyp.client.dto.UpdateTokenRequest
All Implemented Interfaces:
ITimeoutRequest

public class UpdateTokenRequest extends Object implements ITimeoutRequest
Updates a payment token.
  • Constructor Details

    • UpdateTokenRequest

      public UpdateTokenRequest()
  • Method Details

    • setTimeout

      public void setTimeout(int value)
      Sets the request timeout in seconds.
      Parameters:
      value - the request timeout in seconds.
    • getTimeout

      public int getTimeout()
      Gets the request timeout in seconds.
      Specified by:
      getTimeout in interface ITimeoutRequest
      Returns:
      the request timeout in seconds.
    • setTest

      public void setTest(boolean value)
      Sets whether or not to route transaction to the test gateway.
      Parameters:
      value - whether or not to route transaction to the test gateway.
    • isTest

      public boolean isTest()
      Gets whether or not to route transaction to the test gateway.
      Specified by:
      isTest in interface ITimeoutRequest
      Returns:
      whether or not to route transaction to the test gateway.
    • setToken

      public void setToken(String value)
      Sets the token to update.
      Parameters:
      value - the token to update.
    • getToken

      public String getToken()
      Gets the token to update.
      Returns:
      the token to update.
    • setAccountHolderType

      public void setAccountHolderType(String value)
      Sets bank account holder type (personal or business).
      Parameters:
      value - bank account holder type (personal or business).
    • getAccountHolderType

      public String getAccountHolderType()
      Gets bank account holder type (personal or business).
      Returns:
      bank account holder type (personal or business).
    • setAccountType

      public void setAccountType(String value)
      Sets bank account type (checking or saving).
      Parameters:
      value - bank account type (checking or saving).
    • getAccountType

      public String getAccountType()
      Gets bank account type (checking or saving).
      Returns:
      bank account type (checking or saving).
    • setBankName

      public void setBankName(String value)
      Sets bank name.
      Parameters:
      value - bank name.
    • getBankName

      public String getBankName()
      Gets bank name.
      Returns:
      bank name.
    • setCardHolderName

      public void setCardHolderName(String value)
      Sets card holder name.
      Parameters:
      value - card holder name.
    • getCardHolderName

      public String getCardHolderName()
      Gets card holder name.
      Returns:
      card holder name.
    • setExpiryMonth

      public void setExpiryMonth(String value)
      Sets expiry month.
      Parameters:
      value - expiry month.
    • getExpiryMonth

      public String getExpiryMonth()
      Gets expiry month.
      Returns:
      expiry month.
    • setExpiryYear

      public void setExpiryYear(String value)
      Sets expiry year.
      Parameters:
      value - expiry year.
    • getExpiryYear

      public String getExpiryYear()
      Gets expiry year.
      Returns:
      expiry year.
    • setAddress

      public void setAddress(String value)
      Sets address.
      Parameters:
      value - address.
    • getAddress

      public String getAddress()
      Gets address.
      Returns:
      address.
    • setPostalCode

      public void setPostalCode(String value)
      Sets postal code.
      Parameters:
      value - postal code.
    • getPostalCode

      public String getPostalCode()
      Gets postal code.
      Returns:
      postal code.