@Generated(value="travel.liteapi.codegen.languages.JavaClientCodegen", date="2023-06-26T16:26:32.648+01:00[Africa/Casablanca]") public class RatesBookPostRequestPayment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RatesBookPostRequestPayment.CustomTypeAdapterFactory |
static class |
RatesBookPostRequestPayment.MethodEnum
Gets or Sets method
|
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
liteapiFields |
static HashSet<String> |
liteapiRequiredFields |
static String |
SERIALIZED_NAME_CVC |
static String |
SERIALIZED_NAME_EXPIRE_DATE |
static String |
SERIALIZED_NAME_HOLDER_NAME |
static String |
SERIALIZED_NAME_METHOD |
static String |
SERIALIZED_NAME_NUMBER |
static String |
SERIALIZED_NAME_TOKEN |
| Constructor and Description |
|---|
RatesBookPostRequestPayment() |
public static final String SERIALIZED_NAME_HOLDER_NAME
public static final String SERIALIZED_NAME_NUMBER
public static final String SERIALIZED_NAME_EXPIRE_DATE
public static final String SERIALIZED_NAME_CVC
public static final String SERIALIZED_NAME_METHOD
public static final String SERIALIZED_NAME_TOKEN
public RatesBookPostRequestPayment holderName(String holderName)
public void setHolderName(String holderName)
public RatesBookPostRequestPayment number(String number)
public void setNumber(String number)
public RatesBookPostRequestPayment expireDate(String expireDate)
public void setExpireDate(String expireDate)
public RatesBookPostRequestPayment cvc(String cvc)
public void setCvc(String cvc)
public RatesBookPostRequestPayment method(RatesBookPostRequestPayment.MethodEnum method)
@Nullable public RatesBookPostRequestPayment.MethodEnum getMethod()
public void setMethod(RatesBookPostRequestPayment.MethodEnum method)
public RatesBookPostRequestPayment token(String token)
public void setToken(String token)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to RatesBookPostRequestPaymentpublic static RatesBookPostRequestPayment fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to RatesBookPostRequestPaymentpublic String toJson()
Copyright © 2023. All rights reserved.