Package model

Class SubscriptionAmountListEmbedded


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

      • SubscriptionAmountListEmbedded

        public SubscriptionAmountListEmbedded()
    • Method Detail

      • getSubscriptionAmounts

        @Nullable
        public Set<SubscriptionAmount> getSubscriptionAmounts()
        `subscription_amount` objects.
        Returns:
        subscriptionAmounts
      • setSubscriptionAmounts

        public void setSubscriptionAmounts​(Set<SubscriptionAmount> subscriptionAmounts)
      • 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 SubscriptionAmountListEmbedded
      • fromJson

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

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