public class GooglePayRequestCard extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GooglePayRequestCard.Builder
Class to build instances of
GooglePayRequestCard. |
| Constructor and Description |
|---|
GooglePayRequestCard()
Default constructor.
|
GooglePayRequestCard(String name,
CardType type,
CardBrand brand,
Address billingAddress)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Address |
getBillingAddress()
Getter for BillingAddress.
|
CardBrand |
getBrand()
Getter for Brand.
|
String |
getName()
Getter for Name.
|
CardType |
getType()
Getter for Type.
|
void |
setBillingAddress(Address billingAddress)
Setter for BillingAddress.
|
void |
setBrand(CardBrand brand)
Setter for Brand.
|
void |
setName(String name)
Setter for Name.
|
void |
setType(CardType type)
Setter for Type.
|
GooglePayRequestCard.Builder |
toBuilder()
Builds a new
GooglePayRequestCard.Builder object. |
String |
toString()
Converts this GooglePayRequestCard into string format.
|
public GooglePayRequestCard()
public GooglePayRequestCard(String name, CardType type, CardBrand brand, Address billingAddress)
name - String value for name.type - CardType value for type.brand - CardBrand value for brand.billingAddress - Address value for billingAddress.public String getName()
public void setName(String name)
name - Value for Stringpublic CardType getType()
public void setType(CardType type)
type - Value for CardTypepublic CardBrand getBrand()
public void setBrand(CardBrand brand)
brand - Value for CardBrandpublic Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
billingAddress - Value for Addresspublic String toString()
public GooglePayRequestCard.Builder toBuilder()
GooglePayRequestCard.Builder object.
Creates the instance with the state of the current model.GooglePayRequestCard.Builder objectCopyright © 2025. All rights reserved.