Package ai.reveng.model
Class CreateCheckoutSessionInputBody
java.lang.Object
ai.reveng.model.CreateCheckoutSessionInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CreateCheckoutSessionInputBody
extends Object
CreateCheckoutSessionInputBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of CreateCheckoutSessionInputBody given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.URL to redirect to on cancel.Price ID from /v3/billing/products.URL to redirect to on success.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCancelUrl(String cancelUrl) voidsetPriceId(String priceId) voidsetSuccessUrl(String successUrl) successUrl(String successUrl) toJson()Convert an instance of CreateCheckoutSessionInputBody to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CANCEL_URL
- See Also:
-
SERIALIZED_NAME_PRICE_ID
- See Also:
-
SERIALIZED_NAME_SUCCESS_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateCheckoutSessionInputBody
public CreateCheckoutSessionInputBody()
-
-
Method Details
-
cancelUrl
-
getCancelUrl
URL to redirect to on cancel.- Returns:
- cancelUrl
-
setCancelUrl
-
priceId
-
getPriceId
Price ID from /v3/billing/products.- Returns:
- priceId
-
setPriceId
-
successUrl
-
getSuccessUrl
URL to redirect to on success.- Returns:
- successUrl
-
setSuccessUrl
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the CreateCheckoutSessionInputBody instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CreateCheckoutSessionInputBody
-
fromJson
Create an instance of CreateCheckoutSessionInputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateCheckoutSessionInputBody
- Throws:
IOException- if the JSON string is invalid with respect to CreateCheckoutSessionInputBody
-
toJson
Convert an instance of CreateCheckoutSessionInputBody to an JSON string- Returns:
- JSON string
-