Package model

Class ListMerchantsQueryParams


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

      • ListMerchantsQueryParams

        public ListMerchantsQueryParams()
    • Method Detail

      • setId

        public void setId​(String id)
      • getCreatedAtGte

        @Nullable
        public String getCreatedAtGte()
        Filter where `created_at` is after the given date.
        Returns:
        createdAtGte
      • setCreatedAtGte

        public void setCreatedAtGte​(String createdAtGte)
      • getCreatedAtLte

        @Nullable
        public String getCreatedAtLte()
        Filter where `created_at` is before the given date.
        Returns:
        createdAtLte
      • setCreatedAtLte

        public void setCreatedAtLte​(String createdAtLte)
      • getAfterCursor

        @Nullable
        public String getAfterCursor()
        Return every resource created after the cursor value.
        Returns:
        afterCursor
      • setAfterCursor

        public void setAfterCursor​(String afterCursor)
      • getBeforeCursor

        @Nullable
        public String getBeforeCursor()
        Return every resource created before the cursor value.
        Returns:
        beforeCursor
      • setBeforeCursor

        public void setBeforeCursor​(String beforeCursor)
      • getLimit

        @Nullable
        public Long getLimit()
        The numbers of items to return.
        Returns:
        limit
      • setLimit

        public void setLimit​(Long limit)
      • getSort

        @Nullable
        public String getSort()
        Specify key to be used for sorting the collection.
        Returns:
        sort
      • setSort

        public void setSort​(String sort)
      • 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 ListMerchantsQueryParams
      • fromJson

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

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