public class Card extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Card.Builder
Class to build instances of
Card. |
| Constructor and Description |
|---|
Card(String id,
String cardBrand,
String last4,
Long expMonth,
Long expYear,
String cardholderName,
Address billingAddress,
String fingerprint,
String customerId,
String merchantId,
String referenceId,
Boolean enabled,
String cardType,
String prepaidType,
String bin,
Long version)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Address |
getBillingAddress()
Getter for BillingAddress.
|
String |
getBin()
Getter for Bin.
|
String |
getCardBrand()
Getter for CardBrand.
|
String |
getCardholderName()
Getter for CardholderName.
|
String |
getCardType()
Getter for CardType.
|
String |
getCustomerId()
Getter for CustomerId.
|
Boolean |
getEnabled()
Getter for Enabled.
|
Long |
getExpMonth()
Getter for ExpMonth.
|
Long |
getExpYear()
Getter for ExpYear.
|
String |
getFingerprint()
Getter for Fingerprint.
|
String |
getId()
Getter for Id.
|
String |
getLast4()
Getter for Last4.
|
String |
getMerchantId()
Getter for MerchantId.
|
String |
getPrepaidType()
Getter for PrepaidType.
|
String |
getReferenceId()
Getter for ReferenceId.
|
Long |
getVersion()
Getter for Version.
|
int |
hashCode() |
Card.Builder |
toBuilder()
Builds a new
Card.Builder object. |
String |
toString()
Converts this Card into string format.
|
public Card(String id, String cardBrand, String last4, Long expMonth, Long expYear, String cardholderName, Address billingAddress, String fingerprint, String customerId, String merchantId, String referenceId, Boolean enabled, String cardType, String prepaidType, String bin, Long version)
id - String value for id.cardBrand - String value for cardBrand.last4 - String value for last4.expMonth - Long value for expMonth.expYear - Long value for expYear.cardholderName - String value for cardholderName.billingAddress - Address value for billingAddress.fingerprint - String value for fingerprint.customerId - String value for customerId.merchantId - String value for merchantId.referenceId - String value for referenceId.enabled - Boolean value for enabled.cardType - String value for cardType.prepaidType - String value for prepaidType.bin - String value for bin.version - Long value for version.public String getId()
public String getCardBrand()
public String getLast4()
public Long getExpMonth()
public Long getExpYear()
public String getCardholderName()
public Address getBillingAddress()
public String getFingerprint()
public String getCustomerId()
public String getMerchantId()
public String getReferenceId()
public Boolean getEnabled()
public String getCardType()
public String getPrepaidType()
public String getBin()
public Long getVersion()
public String toString()
public Card.Builder toBuilder()
Card.Builder object.
Creates the instance with the state of the current model.Card.Builder objectCopyright © 2022. All rights reserved.