Package model
Class CreateSubscriptionScheduleRequestPeriodOffset
- java.lang.Object
-
- model.CreateSubscriptionScheduleRequestPeriodOffset
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") 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 Classes Modifier and Type Class Description static classCreateSubscriptionScheduleRequestPeriodOffset.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DAYstatic StringSERIALIZED_NAME_MONTH
-
Constructor Summary
Constructors Constructor Description CreateSubscriptionScheduleRequestPeriodOffset()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSubscriptionScheduleRequestPeriodOffsetday(Long day)booleanequals(Object o)static CreateSubscriptionScheduleRequestPeriodOffsetfromJson(String jsonString)Create an instance of CreateSubscriptionScheduleRequestPeriodOffset given an JSON stringLonggetDay()Specifies the day when the Subscription Schedule starts.LonggetMonth()Specifies the month when the Subscription Schedule starts.inthashCode()CreateSubscriptionScheduleRequestPeriodOffsetmonth(Long month)voidsetDay(Long day)voidsetMonth(Long month)StringtoJson()Convert an instance of CreateSubscriptionScheduleRequestPeriodOffset 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_DAY
public static final String SERIALIZED_NAME_DAY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MONTH
public static final String SERIALIZED_NAME_MONTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
day
public CreateSubscriptionScheduleRequestPeriodOffset day(Long day)
-
getDay
@Nullable public Long getDay()
Specifies the day when the Subscription Schedule starts.- Returns:
- day
-
setDay
public void setDay(Long day)
-
month
public CreateSubscriptionScheduleRequestPeriodOffset month(Long month)
-
getMonth
@Nullable public Long 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
public void setMonth(Long month)
-
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 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
public String toJson()
Convert an instance of CreateSubscriptionScheduleRequestPeriodOffset to an JSON string- Returns:
- JSON string
-
-