Package model

Class MerchantsListEmbedded


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class MerchantsListEmbedded
    extends Object
    List of `Merchant` objects.
    • Constructor Detail

      • MerchantsListEmbedded

        public MerchantsListEmbedded()
    • Method Detail

      • getMerchants

        @Nullable
        public Set<Merchant> getMerchants()
        `Merchant` objects.
        Returns:
        merchants
      • setMerchants

        public void setMerchants​(Set<Merchant> merchants)
      • 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 MerchantsListEmbedded
      • fromJson

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

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