Package model
Class Verification
java.lang.Object
model.Verification
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class Verification
extends Object
Verification
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe status of the `Verification` request. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMessagesItem(Object messagesItem) application(String application) createdAt(OffsetDateTime createdAt) booleanstatic VerificationCreate an instance of Verification given an JSON stringID of the `Application` the `Merchant` was created under.Timestamp of when the object was created.getId()The ID of the `Verification` attempt (begins with `VIXXX`).ID of the `Identity` that created the `Merchant`.getLinks()Get linksID of the `Merchant` resource.ID of the `Identity` associated with the `Merchant`.Provides additional details about the verification (e.g why it failed).The `Payment Instrument` that'll be used to settle the `Merchant's` processed funds.Name of the verification processor.getRaw()Raw response from the processorgetState()The status of the `Verification` request.getTags()Key value pair for annotating custom meta data (e.g.Trace ID of the `Verification`.Timestamp of when the object was last updated.inthashCode()links(DisputeEvidenceLinks links) merchantIdentity(String merchantIdentity) paymentInstrument(String paymentInstrument) putTagsItem(String key, String tagsItem) voidsetApplication(String application) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetIdentity(String identity) voidsetLinks(DisputeEvidenceLinks links) voidsetMerchant(String merchant) voidsetMerchantIdentity(String merchantIdentity) voidsetMessages(List<Object> messages) voidsetPaymentInstrument(String paymentInstrument) voidsetProcessor(String processor) voidvoidsetState(Verification.StateEnum state) voidvoidsetTraceId(String traceId) voidsetUpdatedAt(OffsetDateTime updatedAt) state(Verification.StateEnum state) toJson()Convert an instance of Verification 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_APPLICATION
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_MESSAGES
- See Also:
-
SERIALIZED_NAME_RAW
- See Also:
-
SERIALIZED_NAME_PROCESSOR
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_TRACE_ID
- See Also:
-
SERIALIZED_NAME_PAYMENT_INSTRUMENT
- See Also:
-
SERIALIZED_NAME_MERCHANT
- See Also:
-
SERIALIZED_NAME_IDENTITY
- See Also:
-
SERIALIZED_NAME_MERCHANT_IDENTITY
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Verification
public Verification()
-
-
Method Details
-
id
-
getId
The ID of the `Verification` attempt (begins with `VIXXX`).- Returns:
- id
-
setId
-
application
-
getApplication
ID of the `Application` the `Merchant` was created under.- Returns:
- application
-
setApplication
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
messages
-
addMessagesItem
-
getMessages
Provides additional details about the verification (e.g why it failed). This field is usually **null**.- Returns:
- messages
-
setMessages
-
raw
-
getRaw
Raw response from the processor- Returns:
- raw
-
setRaw
-
processor
-
getProcessor
Name of the verification processor.- Returns:
- processor
-
setProcessor
-
state
-
getState
The status of the `Verification` request.- Returns:
- state
-
setState
-
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
-
traceId
-
getTraceId
Trace ID of the `Verification`. The processor sends back the `trace_id` so you can track the verification end-to-end.- Returns:
- traceId
-
setTraceId
-
paymentInstrument
-
getPaymentInstrument
The `Payment Instrument` that'll be used to settle the `Merchant's` processed funds.- Returns:
- paymentInstrument
-
setPaymentInstrument
-
merchant
-
getMerchant
ID of the `Merchant` resource.- Returns:
- merchant
-
setMerchant
-
identity
-
getIdentity
ID of the `Identity` that created the `Merchant`.- Returns:
- identity
-
setIdentity
-
merchantIdentity
-
getMerchantIdentity
ID of the `Identity` associated with the `Merchant`.- Returns:
- merchantIdentity
-
setMerchantIdentity
-
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 Verification
-
fromJson
Create an instance of Verification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Verification
- Throws:
IOException- if the JSON string is invalid with respect to Verification
-
toJson
Convert an instance of Verification to an JSON string- Returns:
- JSON string
-