public class SubscriptionCardRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscriptionCardRequest.Builder
Class to build instances of
SubscriptionCardRequest. |
| Constructor and Description |
|---|
SubscriptionCardRequest()
Default constructor.
|
SubscriptionCardRequest(String name,
String number,
String expiry,
String securityCode,
CardType type,
SubscriptionsCardBrand brand,
Address billingAddress,
SubscriptionsCardAttributes attributes)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SubscriptionsCardAttributes |
getAttributes()
Getter for Attributes.
|
Address |
getBillingAddress()
Getter for BillingAddress.
|
SubscriptionsCardBrand |
getBrand()
Getter for Brand.
|
String |
getExpiry()
Getter for Expiry.
|
String |
getName()
Getter for Name.
|
String |
getNumber()
Getter for Number.
|
String |
getSecurityCode()
Getter for SecurityCode.
|
CardType |
getType()
Getter for Type.
|
void |
setAttributes(SubscriptionsCardAttributes attributes)
Setter for Attributes.
|
void |
setBillingAddress(Address billingAddress)
Setter for BillingAddress.
|
void |
setBrand(SubscriptionsCardBrand brand)
Setter for Brand.
|
void |
setExpiry(String expiry)
Setter for Expiry.
|
void |
setName(String name)
Setter for Name.
|
void |
setNumber(String number)
Setter for Number.
|
void |
setSecurityCode(String securityCode)
Setter for SecurityCode.
|
void |
setType(CardType type)
Setter for Type.
|
SubscriptionCardRequest.Builder |
toBuilder()
Builds a new
SubscriptionCardRequest.Builder object. |
String |
toString()
Converts this SubscriptionCardRequest into string format.
|
public SubscriptionCardRequest()
public SubscriptionCardRequest(String name, String number, String expiry, String securityCode, CardType type, SubscriptionsCardBrand brand, Address billingAddress, SubscriptionsCardAttributes attributes)
name - String value for name.number - String value for number.expiry - String value for expiry.securityCode - String value for securityCode.type - CardType value for type.brand - SubscriptionsCardBrand value for brand.billingAddress - Address value for billingAddress.attributes - SubscriptionsCardAttributes value for attributes.public String getName()
public void setName(String name)
name - Value for Stringpublic String getNumber()
public void setNumber(String number)
number - Value for Stringpublic String getExpiry()
public void setExpiry(String expiry)
expiry - Value for Stringpublic String getSecurityCode()
public void setSecurityCode(String securityCode)
securityCode - Value for Stringpublic CardType getType()
public void setType(CardType type)
type - Value for CardTypepublic SubscriptionsCardBrand getBrand()
public void setBrand(SubscriptionsCardBrand brand)
brand - Value for SubscriptionsCardBrandpublic Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
billingAddress - Value for Addresspublic SubscriptionsCardAttributes getAttributes()
public void setAttributes(SubscriptionsCardAttributes attributes)
attributes - Value for SubscriptionsCardAttributespublic String toString()
public SubscriptionCardRequest.Builder toBuilder()
SubscriptionCardRequest.Builder object.
Creates the instance with the state of the current model.SubscriptionCardRequest.Builder objectCopyright © 2026. All rights reserved.