Package model
Class CreateSettlementRequest
java.lang.Object
model.CreateSettlementRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateSettlementRequest
extends Object
CreateSettlementRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateSettlementRequestCreate an instance of CreateSettlementRequest given an JSON stringGet currencyIf the `Application` has more than one associated `processor`, this field is required.If the `Application` has more than one associated `processor`, it's required when creating `settlements` to include the `processor` (e.g.getTags()Key value pair for annotating custom meta data (e.g.inthashCode()merchantId(String merchantId) putTagsItem(String key, String tagsItem) voidsetCurrency(Currency currency) voidsetMerchantId(String merchantId) voidsetProcessor(String processor) voidtoJson()Convert an instance of CreateSettlementRequest 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_CURRENCY
- See Also:
-
SERIALIZED_NAME_PROCESSOR
- See Also:
-
SERIALIZED_NAME_MERCHANT_ID
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateSettlementRequest
public CreateSettlementRequest()
-
-
Method Details
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
processor
-
getProcessor
If the `Application` has more than one associated `processor`, it's required when creating `settlements` to include the `processor` (e.g. DUMMY_V1).- Returns:
- processor
-
setProcessor
-
merchantId
-
getMerchantId
If the `Application` has more than one associated `processor`, this field is required.- Returns:
- merchantId
-
setMerchantId
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
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 CreateSettlementRequest
-
fromJson
Create an instance of CreateSettlementRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateSettlementRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateSettlementRequest
-
toJson
Convert an instance of CreateSettlementRequest to an JSON string- Returns:
- JSON string
-