Class CustomerToken

java.lang.Object
com.blockchyp.client.dto.CustomerToken

public class CustomerToken extends Object
Models a customer token.
  • Constructor Details

    • CustomerToken

      public CustomerToken()
  • Method Details

    • setToken

      public void setToken(String value)
      Sets BlockChyp assigned customer id.
      Parameters:
      value - BlockChyp assigned customer id.
    • getToken

      public String getToken()
      Gets BlockChyp assigned customer id.
      Returns:
      BlockChyp assigned customer id.
    • setMaskedPan

      public void setMaskedPan(String value)
      Sets masked primary account number.
      Parameters:
      value - masked primary account number.
    • getMaskedPan

      public String getMaskedPan()
      Gets masked primary account number.
      Returns:
      masked primary account number.
    • setExpiryMonth

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

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

      public void setExpiryYear(String value)
      Sets expiration month.
      Parameters:
      value - expiration month.
    • getExpiryYear

      public String getExpiryYear()
      Gets expiration month.
      Returns:
      expiration month.
    • setPaymentType

      public void setPaymentType(String value)
      Sets payment type.
      Parameters:
      value - payment type.
    • getPaymentType

      public String getPaymentType()
      Gets payment type.
      Returns:
      payment type.
    • setCustomers

      public void setCustomers(Collection<Customer> value)
      Sets models customer records associated with a payment token.
      Parameters:
      value - models customer records associated with a payment token.
    • getCustomers

      public Collection<Customer> getCustomers()
      Gets models customer records associated with a payment token.
      Returns:
      models customer records associated with a payment token.
    • addCustomer

      public void addCustomer(Customer value)
      Adds a models customer records associated with a payment token.
      Parameters:
      value - models customer records associated with a payment token.