Package model

Class UpdateMerchantRequest

java.lang.Object
model.UpdateMerchantRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]") public class UpdateMerchantRequest extends Object
UpdateMerchantRequest
  • Field Details

    • SERIALIZED_NAME_TAGS

      public static final String SERIALIZED_NAME_TAGS
      See Also:
    • SERIALIZED_NAME_LEVEL_TWO_LEVEL_THREE_DATA_ENABLED

      public static final String SERIALIZED_NAME_LEVEL_TWO_LEVEL_THREE_DATA_ENABLED
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • UpdateMerchantRequest

      public UpdateMerchantRequest()
  • Method Details

    • tags

      public UpdateMerchantRequest tags(Map<String,String> tags)
    • putTagsItem

      public UpdateMerchantRequest putTagsItem(String key, String tagsItem)
    • getTags

      @Nullable public Map<String,String> getTags()
      Key value pair for annotating custom meta data (e.g. order numbers).
      Returns:
      tags
    • setTags

      public void setTags(Map<String,String> tags)
    • levelTwoLevelThreeDataEnabled

      public UpdateMerchantRequest levelTwoLevelThreeDataEnabled(Boolean levelTwoLevelThreeDataEnabled)
    • getLevelTwoLevelThreeDataEnabled

      @Nullable public Boolean getLevelTwoLevelThreeDataEnabled()
      Set to True to enable Merchant for Level 2 and Level 3 processing. Default value is false.
      Returns:
      levelTwoLevelThreeDataEnabled
    • setLevelTwoLevelThreeDataEnabled

      public void setLevelTwoLevelThreeDataEnabled(Boolean levelTwoLevelThreeDataEnabled)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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 UpdateMerchantRequest
    • fromJson

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

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