@Generated(value="Generated by https://konfigthis.com") public class CardData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CardData.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CARD_BRAND |
static String |
SERIALIZED_NAME_CARD_CVV |
static String |
SERIALIZED_NAME_CARD_EXP_MONTH |
static String |
SERIALIZED_NAME_CARD_EXP_YEAR |
static String |
SERIALIZED_NAME_CARD_HOLDER_FULL_NAME |
static String |
SERIALIZED_NAME_CARD_NUMBER |
static String |
SERIALIZED_NAME_CARD_TYPE |
| Constructor and Description |
|---|
CardData() |
| Modifier and Type | Method and Description |
|---|---|
CardData |
cardBrand(CardBrand cardBrand) |
CardData |
cardCvv(String cardCvv) |
CardData |
cardExpMonth(String cardExpMonth) |
CardData |
cardExpYear(String cardExpYear) |
CardData |
cardHolderFullName(String cardHolderFullName) |
CardData |
cardNumber(String cardNumber) |
CardData |
cardType(CardType cardType) |
boolean |
equals(Object o) |
static CardData |
fromJson(String jsonString)
Create an instance of CardData given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
CardBrand |
getCardBrand()
Get cardBrand
|
String |
getCardCvv()
Get cardCvv
|
String |
getCardExpMonth()
Get cardExpMonth
|
String |
getCardExpYear()
Get cardExpYear
|
String |
getCardHolderFullName()
Get cardHolderFullName
|
String |
getCardNumber()
Get cardNumber
|
CardType |
getCardType()
Get cardType
|
int |
hashCode() |
CardData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCardBrand(CardBrand cardBrand) |
void |
setCardCvv(String cardCvv) |
void |
setCardExpMonth(String cardExpMonth) |
void |
setCardExpYear(String cardExpYear) |
void |
setCardHolderFullName(String cardHolderFullName) |
void |
setCardNumber(String cardNumber) |
void |
setCardType(CardType cardType) |
String |
toJson()
Convert an instance of CardData to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_CARD_HOLDER_FULL_NAME
public static final String SERIALIZED_NAME_CARD_NUMBER
public static final String SERIALIZED_NAME_CARD_EXP_YEAR
public static final String SERIALIZED_NAME_CARD_EXP_MONTH
public static final String SERIALIZED_NAME_CARD_CVV
public static final String SERIALIZED_NAME_CARD_BRAND
public static final String SERIALIZED_NAME_CARD_TYPE
@Nullable public String getCardHolderFullName()
public void setCardHolderFullName(String cardHolderFullName)
public void setCardNumber(String cardNumber)
public void setCardExpYear(String cardExpYear)
public void setCardExpMonth(String cardExpMonth)
public void setCardCvv(String cardCvv)
public void setCardBrand(CardBrand cardBrand)
public void setCardType(CardType cardType)
public CardData putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to CardDatapublic static CardData fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to CardDatapublic String toJson()
Copyright © 2023. All rights reserved.