Package model
Class CreateInstrumentUpdatesRequest
java.lang.Object
model.CreateInstrumentUpdatesRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-23T17:48:42.867219-07:00[America/Los_Angeles]")
public class CreateInstrumentUpdatesRequest
extends Object
CreateInstrumentUpdatesRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of CreateInstrumentUpdatesRequest given an JSON stringgetFile()The binary contents of the file.A JSON string of your request.inthashCode()voidvoidsetRequest(String request) toJson()Convert an instance of CreateInstrumentUpdatesRequest 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_FILE
- See Also:
-
SERIALIZED_NAME_REQUEST
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateInstrumentUpdatesRequest
public CreateInstrumentUpdatesRequest()
-
-
Method Details
-
_file
-
getFile
The binary contents of the file.- Returns:
- _file
-
setFile
-
request
-
getRequest
A JSON string of your request. The JSON object needs to contain the following two fields: - `merchant`: ID of the `Merchant` object that you want to associate with the Account Updater batch for your own accounting purposes. You can only associate one `Merchant` to each - `idemopotency_id`: A randomly generated value that will be associated with this `instrument_update` resource.- Returns:
- request
-
setRequest
-
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 CreateInstrumentUpdatesRequest
-
fromJson
Create an instance of CreateInstrumentUpdatesRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateInstrumentUpdatesRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateInstrumentUpdatesRequest
-
toJson
Convert an instance of CreateInstrumentUpdatesRequest to an JSON string- Returns:
- JSON string
-