@Generated(value="Generated by https://konfigthis.com") public class RefundSummary extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RefundSummary.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FAILED_AMOUNT |
static String |
SERIALIZED_NAME_PENDING_AMOUNT |
static String |
SERIALIZED_NAME_SUCCEEDED_AMOUNT |
static String |
SERIALIZED_NAME_TOTAL_AMOUNT |
| Constructor and Description |
|---|
RefundSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
RefundSummary |
failedAmount(Double failedAmount) |
RefundSummary |
failedAmount(Integer failedAmount) |
static RefundSummary |
fromJson(String jsonString)
Create an instance of RefundSummary 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 |
getFailedAmount()
Get failedAmount
|
Double |
getPendingAmount()
Get pendingAmount
|
Double |
getSucceededAmount()
Get succeededAmount
|
Double |
getTotalAmount()
Get totalAmount
|
int |
hashCode() |
RefundSummary |
pendingAmount(Double pendingAmount) |
RefundSummary |
pendingAmount(Integer pendingAmount) |
RefundSummary |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFailedAmount(Double failedAmount) |
void |
setPendingAmount(Double pendingAmount) |
void |
setSucceededAmount(Double succeededAmount) |
void |
setTotalAmount(Double totalAmount) |
RefundSummary |
succeededAmount(Double succeededAmount) |
RefundSummary |
succeededAmount(Integer succeededAmount) |
String |
toJson()
Convert an instance of RefundSummary to an JSON string
|
String |
toString() |
RefundSummary |
totalAmount(Double totalAmount) |
RefundSummary |
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_TOTAL_AMOUNT
public static final String SERIALIZED_NAME_FAILED_AMOUNT
public static final String SERIALIZED_NAME_SUCCEEDED_AMOUNT
public static final String SERIALIZED_NAME_PENDING_AMOUNT
public RefundSummary totalAmount(Double totalAmount)
public RefundSummary totalAmount(Integer totalAmount)
public void setTotalAmount(Double totalAmount)
public RefundSummary failedAmount(Double failedAmount)
public RefundSummary failedAmount(Integer failedAmount)
public void setFailedAmount(Double failedAmount)
public RefundSummary succeededAmount(Double succeededAmount)
public RefundSummary succeededAmount(Integer succeededAmount)
@Nullable public Double getSucceededAmount()
public void setSucceededAmount(Double succeededAmount)
public RefundSummary pendingAmount(Double pendingAmount)
public RefundSummary pendingAmount(Integer pendingAmount)
@Nullable public Double getPendingAmount()
public void setPendingAmount(Double pendingAmount)
public RefundSummary 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 RefundSummarypublic static RefundSummary fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to RefundSummarypublic String toJson()
Copyright © 2023. All rights reserved.