@Generated(value="Generated by https://konfigthis.com") public class InitiatePlanResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InitiatePlanResponse.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_BILLING_ADDRESS |
static String |
SERIALIZED_NAME_CHECKOUT_URL |
static String |
SERIALIZED_NAME_CURRENCY |
static String |
SERIALIZED_NAME_EXTENDED_PARAMS |
static String |
SERIALIZED_NAME_INSTALLMENT_PLAN_NUMBER |
static String |
SERIALIZED_NAME_PURCHASE_METHOD |
static String |
SERIALIZED_NAME_REF_ORDER_NUMBER |
static String |
SERIALIZED_NAME_SHOPPER |
static String |
SERIALIZED_NAME_STATUS |
| Constructor and Description |
|---|
InitiatePlanResponse() |
public static final String SERIALIZED_NAME_INSTALLMENT_PLAN_NUMBER
public static final String SERIALIZED_NAME_REF_ORDER_NUMBER
public static final String SERIALIZED_NAME_PURCHASE_METHOD
public static final String SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_CURRENCY
public static final String SERIALIZED_NAME_AMOUNT
public static final String SERIALIZED_NAME_EXTENDED_PARAMS
public static final String SERIALIZED_NAME_SHOPPER
public static final String SERIALIZED_NAME_BILLING_ADDRESS
public static final String SERIALIZED_NAME_CHECKOUT_URL
public InitiatePlanResponse installmentPlanNumber(String installmentPlanNumber)
@Nullable public String getInstallmentPlanNumber()
public void setInstallmentPlanNumber(String installmentPlanNumber)
public InitiatePlanResponse refOrderNumber(String refOrderNumber)
@Nullable public String getRefOrderNumber()
public void setRefOrderNumber(String refOrderNumber)
public InitiatePlanResponse purchaseMethod(PurchaseMethod purchaseMethod)
@Nullable public PurchaseMethod getPurchaseMethod()
public void setPurchaseMethod(PurchaseMethod purchaseMethod)
public InitiatePlanResponse status(PlanStatus status)
@Nonnull public PlanStatus getStatus()
public void setStatus(PlanStatus status)
public InitiatePlanResponse currency(String currency)
public void setCurrency(String currency)
public InitiatePlanResponse amount(Double amount)
public InitiatePlanResponse amount(Integer amount)
public void setAmount(Double amount)
public InitiatePlanResponse extendedParams(Map<String,String> extendedParams)
public InitiatePlanResponse putExtendedParamsItem(String key, String extendedParamsItem)
@Nullable public Map<String,String> getExtendedParams()
public InitiatePlanResponse shopper(ShopperData shopper)
@Nullable public ShopperData getShopper()
public void setShopper(ShopperData shopper)
public InitiatePlanResponse billingAddress(AddressData billingAddress)
@Nullable public AddressData getBillingAddress()
public void setBillingAddress(AddressData billingAddress)
public InitiatePlanResponse checkoutUrl(String checkoutUrl)
public void setCheckoutUrl(String checkoutUrl)
public InitiatePlanResponse 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 InitiatePlanResponsepublic static InitiatePlanResponse fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to InitiatePlanResponsepublic String toJson()
Copyright © 2023. All rights reserved.