Package model
Class InstrumentUpdate1
java.lang.Object
model.InstrumentUpdate1
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class InstrumentUpdate1
extends Object
InstrumentUpdate1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe status of the `instrument_updates` resource and update request. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMessagesItem(String messagesItem) application(String application) createdAt(OffsetDateTime createdAt) booleanstatic InstrumentUpdate1Create an instance of InstrumentUpdate1 given an JSON stringThe ID of the `Application` that created the `instrument_updates`.Timestamp of when the object was created.getId()The ID of the `instrument_updates` resource.getLinks()Get linksThe ID of the resource.Message field that provides additional details.The ID of the resource.getState()The status of the `instrument_updates` resource and update request.A `trace_id` you can use to track the update request end-to-end.Timestamp of when the object was last updated.inthashCode()links(InstrumentUpdate1Links links) paymentInstrument(String paymentInstrument) voidsetApplication(String application) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetLinks(InstrumentUpdate1Links links) voidsetMerchant(String merchant) voidsetMessages(List<String> messages) voidsetPaymentInstrument(String paymentInstrument) voidvoidsetTraceId(String traceId) voidsetUpdatedAt(OffsetDateTime updatedAt) state(InstrumentUpdate1.StateEnum state) toJson()Convert an instance of InstrumentUpdate1 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_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_APPLICATION
- See Also:
-
SERIALIZED_NAME_MERCHANT
- See Also:
-
SERIALIZED_NAME_MESSAGES
- See Also:
-
SERIALIZED_NAME_PAYMENT_INSTRUMENT
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_TRACE_ID
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InstrumentUpdate1
public InstrumentUpdate1()
-
-
Method Details
-
id
-
getId
The ID of the `instrument_updates` 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 `Application` that created the `instrument_updates`.- Returns:
- application
-
setApplication
-
merchant
-
getMerchant
The ID of the resource.- Returns:
- merchant
-
setMerchant
-
messages
-
addMessagesItem
-
getMessages
Message field that provides additional details. This field is typically null.- Returns:
- messages
-
setMessages
-
paymentInstrument
-
getPaymentInstrument
The ID of the resource.- Returns:
- paymentInstrument
-
setPaymentInstrument
-
state
-
getState
The status of the `instrument_updates` resource and update request.- Returns:
- state
-
setState
-
traceId
-
getTraceId
A `trace_id` you can use to track the update request end-to-end.- Returns:
- traceId
-
setTraceId
-
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 InstrumentUpdate1
-
fromJson
Create an instance of InstrumentUpdate1 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InstrumentUpdate1
- Throws:
IOException- if the JSON string is invalid with respect to InstrumentUpdate1
-
toJson
Convert an instance of InstrumentUpdate1 to an JSON string- Returns:
- JSON string
-