@Generated(value="Generated by https://konfigthis.com") public class PlanData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanData.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ALLOWED_INSTALLMENT_OPTIONS |
static String |
SERIALIZED_NAME_CURRENCY |
static String |
SERIALIZED_NAME_FIRST_INSTALLMENT_AMOUNT |
static String |
SERIALIZED_NAME_FIRST_INSTALLMENT_DATE |
static String |
SERIALIZED_NAME_NUMBER_OF_INSTALLMENTS |
static String |
SERIALIZED_NAME_PROCESSING_DATA |
static String |
SERIALIZED_NAME_PURCHASE_METHOD |
static String |
SERIALIZED_NAME_REF_ORDER_NUMBER |
static String |
SERIALIZED_NAME_TAGS |
static String |
SERIALIZED_NAME_TERMINAL_ID |
static String |
SERIALIZED_NAME_TOTAL_AMOUNT |
| Constructor and Description |
|---|
PlanData() |
| Modifier and Type | Method and Description |
|---|---|
PlanData |
addAllowedInstallmentOptionsItem(Integer allowedInstallmentOptionsItem) |
PlanData |
allowedInstallmentOptions(List<Integer> allowedInstallmentOptions) |
PlanData |
currency(String currency) |
boolean |
equals(Object o) |
PlanData |
firstInstallmentAmount(Double firstInstallmentAmount) |
PlanData |
firstInstallmentAmount(Integer firstInstallmentAmount) |
PlanData |
firstInstallmentDate(OffsetDateTime firstInstallmentDate) |
static PlanData |
fromJson(String jsonString)
Create an instance of PlanData 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.
|
List<Integer> |
getAllowedInstallmentOptions()
Get allowedInstallmentOptions
|
String |
getCurrency()
Get currency
|
Double |
getFirstInstallmentAmount()
Get firstInstallmentAmount
|
OffsetDateTime |
getFirstInstallmentDate()
Get firstInstallmentDate
|
Integer |
getNumberOfInstallments()
Get numberOfInstallments
|
ProcessingData2 |
getProcessingData()
Get processingData
|
PurchaseMethod |
getPurchaseMethod()
Get purchaseMethod
|
String |
getRefOrderNumber()
Get refOrderNumber
|
Map<String,String> |
getTags()
Get tags
|
String |
getTerminalId()
Get terminalId
|
Double |
getTotalAmount()
Get totalAmount
|
int |
hashCode() |
PlanData |
numberOfInstallments(Integer numberOfInstallments) |
PlanData |
processingData(ProcessingData2 processingData) |
PlanData |
purchaseMethod(PurchaseMethod purchaseMethod) |
PlanData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PlanData |
putTagsItem(String key,
String tagsItem) |
PlanData |
refOrderNumber(String refOrderNumber) |
void |
setAllowedInstallmentOptions(List<Integer> allowedInstallmentOptions) |
void |
setCurrency(String currency) |
void |
setFirstInstallmentAmount(Double firstInstallmentAmount) |
void |
setFirstInstallmentDate(OffsetDateTime firstInstallmentDate) |
void |
setNumberOfInstallments(Integer numberOfInstallments) |
void |
setProcessingData(ProcessingData2 processingData) |
void |
setPurchaseMethod(PurchaseMethod purchaseMethod) |
void |
setRefOrderNumber(String refOrderNumber) |
void |
setTags(Map<String,String> tags) |
void |
setTerminalId(String terminalId) |
void |
setTotalAmount(Double totalAmount) |
PlanData |
tags(Map<String,String> tags) |
PlanData |
terminalId(String terminalId) |
String |
toJson()
Convert an instance of PlanData to an JSON string
|
String |
toString() |
PlanData |
totalAmount(Double totalAmount) |
PlanData |
totalAmount(Integer totalAmount) |
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_TERMINAL_ID
public static final String SERIALIZED_NAME_TOTAL_AMOUNT
public static final String SERIALIZED_NAME_FIRST_INSTALLMENT_AMOUNT
public static final String SERIALIZED_NAME_CURRENCY
public static final String SERIALIZED_NAME_NUMBER_OF_INSTALLMENTS
public static final String SERIALIZED_NAME_PURCHASE_METHOD
public static final String SERIALIZED_NAME_REF_ORDER_NUMBER
public static final String SERIALIZED_NAME_ALLOWED_INSTALLMENT_OPTIONS
public static final String SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_PROCESSING_DATA
public static final String SERIALIZED_NAME_FIRST_INSTALLMENT_DATE
public void setTerminalId(String terminalId)
public void setTotalAmount(Double totalAmount)
@Nullable public Double getFirstInstallmentAmount()
public void setFirstInstallmentAmount(Double firstInstallmentAmount)
public void setCurrency(String currency)
@Nonnull public Integer getNumberOfInstallments()
public void setNumberOfInstallments(Integer numberOfInstallments)
public PlanData purchaseMethod(PurchaseMethod purchaseMethod)
@Nonnull public PurchaseMethod getPurchaseMethod()
public void setPurchaseMethod(PurchaseMethod purchaseMethod)
@Nullable public String getRefOrderNumber()
public void setRefOrderNumber(String refOrderNumber)
public PlanData allowedInstallmentOptions(List<Integer> allowedInstallmentOptions)
public PlanData addAllowedInstallmentOptionsItem(Integer allowedInstallmentOptionsItem)
@Nullable public List<Integer> getAllowedInstallmentOptions()
public void setAllowedInstallmentOptions(List<Integer> allowedInstallmentOptions)
public PlanData processingData(ProcessingData2 processingData)
@Nullable public ProcessingData2 getProcessingData()
public void setProcessingData(ProcessingData2 processingData)
public PlanData firstInstallmentDate(OffsetDateTime firstInstallmentDate)
@Nullable public OffsetDateTime getFirstInstallmentDate()
public void setFirstInstallmentDate(OffsetDateTime firstInstallmentDate)
public PlanData 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 PlanDatapublic static PlanData fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PlanDatapublic String toJson()
Copyright © 2023. All rights reserved.