Package com.blockchyp.client.dto
Class CustomerToken
java.lang.Object
com.blockchyp.client.dto.CustomerToken
Models a customer token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomer(Customer value) Adds a models customer records associated with a payment token.Gets models customer records associated with a payment token.Gets expiration month.Gets expiration month.Gets masked primary account number.Gets payment type.getToken()Gets BlockChyp assigned customer id.voidsetCustomers(Collection<Customer> value) Sets models customer records associated with a payment token.voidsetExpiryMonth(String value) Sets expiration month.voidsetExpiryYear(String value) Sets expiration month.voidsetMaskedPan(String value) Sets masked primary account number.voidsetPaymentType(String value) Sets payment type.voidSets BlockChyp assigned customer id.
-
Constructor Details
-
CustomerToken
public CustomerToken()
-
-
Method Details
-
setToken
Sets BlockChyp assigned customer id.- Parameters:
value- BlockChyp assigned customer id.
-
getToken
Gets BlockChyp assigned customer id.- Returns:
- BlockChyp assigned customer id.
-
setMaskedPan
Sets masked primary account number.- Parameters:
value- masked primary account number.
-
getMaskedPan
Gets masked primary account number.- Returns:
- masked primary account number.
-
setExpiryMonth
Sets expiration month.- Parameters:
value- expiration month.
-
getExpiryMonth
Gets expiration month.- Returns:
- expiration month.
-
setExpiryYear
Sets expiration month.- Parameters:
value- expiration month.
-
getExpiryYear
Gets expiration month.- Returns:
- expiration month.
-
setPaymentType
Sets payment type.- Parameters:
value- payment type.
-
getPaymentType
Gets payment type.- Returns:
- payment type.
-
setCustomers
Sets models customer records associated with a payment token.- Parameters:
value- models customer records associated with a payment token.
-
getCustomers
Gets models customer records associated with a payment token.- Returns:
- models customer records associated with a payment token.
-
addCustomer
Adds a models customer records associated with a payment token.- Parameters:
value- models customer records associated with a payment token.
-