Package model
Class CreateSubscriptionAmountRequest
java.lang.Object
model.CreateSubscriptionAmountRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateSubscriptionAmountRequest
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamountType(String amountType) booleanfeeAmountData(CreateSubscriptionAmountRequestFeeAmountData feeAmountData) Create an instance of CreateSubscriptionAmountRequest given an JSON string`Subscription Amount` type.Get feeAmountDataHuman readable name.getTags()Key value pair for annotating custom meta data (e.g.inthashCode()putTagsItem(String key, String tagsItem) voidsetAmountType(String amountType) voidsetFeeAmountData(CreateSubscriptionAmountRequestFeeAmountData feeAmountData) voidsetNickname(String nickname) voidtoJson()Convert an instance of CreateSubscriptionAmountRequest 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_AMOUNT_TYPE
- See Also:
-
SERIALIZED_NAME_FEE_AMOUNT_DATA
- See Also:
-
SERIALIZED_NAME_NICKNAME
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateSubscriptionAmountRequest
public CreateSubscriptionAmountRequest()
-
-
Method Details
-
amountType
-
getAmountType
`Subscription Amount` type. For subscriptions, the type is **FEE**.- Returns:
- amountType
-
setAmountType
-
feeAmountData
public CreateSubscriptionAmountRequest feeAmountData(CreateSubscriptionAmountRequestFeeAmountData feeAmountData) -
getFeeAmountData
Get feeAmountData- Returns:
- feeAmountData
-
setFeeAmountData
-
nickname
-
getNickname
Human readable name.- Returns:
- nickname
-
setNickname
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
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 CreateSubscriptionAmountRequest
-
fromJson
Create an instance of CreateSubscriptionAmountRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateSubscriptionAmountRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateSubscriptionAmountRequest
-
toJson
Convert an instance of CreateSubscriptionAmountRequest to an JSON string- Returns:
- JSON string
-