Package model
Class PaymentInstrumentToken
java.lang.Object
model.PaymentInstrumentToken
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class PaymentInstrumentToken
extends Object
PaymentInstrumentToken
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets instrumentTypestatic enumGets or Sets payloadTypestatic enumGets or Sets type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) createdAt(OffsetDateTime createdAt) booleanfingerprint(String fingerprint) static PaymentInstrumentTokenCreate an instance of PaymentInstrumentToken given an JSON stringThe ID of the resource.Timestamp of when the object was created.Get currencyGet fingerprintgetId()The ID of the resource.The ID of the resource.Get instrumentTypegetLinks()Get linksGet payloadTypegetTags()Key value pair for annotating custom meta data (e.g.getType()Get typeTimestamp of when the object was last updated.inthashCode()instrumentType(PaymentInstrumentToken.InstrumentTypeEnum instrumentType) links(PaymentInstrumentTokenLinks links) payloadType(PaymentInstrumentToken.PayloadTypeEnum payloadType) putTagsItem(String key, String tagsItem) voidsetApplication(String application) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCurrency(Currency currency) voidsetFingerprint(String fingerprint) voidvoidsetIdentity(String identity) voidsetInstrumentType(PaymentInstrumentToken.InstrumentTypeEnum instrumentType) voidvoidsetPayloadType(PaymentInstrumentToken.PayloadTypeEnum payloadType) voidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of PaymentInstrumentToken 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_TAGS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_APPLICATION
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_FINGERPRINT
- See Also:
-
SERIALIZED_NAME_IDENTITY
- See Also:
-
SERIALIZED_NAME_INSTRUMENT_TYPE
- See Also:
-
SERIALIZED_NAME_PAYLOAD_TYPE
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PaymentInstrumentToken
public PaymentInstrumentToken()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
type
-
getType
Get type- Returns:
- type
-
setType
-
id
-
getId
The ID of the resource.- 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
-
application
-
getApplication
The ID of the resource.- Returns:
- application
-
setApplication
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
fingerprint
-
getFingerprint
Get fingerprint- Returns:
- fingerprint
-
setFingerprint
-
identity
-
getIdentity
The ID of the resource.- Returns:
- identity
-
setIdentity
-
instrumentType
public PaymentInstrumentToken instrumentType(PaymentInstrumentToken.InstrumentTypeEnum instrumentType) -
getInstrumentType
Get instrumentType- Returns:
- instrumentType
-
setInstrumentType
-
payloadType
-
getPayloadType
Get payloadType- Returns:
- payloadType
-
setPayloadType
-
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 PaymentInstrumentToken
-
fromJson
Create an instance of PaymentInstrumentToken given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrumentToken
- Throws:
IOException- if the JSON string is invalid with respect to PaymentInstrumentToken
-
toJson
Convert an instance of PaymentInstrumentToken to an JSON string- Returns:
- JSON string
-