Package model
Class CreateSubscriptionScheduleRequestPeriodOffset
java.lang.Object
model.CreateSubscriptionScheduleRequestPeriodOffset
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateSubscriptionScheduleRequestPeriodOffset
extends Object
Specifies when the Fee is charged. This field is null for **FIXED_TIME_INTERVAL** subscription schedules
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of CreateSubscriptionScheduleRequestPeriodOffset given an JSON stringgetDay()Specifies the day when the Subscription Schedule starts.getMonth()Specifies the month when the Subscription Schedule starts.inthashCode()voidvoidtoJson()Convert an instance of CreateSubscriptionScheduleRequestPeriodOffset to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DAY
- See Also:
-
SERIALIZED_NAME_MONTH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateSubscriptionScheduleRequestPeriodOffset
public CreateSubscriptionScheduleRequestPeriodOffset()
-
-
Method Details
-
day
-
getDay
Specifies the day when the Subscription Schedule starts.- Returns:
- day
-
setDay
-
month
-
getMonth
Specifies the month when the Subscription Schedule starts. If the Subscription Schedule is **PERIODIC_MONTHLY**, the month field can be left null- Returns:
- month
-
setMonth
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
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 CreateSubscriptionScheduleRequestPeriodOffset
-
fromJson
public static CreateSubscriptionScheduleRequestPeriodOffset fromJson(String jsonString) throws IOException Create an instance of CreateSubscriptionScheduleRequestPeriodOffset given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateSubscriptionScheduleRequestPeriodOffset
- Throws:
IOException- if the JSON string is invalid with respect to CreateSubscriptionScheduleRequestPeriodOffset
-
toJson
Convert an instance of CreateSubscriptionScheduleRequestPeriodOffset to an JSON string- Returns:
- JSON string
-