@Generated(value="Generated by https://konfigthis.com") public class RefundModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RefundModel.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREDIT_REFUND_AMOUNT |
static String |
SERIALIZED_NAME_NON_CREDIT_REFUND_AMOUNT |
static String |
SERIALIZED_NAME_REFUND_ID |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_SUBMIT_DATE |
static String |
SERIALIZED_NAME_TOTAL_AMOUNT |
| Constructor and Description |
|---|
RefundModel() |
| Modifier and Type | Method and Description |
|---|---|
RefundModel |
creditRefundAmount(Double creditRefundAmount) |
RefundModel |
creditRefundAmount(Integer creditRefundAmount) |
boolean |
equals(Object o) |
static RefundModel |
fromJson(String jsonString)
Create an instance of RefundModel 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 |
getCreditRefundAmount()
Get creditRefundAmount
|
Double |
getNonCreditRefundAmount()
Get nonCreditRefundAmount
|
String |
getRefundId()
Get refundId
|
RefundStatus |
getStatus()
Get status
|
OffsetDateTime |
getSubmitDate()
Get submitDate
|
Double |
getTotalAmount()
Get totalAmount
|
int |
hashCode() |
RefundModel |
nonCreditRefundAmount(Double nonCreditRefundAmount) |
RefundModel |
nonCreditRefundAmount(Integer nonCreditRefundAmount) |
RefundModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RefundModel |
refundId(String refundId) |
void |
setCreditRefundAmount(Double creditRefundAmount) |
void |
setNonCreditRefundAmount(Double nonCreditRefundAmount) |
void |
setRefundId(String refundId) |
void |
setStatus(RefundStatus status) |
void |
setSubmitDate(OffsetDateTime submitDate) |
void |
setTotalAmount(Double totalAmount) |
RefundModel |
status(RefundStatus status) |
RefundModel |
submitDate(OffsetDateTime submitDate) |
String |
toJson()
Convert an instance of RefundModel to an JSON string
|
String |
toString() |
RefundModel |
totalAmount(Double totalAmount) |
RefundModel |
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_REFUND_ID
public static final String SERIALIZED_NAME_SUBMIT_DATE
public static final String SERIALIZED_NAME_TOTAL_AMOUNT
public static final String SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_NON_CREDIT_REFUND_AMOUNT
public static final String SERIALIZED_NAME_CREDIT_REFUND_AMOUNT
public RefundModel refundId(String refundId)
public void setRefundId(String refundId)
public RefundModel submitDate(OffsetDateTime submitDate)
@Nonnull public OffsetDateTime getSubmitDate()
public void setSubmitDate(OffsetDateTime submitDate)
public RefundModel totalAmount(Double totalAmount)
public RefundModel totalAmount(Integer totalAmount)
public void setTotalAmount(Double totalAmount)
public RefundModel status(RefundStatus status)
@Nonnull public RefundStatus getStatus()
public void setStatus(RefundStatus status)
public RefundModel nonCreditRefundAmount(Double nonCreditRefundAmount)
public RefundModel nonCreditRefundAmount(Integer nonCreditRefundAmount)
@Nonnull public Double getNonCreditRefundAmount()
public void setNonCreditRefundAmount(Double nonCreditRefundAmount)
public RefundModel creditRefundAmount(Double creditRefundAmount)
public RefundModel creditRefundAmount(Integer creditRefundAmount)
@Nonnull public Double getCreditRefundAmount()
public void setCreditRefundAmount(Double creditRefundAmount)
public RefundModel 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 RefundModelpublic static RefundModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to RefundModelpublic String toJson()
Copyright © 2023. All rights reserved.