public class CardResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CardResponse.Builder
Class to build instances of
CardResponse. |
| Constructor and Description |
|---|
CardResponse()
Default constructor.
|
CardResponse(String name,
String lastDigits,
CardBrand brand,
List<CardBrand> availableNetworks,
CardType type,
AuthenticationResponse authenticationResult,
CardAttributesResponse attributes,
CardFromRequest fromRequest,
String expiry,
BinDetails binDetails,
CardStoredCredential storedCredential)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CardAttributesResponse |
getAttributes()
Getter for Attributes.
|
AuthenticationResponse |
getAuthenticationResult()
Getter for AuthenticationResult.
|
List<CardBrand> |
getAvailableNetworks()
Getter for AvailableNetworks.
|
BinDetails |
getBinDetails()
Getter for BinDetails.
|
CardBrand |
getBrand()
Getter for Brand.
|
String |
getExpiry()
Getter for Expiry.
|
CardFromRequest |
getFromRequest()
Getter for FromRequest.
|
String |
getLastDigits()
Getter for LastDigits.
|
String |
getName()
Getter for Name.
|
CardStoredCredential |
getStoredCredential()
Getter for StoredCredential.
|
CardType |
getType()
Getter for Type.
|
void |
setAttributes(CardAttributesResponse attributes)
Setter for Attributes.
|
void |
setAuthenticationResult(AuthenticationResponse authenticationResult)
Setter for AuthenticationResult.
|
void |
setAvailableNetworks(List<CardBrand> availableNetworks)
Setter for AvailableNetworks.
|
void |
setBinDetails(BinDetails binDetails)
Setter for BinDetails.
|
void |
setBrand(CardBrand brand)
Setter for Brand.
|
void |
setExpiry(String expiry)
Setter for Expiry.
|
void |
setFromRequest(CardFromRequest fromRequest)
Setter for FromRequest.
|
void |
setLastDigits(String lastDigits)
Setter for LastDigits.
|
void |
setName(String name)
Setter for Name.
|
void |
setStoredCredential(CardStoredCredential storedCredential)
Setter for StoredCredential.
|
void |
setType(CardType type)
Setter for Type.
|
CardResponse.Builder |
toBuilder()
Builds a new
CardResponse.Builder object. |
String |
toString()
Converts this CardResponse into string format.
|
public CardResponse()
public CardResponse(String name, String lastDigits, CardBrand brand, List<CardBrand> availableNetworks, CardType type, AuthenticationResponse authenticationResult, CardAttributesResponse attributes, CardFromRequest fromRequest, String expiry, BinDetails binDetails, CardStoredCredential storedCredential)
name - String value for name.lastDigits - String value for lastDigits.brand - CardBrand value for brand.availableNetworks - List of CardBrand value for availableNetworks.type - CardType value for type.authenticationResult - AuthenticationResponse value for authenticationResult.attributes - CardAttributesResponse value for attributes.fromRequest - CardFromRequest value for fromRequest.expiry - String value for expiry.binDetails - BinDetails value for binDetails.storedCredential - CardStoredCredential value for storedCredential.public String getName()
public void setName(String name)
name - Value for Stringpublic String getLastDigits()
public void setLastDigits(String lastDigits)
lastDigits - Value for Stringpublic CardBrand getBrand()
public void setBrand(CardBrand brand)
brand - Value for CardBrandpublic List<CardBrand> getAvailableNetworks()
public void setAvailableNetworks(List<CardBrand> availableNetworks)
availableNetworks - Value for List of CardBrandpublic CardType getType()
public void setType(CardType type)
type - Value for CardTypepublic AuthenticationResponse getAuthenticationResult()
public void setAuthenticationResult(AuthenticationResponse authenticationResult)
authenticationResult - Value for AuthenticationResponsepublic CardAttributesResponse getAttributes()
public void setAttributes(CardAttributesResponse attributes)
attributes - Value for CardAttributesResponsepublic CardFromRequest getFromRequest()
public void setFromRequest(CardFromRequest fromRequest)
fromRequest - Value for CardFromRequestpublic String getExpiry()
public void setExpiry(String expiry)
expiry - Value for Stringpublic BinDetails getBinDetails()
public void setBinDetails(BinDetails binDetails)
binDetails - Value for BinDetailspublic CardStoredCredential getStoredCredential()
public void setStoredCredential(CardStoredCredential storedCredential)
storedCredential - Value for CardStoredCredentialpublic String toString()
public CardResponse.Builder toBuilder()
CardResponse.Builder object.
Creates the instance with the state of the current model.CardResponse.Builder objectCopyright © 2025. All rights reserved.