Package model
Class CreateMerchantUnderwritingRequest
- java.lang.Object
-
- model.CreateMerchantUnderwritingRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateMerchantUnderwritingRequest extends Object
CreateMerchantUnderwritingRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateMerchantUnderwritingRequest.CustomTypeAdapterFactorystatic classCreateMerchantUnderwritingRequest.GatewayEnumName of the gateway that processes the `Merchant's` card present transactions.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_GATEWAYstatic StringSERIALIZED_NAME_PROCESSORstatic StringSERIALIZED_NAME_TAGS
-
Constructor Summary
Constructors Constructor Description CreateMerchantUnderwritingRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CreateMerchantUnderwritingRequestfromJson(String jsonString)Create an instance of CreateMerchantUnderwritingRequest given an JSON stringCreateMerchantUnderwritingRequestgateway(CreateMerchantUnderwritingRequest.GatewayEnum gateway)CreateMerchantUnderwritingRequest.GatewayEnumgetGateway()Name of the gateway that processes the `Merchant's` card present transactions.StringgetProcessor()Set the acquiring processor.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.inthashCode()CreateMerchantUnderwritingRequestprocessor(String processor)CreateMerchantUnderwritingRequestputTagsItem(String key, String tagsItem)voidsetGateway(CreateMerchantUnderwritingRequest.GatewayEnum gateway)voidsetProcessor(String processor)voidsetTags(Map<String,String> tags)CreateMerchantUnderwritingRequesttags(Map<String,String> tags)StringtoJson()Convert an instance of CreateMerchantUnderwritingRequest 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_GATEWAY
public static final String SERIALIZED_NAME_GATEWAY
- 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
-
gateway
public CreateMerchantUnderwritingRequest gateway(CreateMerchantUnderwritingRequest.GatewayEnum gateway)
-
getGateway
@Nullable public CreateMerchantUnderwritingRequest.GatewayEnum getGateway()
Name of the gateway that processes the `Merchant's` card present transactions. Use `gateway` only to enable a merchantto accept card present transactions.- Returns:
- gateway
-
setGateway
public void setGateway(CreateMerchantUnderwritingRequest.GatewayEnum gateway)
-
processor
public CreateMerchantUnderwritingRequest 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 CreateMerchantUnderwritingRequest tags(Map<String,String> tags)
-
putTagsItem
public CreateMerchantUnderwritingRequest 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 CreateMerchantUnderwritingRequest
-
fromJson
public static CreateMerchantUnderwritingRequest fromJson(String jsonString) throws IOException
Create an instance of CreateMerchantUnderwritingRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateMerchantUnderwritingRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateMerchantUnderwritingRequest
-
toJson
public String toJson()
Convert an instance of CreateMerchantUnderwritingRequest to an JSON string- Returns:
- JSON string
-
-