public class ApplePayPaymentObject extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplePayPaymentObject.Builder
Class to build instances of
ApplePayPaymentObject. |
| Constructor and Description |
|---|
ApplePayPaymentObject()
Default constructor.
|
ApplePayPaymentObject(String id,
String token,
String name,
String emailAddress,
PhoneNumber phoneNumber,
ApplePayCardResponse card,
ApplePayAttributesResponse attributes,
CardStoredCredential storedCredential)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ApplePayAttributesResponse |
getAttributes()
Getter for Attributes.
|
ApplePayCardResponse |
getCard()
Getter for Card.
|
String |
getEmailAddress()
Getter for EmailAddress.
|
String |
getId()
Getter for Id.
|
String |
getName()
Getter for Name.
|
PhoneNumber |
getPhoneNumber()
Getter for PhoneNumber.
|
CardStoredCredential |
getStoredCredential()
Getter for StoredCredential.
|
String |
getToken()
Getter for Token.
|
void |
setAttributes(ApplePayAttributesResponse attributes)
Setter for Attributes.
|
void |
setCard(ApplePayCardResponse card)
Setter for Card.
|
void |
setEmailAddress(String emailAddress)
Setter for EmailAddress.
|
void |
setId(String id)
Setter for Id.
|
void |
setName(String name)
Setter for Name.
|
void |
setPhoneNumber(PhoneNumber phoneNumber)
Setter for PhoneNumber.
|
void |
setStoredCredential(CardStoredCredential storedCredential)
Setter for StoredCredential.
|
void |
setToken(String token)
Setter for Token.
|
ApplePayPaymentObject.Builder |
toBuilder()
Builds a new
ApplePayPaymentObject.Builder object. |
String |
toString()
Converts this ApplePayPaymentObject into string format.
|
public ApplePayPaymentObject()
public ApplePayPaymentObject(String id, String token, String name, String emailAddress, PhoneNumber phoneNumber, ApplePayCardResponse card, ApplePayAttributesResponse attributes, CardStoredCredential storedCredential)
id - String value for id.token - String value for token.name - String value for name.emailAddress - String value for emailAddress.phoneNumber - PhoneNumber value for phoneNumber.card - ApplePayCardResponse value for card.attributes - ApplePayAttributesResponse value for attributes.storedCredential - CardStoredCredential value for storedCredential.public String getId()
public void setId(String id)
id - Value for Stringpublic String getToken()
public void setToken(String token)
token - Value for Stringpublic String getName()
public void setName(String name)
name - Value for Stringpublic String getEmailAddress()
public void setEmailAddress(String emailAddress)
emailAddress - Value for Stringpublic PhoneNumber getPhoneNumber()
public void setPhoneNumber(PhoneNumber phoneNumber)
phoneNumber - Value for PhoneNumberpublic ApplePayCardResponse getCard()
public void setCard(ApplePayCardResponse card)
card - Value for ApplePayCardResponsepublic ApplePayAttributesResponse getAttributes()
public void setAttributes(ApplePayAttributesResponse attributes)
attributes - Value for ApplePayAttributesResponsepublic CardStoredCredential getStoredCredential()
public void setStoredCredential(CardStoredCredential storedCredential)
storedCredential - Value for CardStoredCredentialpublic String toString()
public ApplePayPaymentObject.Builder toBuilder()
ApplePayPaymentObject.Builder object.
Creates the instance with the state of the current model.ApplePayPaymentObject.Builder objectCopyright © 2025. All rights reserved.