Package model
Class MerchantsListEmbedded
java.lang.Object
model.MerchantsListEmbedded
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class MerchantsListEmbedded
extends Object
List of `Merchant` objects.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMerchantsItem(Merchant merchantsItem) booleanstatic MerchantsListEmbeddedCreate an instance of MerchantsListEmbedded given an JSON stringGet merchantsinthashCode()voidsetMerchants(Set<Merchant> merchants) toJson()Convert an instance of MerchantsListEmbedded to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MERCHANTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MerchantsListEmbedded
public MerchantsListEmbedded()
-
-
Method Details
-
merchants
-
addMerchantsItem
-
getMerchants
Get merchants- Returns:
- merchants
-
setMerchants
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to MerchantsListEmbedded
-
fromJson
Create an instance of MerchantsListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantsListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to MerchantsListEmbedded
-
toJson
Convert an instance of MerchantsListEmbedded to an JSON string- Returns:
- JSON string
-