Package model

Class SubscriptionScheduleFixedTimeIntervalOffset


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class SubscriptionScheduleFixedTimeIntervalOffset
    extends Object
    Specifies when the `Fee` is charged.
    • Constructor Detail

      • SubscriptionScheduleFixedTimeIntervalOffset

        public SubscriptionScheduleFixedTimeIntervalOffset()
    • Method Detail

      • getHourlyInterval

        @Nullable
        public Long getHourlyInterval()
        Hourly increments between recurring charges.
        Returns:
        hourlyInterval
      • setHourlyInterval

        public void setHourlyInterval​(Long hourlyInterval)
      • getIntervalCount

        @Nullable
        public Long getIntervalCount()
        Number of recurring charges.
        Returns:
        intervalCount
      • setIntervalCount

        public void setIntervalCount​(Long intervalCount)
      • 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 SubscriptionScheduleFixedTimeIntervalOffset
      • fromJson

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

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