@Generated(value="Generated by https://konfigthis.com") public class MerchantRef extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MerchantRef.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CODE |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
| Constructor and Description |
|---|
MerchantRef() |
| Modifier and Type | Method and Description |
|---|---|
MerchantRef |
code(String code) |
MerchantRef |
description(String description) |
boolean |
equals(Object o) |
static MerchantRef |
fromJson(String jsonString)
Create an instance of MerchantRef 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.
|
String |
getCode()
Get code
|
String |
getDescription()
Get description
|
Long |
getId()
Get id
|
String |
getName()
Get name
|
int |
hashCode() |
MerchantRef |
id(Long id) |
MerchantRef |
name(String name) |
MerchantRef |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCode(String code) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setName(String name) |
String |
toJson()
Convert an instance of MerchantRef 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_ID
public static final String SERIALIZED_NAME_CODE
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_NAME
public MerchantRef id(Long id)
public void setId(Long id)
public MerchantRef code(String code)
public void setCode(String code)
public MerchantRef description(String description)
public void setDescription(String description)
public MerchantRef name(String name)
public void setName(String name)
public MerchantRef 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 MerchantRefpublic static MerchantRef fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to MerchantRefpublic String toJson()
Copyright © 2024. All rights reserved.