public class Subscriber extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscriber.Builder
Class to build instances of
Subscriber. |
| Constructor and Description |
|---|
Subscriber()
Default constructor.
|
Subscriber(String emailAddress,
String payerId,
Name name,
ShippingDetails shippingAddress,
SubscriptionPaymentSourceResponse paymentSource)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEmailAddress()
Getter for EmailAddress.
|
Name |
getName()
Getter for Name.
|
String |
getPayerId()
Getter for PayerId.
|
SubscriptionPaymentSourceResponse |
getPaymentSource()
Getter for PaymentSource.
|
ShippingDetails |
getShippingAddress()
Getter for ShippingAddress.
|
void |
setEmailAddress(String emailAddress)
Setter for EmailAddress.
|
void |
setName(Name name)
Setter for Name.
|
void |
setPayerId(String payerId)
Setter for PayerId.
|
void |
setPaymentSource(SubscriptionPaymentSourceResponse paymentSource)
Setter for PaymentSource.
|
void |
setShippingAddress(ShippingDetails shippingAddress)
Setter for ShippingAddress.
|
Subscriber.Builder |
toBuilder()
Builds a new
Subscriber.Builder object. |
String |
toString()
Converts this Subscriber into string format.
|
public Subscriber()
public Subscriber(String emailAddress, String payerId, Name name, ShippingDetails shippingAddress, SubscriptionPaymentSourceResponse paymentSource)
emailAddress - String value for emailAddress.payerId - String value for payerId.name - Name value for name.shippingAddress - ShippingDetails value for shippingAddress.paymentSource - SubscriptionPaymentSourceResponse value for paymentSource.public 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 ShippingDetails getShippingAddress()
public void setShippingAddress(ShippingDetails shippingAddress)
shippingAddress - Value for ShippingDetailspublic SubscriptionPaymentSourceResponse getPaymentSource()
public void setPaymentSource(SubscriptionPaymentSourceResponse paymentSource)
paymentSource - Value for SubscriptionPaymentSourceResponsepublic String toString()
public Subscriber.Builder toBuilder()
Subscriber.Builder object.
Creates the instance with the state of the current model.Subscriber.Builder objectCopyright © 2026. All rights reserved.