public class CardResponseWithBillingAddress extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CardResponseWithBillingAddress.Builder
Class to build instances of
CardResponseWithBillingAddress. |
| Constructor and Description |
|---|
CardResponseWithBillingAddress()
Default constructor.
|
CardResponseWithBillingAddress(String name,
Address billingAddress,
String expiry,
String currencyCode)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Address |
getBillingAddress()
Getter for BillingAddress.
|
String |
getCurrencyCode()
Getter for CurrencyCode.
|
String |
getExpiry()
Getter for Expiry.
|
String |
getName()
Getter for Name.
|
void |
setBillingAddress(Address billingAddress)
Setter for BillingAddress.
|
void |
setCurrencyCode(String currencyCode)
Setter for CurrencyCode.
|
void |
setExpiry(String expiry)
Setter for Expiry.
|
void |
setName(String name)
Setter for Name.
|
CardResponseWithBillingAddress.Builder |
toBuilder()
Builds a new
CardResponseWithBillingAddress.Builder object. |
String |
toString()
Converts this CardResponseWithBillingAddress into string format.
|
public CardResponseWithBillingAddress()
public CardResponseWithBillingAddress(String name, Address billingAddress, String expiry, String currencyCode)
name - String value for name.billingAddress - Address value for billingAddress.expiry - String value for expiry.currencyCode - String value for currencyCode.public String getName()
public void setName(String name)
name - Value for Stringpublic Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
billingAddress - Value for Addresspublic String getExpiry()
public void setExpiry(String expiry)
expiry - Value for Stringpublic String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode - Value for Stringpublic String toString()
public CardResponseWithBillingAddress.Builder toBuilder()
CardResponseWithBillingAddress.Builder object.
Creates the instance with the state of the current model.CardResponseWithBillingAddress.Builder objectCopyright © 2026. All rights reserved.