Package model
Class PaymentInstrumentToken
- java.lang.Object
-
- model.PaymentInstrumentToken
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentInstrumentToken extends Object
PaymentInstrumentToken
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentInstrumentToken.CustomTypeAdapterFactorystatic classPaymentInstrumentToken.InstrumentTypeEnumGets or Sets instrumentTypestatic classPaymentInstrumentToken.PayloadTypeEnumGets or Sets payloadTypestatic classPaymentInstrumentToken.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_CURRENCYstatic StringSERIALIZED_NAME_FINGERPRINTstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_IDENTITYstatic StringSERIALIZED_NAME_INSTRUMENT_TYPEstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_PAYLOAD_TYPEstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description PaymentInstrumentToken()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CURRENCY
public static final String SERIALIZED_NAME_CURRENCY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FINGERPRINT
public static final String SERIALIZED_NAME_FINGERPRINT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IDENTITY
public static final String SERIALIZED_NAME_IDENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INSTRUMENT_TYPE
public static final String SERIALIZED_NAME_INSTRUMENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYLOAD_TYPE
public static final String SERIALIZED_NAME_PAYLOAD_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
tags
public PaymentInstrumentToken tags(Map<String,String> tags)
-
putTagsItem
public PaymentInstrumentToken putTagsItem(String key, String tagsItem)
-
getTags
@Nullable public Map<String,String> getTags()
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
type
public PaymentInstrumentToken type(PaymentInstrumentToken.TypeEnum type)
-
getType
@Nullable public PaymentInstrumentToken.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(PaymentInstrumentToken.TypeEnum type)
-
id
public PaymentInstrumentToken id(String id)
-
setId
public void setId(String id)
-
createdAt
public PaymentInstrumentToken createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public PaymentInstrumentToken updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
application
public PaymentInstrumentToken application(String application)
-
getApplication
@Nullable public String getApplication()
The ID of the resource.- Returns:
- application
-
setApplication
public void setApplication(String application)
-
currency
public PaymentInstrumentToken currency(Currency currency)
-
setCurrency
public void setCurrency(Currency currency)
-
fingerprint
public PaymentInstrumentToken fingerprint(String fingerprint)
-
setFingerprint
public void setFingerprint(String fingerprint)
-
identity
public PaymentInstrumentToken identity(String identity)
-
setIdentity
public void setIdentity(String identity)
-
instrumentType
public PaymentInstrumentToken instrumentType(PaymentInstrumentToken.InstrumentTypeEnum instrumentType)
-
getInstrumentType
@Nullable public PaymentInstrumentToken.InstrumentTypeEnum getInstrumentType()
Get instrumentType- Returns:
- instrumentType
-
setInstrumentType
public void setInstrumentType(PaymentInstrumentToken.InstrumentTypeEnum instrumentType)
-
payloadType
public PaymentInstrumentToken payloadType(PaymentInstrumentToken.PayloadTypeEnum payloadType)
-
getPayloadType
@Nullable public PaymentInstrumentToken.PayloadTypeEnum getPayloadType()
Get payloadType- Returns:
- payloadType
-
setPayloadType
public void setPayloadType(PaymentInstrumentToken.PayloadTypeEnum payloadType)
-
links
public PaymentInstrumentToken links(PaymentInstrumentTokenLinks links)
-
getLinks
@Nullable public PaymentInstrumentTokenLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(PaymentInstrumentTokenLinks links)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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
public static PaymentInstrumentToken fromJson(String jsonString) throws IOException
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
public String toJson()
Convert an instance of PaymentInstrumentToken to an JSON string- Returns:
- JSON string
-
-