public class PaypalPaymentToken extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaypalPaymentToken.Builder
Class to build instances of
PaypalPaymentToken. |
| Constructor and Description |
|---|
PaypalPaymentToken()
Default constructor.
|
PaypalPaymentToken(String description,
UsagePattern usagePattern,
VaultedDigitalWalletShippingDetails shipping,
Boolean permitMultiplePaymentTokens,
PaypalPaymentTokenUsageType usageType,
PaypalPaymentTokenCustomerType customerType,
String emailAddress,
String payerId,
Name name,
PhoneWithType phone,
Address address,
String accountId,
Phone phoneNumber)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountId()
Getter for AccountId.
|
Address |
getAddress()
Getter for Address.
|
PaypalPaymentTokenCustomerType |
getCustomerType()
Getter for CustomerType.
|
String |
getDescription()
Getter for Description.
|
String |
getEmailAddress()
Getter for EmailAddress.
|
Name |
getName()
Getter for Name.
|
String |
getPayerId()
Getter for PayerId.
|
Boolean |
getPermitMultiplePaymentTokens()
Getter for PermitMultiplePaymentTokens.
|
PhoneWithType |
getPhone()
Getter for Phone.
|
Phone |
getPhoneNumber()
Getter for PhoneNumber.
|
VaultedDigitalWalletShippingDetails |
getShipping()
Getter for Shipping.
|
UsagePattern |
getUsagePattern()
Getter for UsagePattern.
|
PaypalPaymentTokenUsageType |
getUsageType()
Getter for UsageType.
|
void |
setAccountId(String accountId)
Setter for AccountId.
|
void |
setAddress(Address address)
Setter for Address.
|
void |
setCustomerType(PaypalPaymentTokenCustomerType customerType)
Setter for CustomerType.
|
void |
setDescription(String description)
Setter for Description.
|
void |
setEmailAddress(String emailAddress)
Setter for EmailAddress.
|
void |
setName(Name name)
Setter for Name.
|
void |
setPayerId(String payerId)
Setter for PayerId.
|
void |
setPermitMultiplePaymentTokens(Boolean permitMultiplePaymentTokens)
Setter for PermitMultiplePaymentTokens.
|
void |
setPhone(PhoneWithType phone)
Setter for Phone.
|
void |
setPhoneNumber(Phone phoneNumber)
Setter for PhoneNumber.
|
void |
setShipping(VaultedDigitalWalletShippingDetails shipping)
Setter for Shipping.
|
void |
setUsagePattern(UsagePattern usagePattern)
Setter for UsagePattern.
|
void |
setUsageType(PaypalPaymentTokenUsageType usageType)
Setter for UsageType.
|
PaypalPaymentToken.Builder |
toBuilder()
Builds a new
PaypalPaymentToken.Builder object. |
String |
toString()
Converts this PaypalPaymentToken into string format.
|
public PaypalPaymentToken()
public PaypalPaymentToken(String description, UsagePattern usagePattern, VaultedDigitalWalletShippingDetails shipping, Boolean permitMultiplePaymentTokens, PaypalPaymentTokenUsageType usageType, PaypalPaymentTokenCustomerType customerType, String emailAddress, String payerId, Name name, PhoneWithType phone, Address address, String accountId, Phone phoneNumber)
description - String value for description.usagePattern - UsagePattern value for usagePattern.shipping - VaultedDigitalWalletShippingDetails value for shipping.permitMultiplePaymentTokens - Boolean value for permitMultiplePaymentTokens.usageType - PaypalPaymentTokenUsageType value for usageType.customerType - PaypalPaymentTokenCustomerType value for customerType.emailAddress - String value for emailAddress.payerId - String value for payerId.name - Name value for name.phone - PhoneWithType value for phone.address - Address value for address.accountId - String value for accountId.phoneNumber - Phone value for phoneNumber.public String getDescription()
public void setDescription(String description)
description - Value for Stringpublic UsagePattern getUsagePattern()
public void setUsagePattern(UsagePattern usagePattern)
usagePattern - Value for UsagePatternpublic VaultedDigitalWalletShippingDetails getShipping()
public void setShipping(VaultedDigitalWalletShippingDetails shipping)
shipping - Value for VaultedDigitalWalletShippingDetailspublic Boolean getPermitMultiplePaymentTokens()
public void setPermitMultiplePaymentTokens(Boolean permitMultiplePaymentTokens)
permitMultiplePaymentTokens - Value for Booleanpublic PaypalPaymentTokenUsageType getUsageType()
public void setUsageType(PaypalPaymentTokenUsageType usageType)
usageType - Value for PaypalPaymentTokenUsageTypepublic PaypalPaymentTokenCustomerType getCustomerType()
public void setCustomerType(PaypalPaymentTokenCustomerType customerType)
customerType - Value for PaypalPaymentTokenCustomerTypepublic String getEmailAddress()
public void setEmailAddress(String emailAddress)
emailAddress - Value for Stringpublic String getPayerId()
public void setPayerId(String payerId)
payerId - Value for Stringpublic Name getName()
public void setName(Name name)
name - Value for Namepublic PhoneWithType getPhone()
public void setPhone(PhoneWithType phone)
phone - Value for PhoneWithTypepublic Address getAddress()
public void setAddress(Address address)
address - Value for Addresspublic String getAccountId()
public void setAccountId(String accountId)
accountId - Value for Stringpublic Phone getPhoneNumber()
public void setPhoneNumber(Phone phoneNumber)
phoneNumber - Value for Phonepublic String toString()
public PaypalPaymentToken.Builder toBuilder()
PaypalPaymentToken.Builder object.
Creates the instance with the state of the current model.PaypalPaymentToken.Builder objectCopyright © 2025. All rights reserved.