Package model
Class CreatePaymentInstrumentToken
java.lang.Object
model.CreatePaymentInstrumentToken
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-23T14:43:42.612114-07:00[America/Los_Angeles]")
public class CreatePaymentInstrumentToken
extends Object
CreatePaymentInstrumentToken
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumType of `Payment Instrument`. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreatePaymentInstrumentTokenCreate an instance of CreatePaymentInstrumentToken given an JSON stringThe ID of the resource.getToken()Get tokengetType()Type of `Payment Instrument`.inthashCode()voidsetIdentity(String identity) voidvoidtoJson()Convert an instance of CreatePaymentInstrumentToken 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_TOKEN
- See Also:
-
SERIALIZED_NAME_IDENTITY
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreatePaymentInstrumentToken
public CreatePaymentInstrumentToken()
-
-
Method Details
-
token
-
getToken
Get token- Returns:
- token
-
setToken
-
identity
-
getIdentity
The ID of the resource.- Returns:
- identity
-
setIdentity
-
type
-
getType
Type of `Payment Instrument`.- Returns:
- type
-
setType
-
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 CreatePaymentInstrumentToken
-
fromJson
Create an instance of CreatePaymentInstrumentToken given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreatePaymentInstrumentToken
- Throws:
IOException- if the JSON string is invalid with respect to CreatePaymentInstrumentToken
-
toJson
Convert an instance of CreatePaymentInstrumentToken to an JSON string- Returns:
- JSON string
-