Package model
Class CreateSubscriptionScheduleRequestFixedTimeIntervalOffset
- java.lang.Object
-
- model.CreateSubscriptionScheduleRequestFixedTimeIntervalOffset
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateSubscriptionScheduleRequestFixedTimeIntervalOffset extends Object
Specifies when the Fee is charged
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateSubscriptionScheduleRequestFixedTimeIntervalOffset.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_HOURLY_INTERVALstatic StringSERIALIZED_NAME_INTERVAL_COUNT
-
Constructor Summary
Constructors Constructor Description CreateSubscriptionScheduleRequestFixedTimeIntervalOffset()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CreateSubscriptionScheduleRequestFixedTimeIntervalOffsetfromJson(String jsonString)Create an instance of CreateSubscriptionScheduleRequestFixedTimeIntervalOffset given an JSON stringLonggetHourlyInterval()Hourly increments between recurring chargesLonggetIntervalCount()Number of recurring chargesinthashCode()CreateSubscriptionScheduleRequestFixedTimeIntervalOffsethourlyInterval(Long hourlyInterval)CreateSubscriptionScheduleRequestFixedTimeIntervalOffsetintervalCount(Long intervalCount)voidsetHourlyInterval(Long hourlyInterval)voidsetIntervalCount(Long intervalCount)StringtoJson()Convert an instance of CreateSubscriptionScheduleRequestFixedTimeIntervalOffset to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_HOURLY_INTERVAL
public static final String SERIALIZED_NAME_HOURLY_INTERVAL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INTERVAL_COUNT
public static final String SERIALIZED_NAME_INTERVAL_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
hourlyInterval
public CreateSubscriptionScheduleRequestFixedTimeIntervalOffset hourlyInterval(Long hourlyInterval)
-
getHourlyInterval
@Nonnull public Long getHourlyInterval()
Hourly increments between recurring charges- Returns:
- hourlyInterval
-
setHourlyInterval
public void setHourlyInterval(Long hourlyInterval)
-
intervalCount
public CreateSubscriptionScheduleRequestFixedTimeIntervalOffset intervalCount(Long intervalCount)
-
getIntervalCount
@Nonnull public Long getIntervalCount()
Number of recurring charges- Returns:
- intervalCount
-
setIntervalCount
public void setIntervalCount(Long intervalCount)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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
-
-