public class ApplePayTokenizedCard extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplePayTokenizedCard.Builder
Class to build instances of
ApplePayTokenizedCard. |
| Constructor and Description |
|---|
ApplePayTokenizedCard()
Default constructor.
|
ApplePayTokenizedCard(String name,
String number,
String expiry,
CardBrand cardType,
CardType type,
CardBrand brand,
Address billingAddress)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Address |
getBillingAddress()
Getter for BillingAddress.
|
CardBrand |
getBrand()
Getter for Brand.
|
CardBrand |
getCardType()
Getter for CardType.
|
String |
getExpiry()
Getter for Expiry.
|
String |
getName()
Getter for Name.
|
String |
getNumber()
Getter for Number.
|
CardType |
getType()
Getter for Type.
|
void |
setBillingAddress(Address billingAddress)
Setter for BillingAddress.
|
void |
setBrand(CardBrand brand)
Setter for Brand.
|
void |
setCardType(CardBrand cardType)
Setter for CardType.
|
void |
setExpiry(String expiry)
Setter for Expiry.
|
void |
setName(String name)
Setter for Name.
|
void |
setNumber(String number)
Setter for Number.
|
void |
setType(CardType type)
Setter for Type.
|
ApplePayTokenizedCard.Builder |
toBuilder()
Builds a new
ApplePayTokenizedCard.Builder object. |
String |
toString()
Converts this ApplePayTokenizedCard into string format.
|
public ApplePayTokenizedCard()
public ApplePayTokenizedCard(String name, String number, String expiry, CardBrand cardType, CardType type, CardBrand brand, Address billingAddress)
name - String value for name.number - String value for number.expiry - String value for expiry.cardType - CardBrand value for cardType.type - CardType value for type.brand - CardBrand value for brand.billingAddress - Address value for billingAddress.public String getName()
public void setName(String name)
name - Value for Stringpublic String getNumber()
public void setNumber(String number)
number - Value for Stringpublic String getExpiry()
public void setExpiry(String expiry)
expiry - Value for Stringpublic CardBrand getCardType()
public void setCardType(CardBrand cardType)
cardType - Value for CardBrandpublic CardType getType()
public void setType(CardType type)
type - Value for CardTypepublic CardBrand getBrand()
public void setBrand(CardBrand brand)
brand - Value for CardBrandpublic Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
billingAddress - Value for Addresspublic String toString()
public ApplePayTokenizedCard.Builder toBuilder()
ApplePayTokenizedCard.Builder object.
Creates the instance with the state of the current model.ApplePayTokenizedCard.Builder objectCopyright © 2025. All rights reserved.