Package model

Class CreateInstrumentUpdateRequest


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class CreateInstrumentUpdateRequest
    extends Object
    CreateInstrumentUpdateRequest
    • Constructor Detail

      • CreateInstrumentUpdateRequest

        public CreateInstrumentUpdateRequest()
    • Method Detail

      • getFile

        @Nullable
        public File getFile()
        The binary contents of the file.
        Returns:
        _file
      • setFile

        public void setFile​(File _file)
      • getRequest

        @Nullable
        public String 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

        public void setRequest​(String request)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        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 CreateInstrumentUpdateRequest
      • fromJson

        public static CreateInstrumentUpdateRequest fromJson​(String jsonString)
                                                      throws IOException
        Create an instance of CreateInstrumentUpdateRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CreateInstrumentUpdateRequest
        Throws:
        IOException - if the JSON string is invalid with respect to CreateInstrumentUpdateRequest
      • toJson

        public String toJson()
        Convert an instance of CreateInstrumentUpdateRequest to an JSON string
        Returns:
        JSON string