Package model
Class Verification
- java.lang.Object
-
- model.Verification
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Verification extends Object
Verification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerification.CustomTypeAdapterFactorystatic classVerification.StateEnumThe status of the `Verification` request.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATIONstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_IDENTITYstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_MERCHANTstatic StringSERIALIZED_NAME_MERCHANT_IDENTITYstatic StringSERIALIZED_NAME_MESSAGESstatic StringSERIALIZED_NAME_PAYMENT_INSTRUMENTstatic StringSERIALIZED_NAME_PROCESSORstatic StringSERIALIZED_NAME_RAWstatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_TRACE_IDstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description Verification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VerificationaddMessagesItem(Object messagesItem)Verificationapplication(String application)VerificationcreatedAt(OffsetDateTime createdAt)booleanequals(Object o)static VerificationfromJson(String jsonString)Create an instance of Verification given an JSON stringStringgetApplication()ID of the `Application` the `Merchant` was created under.OffsetDateTimegetCreatedAt()Timestamp of when the object was created.StringgetId()The ID of the `Verification` attempt (begins with `VIXXX`).StringgetIdentity()ID of the `Identity` that created the `Merchant`.VerificationLinksgetLinks()Get linksStringgetMerchant()ID of the `Merchant` resource.StringgetMerchantIdentity()ID of the `Identity` associated with the `Merchant`.List<Object>getMessages()Provides additional details about the verification (e.g why it failed).StringgetPaymentInstrument()The `Payment Instrument` that'll be used to settle the `Merchant's` processed funds.StringgetProcessor()Name of the verification processor.ObjectgetRaw()Raw response from the processor.Verification.StateEnumgetState()The status of the `Verification` request.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.StringgetTraceId()Trace ID of the `Verification`.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.inthashCode()Verificationid(String id)Verificationidentity(String identity)Verificationlinks(VerificationLinks links)Verificationmerchant(String merchant)VerificationmerchantIdentity(String merchantIdentity)Verificationmessages(List<Object> messages)VerificationpaymentInstrument(String paymentInstrument)Verificationprocessor(String processor)VerificationputTagsItem(String key, String tagsItem)Verificationraw(Object raw)voidsetApplication(String application)voidsetCreatedAt(OffsetDateTime createdAt)voidsetId(String id)voidsetIdentity(String identity)voidsetLinks(VerificationLinks links)voidsetMerchant(String merchant)voidsetMerchantIdentity(String merchantIdentity)voidsetMessages(List<Object> messages)voidsetPaymentInstrument(String paymentInstrument)voidsetProcessor(String processor)voidsetRaw(Object raw)voidsetState(Verification.StateEnum state)voidsetTags(Map<String,String> tags)voidsetTraceId(String traceId)voidsetUpdatedAt(OffsetDateTime updatedAt)Verificationstate(Verification.StateEnum state)Verificationtags(Map<String,String> tags)StringtoJson()Convert an instance of Verification to an JSON stringStringtoString()VerificationtraceId(String traceId)VerificationupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
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_IDENTITY
public static final String SERIALIZED_NAME_IDENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT
public static final String SERIALIZED_NAME_MERCHANT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_IDENTITY
public static final String SERIALIZED_NAME_MERCHANT_IDENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGES
public static final String SERIALIZED_NAME_MESSAGES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYMENT_INSTRUMENT
public static final String SERIALIZED_NAME_PAYMENT_INSTRUMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESSOR
public static final String SERIALIZED_NAME_PROCESSOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RAW
public static final String SERIALIZED_NAME_RAW
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRACE_ID
public static final String SERIALIZED_NAME_TRACE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public Verification id(String id)
-
getId
@Nullable public String getId()
The ID of the `Verification` attempt (begins with `VIXXX`).- Returns:
- id
-
setId
public void setId(String id)
-
createdAt
public Verification 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 Verification 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 Verification application(String application)
-
getApplication
@Nullable public String getApplication()
ID of the `Application` the `Merchant` was created under.- Returns:
- application
-
setApplication
public void setApplication(String application)
-
identity
public Verification identity(String identity)
-
getIdentity
@Nullable public String getIdentity()
ID of the `Identity` that created the `Merchant`.- Returns:
- identity
-
setIdentity
public void setIdentity(String identity)
-
merchant
public Verification merchant(String merchant)
-
setMerchant
public void setMerchant(String merchant)
-
merchantIdentity
public Verification merchantIdentity(String merchantIdentity)
-
getMerchantIdentity
@Nullable public String getMerchantIdentity()
ID of the `Identity` associated with the `Merchant`.- Returns:
- merchantIdentity
-
setMerchantIdentity
public void setMerchantIdentity(String merchantIdentity)
-
messages
public Verification messages(List<Object> messages)
-
addMessagesItem
public Verification addMessagesItem(Object messagesItem)
-
getMessages
@Nullable public List<Object> getMessages()
Provides additional details about the verification (e.g why it failed). This field is usually **null**.- Returns:
- messages
-
paymentInstrument
public Verification paymentInstrument(String paymentInstrument)
-
getPaymentInstrument
@Nullable public String getPaymentInstrument()
The `Payment Instrument` that'll be used to settle the `Merchant's` processed funds.- Returns:
- paymentInstrument
-
setPaymentInstrument
public void setPaymentInstrument(String paymentInstrument)
-
processor
public Verification processor(String processor)
-
getProcessor
@Nullable public String getProcessor()
Name of the verification processor.- Returns:
- processor
-
setProcessor
public void setProcessor(String processor)
-
raw
public Verification raw(Object raw)
-
setRaw
public void setRaw(Object raw)
-
state
public Verification state(Verification.StateEnum state)
-
getState
@Nullable public Verification.StateEnum getState()
The status of the `Verification` request.- Returns:
- state
-
setState
public void setState(Verification.StateEnum state)
-
tags
public Verification tags(Map<String,String> tags)
-
putTagsItem
public Verification 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
-
traceId
public Verification traceId(String traceId)
-
getTraceId
@Nullable public String 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
public void setTraceId(String traceId)
-
links
public Verification links(VerificationLinks links)
-
getLinks
@Nullable public VerificationLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(VerificationLinks 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 Verification
-
fromJson
public static Verification fromJson(String jsonString) throws IOException
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
public String toJson()
Convert an instance of Verification to an JSON string- Returns:
- JSON string
-
-