public class Card extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Card.Builder
Class to build instances of
Card. |
| Modifier | 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,
String cardCoBrand)
Initialization constructor.
|
protected |
Card(String id,
String cardBrand,
String last4,
io.apimatic.core.types.OptionalNullable<Long> expMonth,
io.apimatic.core.types.OptionalNullable<Long> expYear,
io.apimatic.core.types.OptionalNullable<String> cardholderName,
Address billingAddress,
String fingerprint,
io.apimatic.core.types.OptionalNullable<String> customerId,
String merchantId,
io.apimatic.core.types.OptionalNullable<String> referenceId,
Boolean enabled,
String cardType,
String prepaidType,
String bin,
Long version,
String cardCoBrand)
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 |
getCardCoBrand()
Getter for CardCoBrand.
|
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() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCardholderName()
Internal Getter for CardholderName.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCustomerId()
Internal Getter for CustomerId.
|
protected io.apimatic.core.types.OptionalNullable<Long> |
internalGetExpMonth()
Internal Getter for ExpMonth.
|
protected io.apimatic.core.types.OptionalNullable<Long> |
internalGetExpYear()
Internal Getter for ExpYear.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetReferenceId()
Internal Getter for ReferenceId.
|
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, String cardCoBrand)
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.cardCoBrand - String value for cardCoBrand.protected Card(String id, String cardBrand, String last4, io.apimatic.core.types.OptionalNullable<Long> expMonth, io.apimatic.core.types.OptionalNullable<Long> expYear, io.apimatic.core.types.OptionalNullable<String> cardholderName, Address billingAddress, String fingerprint, io.apimatic.core.types.OptionalNullable<String> customerId, String merchantId, io.apimatic.core.types.OptionalNullable<String> referenceId, Boolean enabled, String cardType, String prepaidType, String bin, Long version, String cardCoBrand)
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.cardCoBrand - String value for cardCoBrand.public String getId()
public String getCardBrand()
public String getLast4()
protected io.apimatic.core.types.OptionalNullable<Long> internalGetExpMonth()
public Long getExpMonth()
protected io.apimatic.core.types.OptionalNullable<Long> internalGetExpYear()
public Long getExpYear()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCardholderName()
public String getCardholderName()
public Address getBillingAddress()
public String getFingerprint()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCustomerId()
public String getCustomerId()
public String getMerchantId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetReferenceId()
public String getReferenceId()
public Boolean getEnabled()
public String getCardType()
public String getPrepaidType()
public String getBin()
public Long getVersion()
public String getCardCoBrand()
public String toString()
public Card.Builder toBuilder()
Card.Builder object.
Creates the instance with the state of the current model.Card.Builder objectCopyright © 2024. All rights reserved.