Package model
Class CreateVerificationRequest
- java.lang.Object
-
- model.CreateVerificationRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateVerificationRequest extends Object
CreateVerificationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateVerificationRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDENTITYstatic StringSERIALIZED_NAME_MERCHANTstatic StringSERIALIZED_NAME_PROCESSORstatic StringSERIALIZED_NAME_TAGS
-
Constructor Summary
Constructors Constructor Description CreateVerificationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CreateVerificationRequestfromJson(String jsonString)Create an instance of CreateVerificationRequest given an JSON stringStringgetIdentity()ID of the `Identity` resource associated with the `Merchant`.StringgetMerchant()The ID of the `Merchant`.StringgetProcessor()Set the acquiring processor.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.inthashCode()CreateVerificationRequestidentity(String identity)CreateVerificationRequestmerchant(String merchant)CreateVerificationRequestprocessor(String processor)CreateVerificationRequestputTagsItem(String key, String tagsItem)voidsetIdentity(String identity)voidsetMerchant(String merchant)voidsetProcessor(String processor)voidsetTags(Map<String,String> tags)CreateVerificationRequesttags(Map<String,String> tags)StringtoJson()Convert an instance of CreateVerificationRequest to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
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_PROCESSOR
public static final String SERIALIZED_NAME_PROCESSOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
identity
public CreateVerificationRequest identity(String identity)
-
getIdentity
@Nullable public String getIdentity()
ID of the `Identity` resource associated with the `Merchant`.- Returns:
- identity
-
setIdentity
public void setIdentity(String identity)
-
merchant
public CreateVerificationRequest merchant(String merchant)
-
setMerchant
public void setMerchant(String merchant)
-
processor
public CreateVerificationRequest processor(String processor)
-
getProcessor
@Nullable public String getProcessor()
Set the acquiring processor. Avalible values include: <ul><li><strong>DUMMY_V1</strong></li><li><strong>LITLE_V1</strong></li><li><strong>MASTERCARD_V1</strong></li><li><strong>VISA_V1</strong></li><li><strong>NMI_V1</strong></li><li><strong>VANTIV_V1</strong></li></ul>Use <strong>DUMMY_V1</strong> or <strong>null</strong> to use your sandbox. For more details on which processor to use, reach out to your Finix point of contact or email <a href=\"/guides/getting-started/support-at-finix/\">Finix Support</a>.- Returns:
- processor
-
setProcessor
public void setProcessor(String processor)
-
tags
public CreateVerificationRequest tags(Map<String,String> tags)
-
putTagsItem
public CreateVerificationRequest 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
-
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 CreateVerificationRequest
-
fromJson
public static CreateVerificationRequest fromJson(String jsonString) throws IOException
Create an instance of CreateVerificationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateVerificationRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateVerificationRequest
-
toJson
public String toJson()
Convert an instance of CreateVerificationRequest to an JSON string- Returns:
- JSON string
-
-