| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Card.Builder |
billingAddress(Address billingAddress)
Setter for billingAddress.
|
Card.Builder |
bin(String bin)
Setter for bin.
|
Card |
build()
Builds a new
Card object using the set fields. |
Card.Builder |
cardBrand(String cardBrand)
Setter for cardBrand.
|
Card.Builder |
cardholderName(String cardholderName)
Setter for cardholderName.
|
Card.Builder |
cardType(String cardType)
Setter for cardType.
|
Card.Builder |
customerId(String customerId)
Setter for customerId.
|
Card.Builder |
enabled(Boolean enabled)
Setter for enabled.
|
Card.Builder |
expMonth(Long expMonth)
Setter for expMonth.
|
Card.Builder |
expYear(Long expYear)
Setter for expYear.
|
Card.Builder |
fingerprint(String fingerprint)
Setter for fingerprint.
|
Card.Builder |
id(String id)
Setter for id.
|
Card.Builder |
last4(String last4)
Setter for last4.
|
Card.Builder |
merchantId(String merchantId)
Setter for merchantId.
|
Card.Builder |
prepaidType(String prepaidType)
Setter for prepaidType.
|
Card.Builder |
referenceId(String referenceId)
Setter for referenceId.
|
Card.Builder |
version(Long version)
Setter for version.
|
public Card.Builder id(String id)
id - String value for id.public Card.Builder cardBrand(String cardBrand)
cardBrand - String value for cardBrand.public Card.Builder last4(String last4)
last4 - String value for last4.public Card.Builder expMonth(Long expMonth)
expMonth - Long value for expMonth.public Card.Builder expYear(Long expYear)
expYear - Long value for expYear.public Card.Builder cardholderName(String cardholderName)
cardholderName - String value for cardholderName.public Card.Builder billingAddress(Address billingAddress)
billingAddress - Address value for billingAddress.public Card.Builder fingerprint(String fingerprint)
fingerprint - String value for fingerprint.public Card.Builder customerId(String customerId)
customerId - String value for customerId.public Card.Builder merchantId(String merchantId)
merchantId - String value for merchantId.public Card.Builder referenceId(String referenceId)
referenceId - String value for referenceId.public Card.Builder enabled(Boolean enabled)
enabled - Boolean value for enabled.public Card.Builder cardType(String cardType)
cardType - String value for cardType.public Card.Builder prepaidType(String prepaidType)
prepaidType - String value for prepaidType.public Card.Builder bin(String bin)
bin - String value for bin.public Card.Builder version(Long version)
version - Long value for version.Copyright © 2022. All rights reserved.