@Generated(value="Generated by https://konfigthis.com") public class Installment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Installment.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_INSTALLMENT_NUMBER |
static String |
SERIALIZED_NAME_PROCESS_DATE_TIME |
static String |
SERIALIZED_NAME_STATUS |
| Constructor and Description |
|---|
Installment() |
| Modifier and Type | Method and Description |
|---|---|
Installment |
amount(Double amount) |
Installment |
amount(Integer amount) |
boolean |
equals(Object o) |
static Installment |
fromJson(String jsonString)
Create an instance of Installment 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.
|
Double |
getAmount()
Get amount
|
Integer |
getInstallmentNumber()
Get installmentNumber
|
OffsetDateTime |
getProcessDateTime()
Get processDateTime
|
InstallmentStatus |
getStatus()
Get status
|
int |
hashCode() |
Installment |
installmentNumber(Integer installmentNumber) |
Installment |
processDateTime(OffsetDateTime processDateTime) |
Installment |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAmount(Double amount) |
void |
setInstallmentNumber(Integer installmentNumber) |
void |
setProcessDateTime(OffsetDateTime processDateTime) |
void |
setStatus(InstallmentStatus status) |
Installment |
status(InstallmentStatus status) |
String |
toJson()
Convert an instance of Installment 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_INSTALLMENT_NUMBER
public static final String SERIALIZED_NAME_AMOUNT
public static final String SERIALIZED_NAME_PROCESS_DATE_TIME
public static final String SERIALIZED_NAME_STATUS
public Installment installmentNumber(Integer installmentNumber)
@Nonnull public Integer getInstallmentNumber()
public void setInstallmentNumber(Integer installmentNumber)
public Installment amount(Double amount)
public Installment amount(Integer amount)
public void setAmount(Double amount)
public Installment processDateTime(OffsetDateTime processDateTime)
@Nullable public OffsetDateTime getProcessDateTime()
public void setProcessDateTime(OffsetDateTime processDateTime)
public Installment status(InstallmentStatus status)
@Nonnull public InstallmentStatus getStatus()
public void setStatus(InstallmentStatus status)
public Installment 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 Installmentpublic static Installment fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Installmentpublic String toJson()
Copyright © 2023. All rights reserved.