public class GooglePayCardResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GooglePayCardResponse.Builder
Class to build instances of
GooglePayCardResponse. |
| Constructor and Description |
|---|
GooglePayCardResponse()
Default constructor.
|
GooglePayCardResponse(String name,
String lastDigits,
CardType type,
CardBrand brand,
Address billingAddress,
AuthenticationResponse authenticationResult)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResponse |
getAuthenticationResult()
Getter for AuthenticationResult.
|
Address |
getBillingAddress()
Getter for BillingAddress.
|
CardBrand |
getBrand()
Getter for Brand.
|
String |
getLastDigits()
Getter for LastDigits.
|
String |
getName()
Getter for Name.
|
CardType |
getType()
Getter for Type.
|
void |
setAuthenticationResult(AuthenticationResponse authenticationResult)
Setter for AuthenticationResult.
|
void |
setBillingAddress(Address billingAddress)
Setter for BillingAddress.
|
void |
setBrand(CardBrand brand)
Setter for Brand.
|
void |
setLastDigits(String lastDigits)
Setter for LastDigits.
|
void |
setName(String name)
Setter for Name.
|
void |
setType(CardType type)
Setter for Type.
|
GooglePayCardResponse.Builder |
toBuilder()
Builds a new
GooglePayCardResponse.Builder object. |
String |
toString()
Converts this GooglePayCardResponse into string format.
|
public GooglePayCardResponse()
public GooglePayCardResponse(String name, String lastDigits, CardType type, CardBrand brand, Address billingAddress, AuthenticationResponse authenticationResult)
name - String value for name.lastDigits - String value for lastDigits.type - CardType value for type.brand - CardBrand value for brand.billingAddress - Address value for billingAddress.authenticationResult - AuthenticationResponse value for authenticationResult.public String getName()
public void setName(String name)
name - Value for Stringpublic String getLastDigits()
public void setLastDigits(String lastDigits)
lastDigits - 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 AuthenticationResponse getAuthenticationResult()
public void setAuthenticationResult(AuthenticationResponse authenticationResult)
authenticationResult - Value for AuthenticationResponsepublic String toString()
public GooglePayCardResponse.Builder toBuilder()
GooglePayCardResponse.Builder object.
Creates the instance with the state of the current model.GooglePayCardResponse.Builder objectCopyright © 2025. All rights reserved.