public class VenmoPaymentToken extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VenmoPaymentToken.Builder
Class to build instances of
VenmoPaymentToken. |
| Constructor and Description |
|---|
VenmoPaymentToken()
Default constructor.
|
VenmoPaymentToken(String description,
UsagePattern usagePattern,
VaultedDigitalWalletShippingDetails shipping,
Boolean permitMultiplePaymentTokens,
PaypalPaymentTokenUsageType usageType,
PaypalPaymentTokenCustomerType customerType,
String emailAddress,
String payerId,
Name name,
PhoneWithType phone,
Address address,
String userName)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
VaultedDigitalWalletShippingDetails |
getShipping()
Getter for Shipping.
|
UsagePattern |
getUsagePattern()
Getter for UsagePattern.
|
PaypalPaymentTokenUsageType |
getUsageType()
Getter for UsageType.
|
String |
getUserName()
Getter for UserName.
|
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 |
setShipping(VaultedDigitalWalletShippingDetails shipping)
Setter for Shipping.
|
void |
setUsagePattern(UsagePattern usagePattern)
Setter for UsagePattern.
|
void |
setUsageType(PaypalPaymentTokenUsageType usageType)
Setter for UsageType.
|
void |
setUserName(String userName)
Setter for UserName.
|
VenmoPaymentToken.Builder |
toBuilder()
Builds a new
VenmoPaymentToken.Builder object. |
String |
toString()
Converts this VenmoPaymentToken into string format.
|
public VenmoPaymentToken()
public VenmoPaymentToken(String description, UsagePattern usagePattern, VaultedDigitalWalletShippingDetails shipping, Boolean permitMultiplePaymentTokens, PaypalPaymentTokenUsageType usageType, PaypalPaymentTokenCustomerType customerType, String emailAddress, String payerId, Name name, PhoneWithType phone, Address address, String userName)
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.userName - String value for userName.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 getUserName()
public void setUserName(String userName)
userName - Value for Stringpublic String toString()
public VenmoPaymentToken.Builder toBuilder()
VenmoPaymentToken.Builder object.
Creates the instance with the state of the current model.VenmoPaymentToken.Builder objectCopyright © 2025. All rights reserved.