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