Package model
Class SubscriptionAmount
java.lang.Object
model.SubscriptionAmount
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class SubscriptionAmount
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum`Subscription Amount` type.static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamountType(SubscriptionAmount.AmountTypeEnum amountType) createdAt(OffsetDateTime createdAt) booleanfeeAmountData(SubscriptionAmountFeeAmountData feeAmountData) static SubscriptionAmountCreate an instance of SubscriptionAmount given an JSON string`Subscription Amount` type.Timestamp of when the object was created.The ID of the `User` that created the `Subscription Amount`.Get feeAmountDatagetId()ID of the `Subscription Amount`.getLinks()Get linksHuman readable name.ID of the `Subscription Schedule`.getTags()Key value pair for annotating custom meta data (e.g.Timestamp of when the object was last updated.inthashCode()links(SubscriptionAmountLinks links) putTagsItem(String key, String tagsItem) voidsetAmountType(SubscriptionAmount.AmountTypeEnum amountType) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidsetFeeAmountData(SubscriptionAmountFeeAmountData feeAmountData) voidvoidsetLinks(SubscriptionAmountLinks links) voidsetNickname(String nickname) voidsetSubscriptionSchedule(String subscriptionSchedule) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) subscriptionSchedule(String subscriptionSchedule) toJson()Convert an instance of SubscriptionAmount 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_AMOUNT_TYPE
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_FEE_AMOUNT_DATA
- See Also:
-
SERIALIZED_NAME_NICKNAME
- See Also:
-
SERIALIZED_NAME_SUBSCRIPTION_SCHEDULE
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SubscriptionAmount
public SubscriptionAmount()
-
-
Method Details
-
id
-
getId
ID of the `Subscription Amount`.- 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
-
amountType
-
getAmountType
`Subscription Amount` type. The only type supported as of now is **FEE**.- Returns:
- amountType
-
setAmountType
-
createdBy
-
getCreatedBy
The ID of the `User` that created the `Subscription Amount`.- Returns:
- createdBy
-
setCreatedBy
-
feeAmountData
-
getFeeAmountData
Get feeAmountData- Returns:
- feeAmountData
-
setFeeAmountData
-
nickname
-
getNickname
Human readable name.- Returns:
- nickname
-
setNickname
-
subscriptionSchedule
-
getSubscriptionSchedule
ID of the `Subscription Schedule`.- Returns:
- subscriptionSchedule
-
setSubscriptionSchedule
-
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 SubscriptionAmount
-
fromJson
Create an instance of SubscriptionAmount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubscriptionAmount
- Throws:
IOException- if the JSON string is invalid with respect to SubscriptionAmount
-
toJson
Convert an instance of SubscriptionAmount to an JSON string- Returns:
- JSON string
-