Package model

Class CreateSubscriptionScheduleRequestFixedTimeIntervalOffset


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

      • CreateSubscriptionScheduleRequestFixedTimeIntervalOffset

        public CreateSubscriptionScheduleRequestFixedTimeIntervalOffset()
    • Method Detail

      • getHourlyInterval

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

        public void setHourlyInterval​(Long hourlyInterval)
      • getIntervalCount

        @Nonnull
        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 CreateSubscriptionScheduleRequestFixedTimeIntervalOffset
      • fromJson

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

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