Package model
Class SubscriptionSchedule
java.lang.Object
model.SubscriptionSchedule
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class SubscriptionSchedule
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum`Subscription Schedule` type.static enum`Subscription Schedule` type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanfixedTimeIntervalOffset(SubscriptionScheduleFixedTimeIntervalOffset fixedTimeIntervalOffset) static SubscriptionScheduleCreate an instance of SubscriptionSchedule given an JSON stringTimestamp of when the object was created.`User` ID who created the schedule.Get fixedTimeIntervalOffsetgetId()ID of the `Subscription Schedule`.`Subscription Schedule` type.getLinks()Get linksHuman readable name.Get periodOffset`Subscription Schedule` type.getTags()Key value pair for annotating custom meta data (e.g.Timestamp of when the object was last updated.inthashCode()lineItemType(SubscriptionSchedule.LineItemTypeEnum lineItemType) links(SubscriptionScheduleLinks links) periodOffset(SubscriptionSchedulePeriodOffset periodOffset) putTagsItem(String key, String tagsItem) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidsetFixedTimeIntervalOffset(SubscriptionScheduleFixedTimeIntervalOffset fixedTimeIntervalOffset) voidvoidsetLineItemType(SubscriptionSchedule.LineItemTypeEnum lineItemType) voidvoidsetNickname(String nickname) voidsetPeriodOffset(SubscriptionSchedulePeriodOffset periodOffset) voidsetSubscriptionType(SubscriptionSchedule.SubscriptionTypeEnum subscriptionType) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) subscriptionType(SubscriptionSchedule.SubscriptionTypeEnum subscriptionType) toJson()Convert an instance of SubscriptionSchedule to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_FIXED_TIME_INTERVAL_OFFSET
- See Also:
-
SERIALIZED_NAME_LINE_ITEM_TYPE
- See Also:
-
SERIALIZED_NAME_NICKNAME
- See Also:
-
SERIALIZED_NAME_PERIOD_OFFSET
- See Also:
-
SERIALIZED_NAME_SUBSCRIPTION_TYPE
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SubscriptionSchedule
public SubscriptionSchedule()
-
-
Method Details
-
id
-
getId
ID of the `Subscription Schedule`.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
createdBy
-
getCreatedBy
`User` ID who created the schedule.- Returns:
- createdBy
-
setCreatedBy
-
fixedTimeIntervalOffset
public SubscriptionSchedule fixedTimeIntervalOffset(SubscriptionScheduleFixedTimeIntervalOffset fixedTimeIntervalOffset) -
getFixedTimeIntervalOffset
Get fixedTimeIntervalOffset- Returns:
- fixedTimeIntervalOffset
-
setFixedTimeIntervalOffset
public void setFixedTimeIntervalOffset(SubscriptionScheduleFixedTimeIntervalOffset fixedTimeIntervalOffset) -
lineItemType
-
getLineItemType
`Subscription Schedule` type. For subscriptions, the type is **FEE**.- Returns:
- lineItemType
-
setLineItemType
-
nickname
-
getNickname
Human readable name.- Returns:
- nickname
-
setNickname
-
periodOffset
-
getPeriodOffset
Get periodOffset- Returns:
- periodOffset
-
setPeriodOffset
-
subscriptionType
public SubscriptionSchedule subscriptionType(SubscriptionSchedule.SubscriptionTypeEnum subscriptionType) -
getSubscriptionType
`Subscription Schedule` type.- Returns:
- subscriptionType
-
setSubscriptionType
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
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 SubscriptionSchedule
-
fromJson
Create an instance of SubscriptionSchedule given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubscriptionSchedule
- Throws:
IOException- if the JSON string is invalid with respect to SubscriptionSchedule
-
toJson
Convert an instance of SubscriptionSchedule to an JSON string- Returns:
- JSON string
-