Package model

Class SubscriptionEnrollmentLinksAmounts


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class SubscriptionEnrollmentLinksAmounts
    extends Object
    Link to the `subscription_amounts` used in the request.
    • Constructor Detail

      • SubscriptionEnrollmentLinksAmounts

        public SubscriptionEnrollmentLinksAmounts()
    • Method Detail

      • setHref

        public void setHref​(String href)
      • 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 SubscriptionEnrollmentLinksAmounts
      • fromJson

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

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