Package model
Class CreateApplicationRequest
- java.lang.Object
-
- model.CreateApplicationRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateApplicationRequest extends Object
CreateApplicationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateApplicationRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ENTITYstatic StringSERIALIZED_NAME_MAX_TRANSACTION_AMOUNTstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_USER
-
Constructor Summary
Constructors Constructor Description CreateApplicationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateApplicationRequestentity(IdentityEntityForm entity)booleanequals(Object o)static CreateApplicationRequestfromJson(String jsonString)Create an instance of CreateApplicationRequest given an JSON stringIdentityEntityFormgetEntity()Get entityLonggetMaxTransactionAmount()Maximum amount that can be processed for a single transaction in cents (max 12 characters).StringgetName()Merchant's full legal business name (If **INDIVIDUAL_SOLE_PROPRIETORSHIP**, enter first name, Full legal last name and middle initial; max 120 characters).Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.StringgetUser()ID of the `User` resource.inthashCode()CreateApplicationRequestmaxTransactionAmount(Long maxTransactionAmount)CreateApplicationRequestname(String name)CreateApplicationRequestputTagsItem(String key, String tagsItem)voidsetEntity(IdentityEntityForm entity)voidsetMaxTransactionAmount(Long maxTransactionAmount)voidsetName(String name)voidsetTags(Map<String,String> tags)voidsetUser(String user)CreateApplicationRequesttags(Map<String,String> tags)StringtoJson()Convert an instance of CreateApplicationRequest to an JSON stringStringtoString()CreateApplicationRequestuser(String user)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ENTITY
public static final String SERIALIZED_NAME_ENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_TRANSACTION_AMOUNT
public static final String SERIALIZED_NAME_MAX_TRANSACTION_AMOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER
public static final String SERIALIZED_NAME_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
entity
public CreateApplicationRequest entity(IdentityEntityForm entity)
-
getEntity
@Nullable public IdentityEntityForm getEntity()
Get entity- Returns:
- entity
-
setEntity
public void setEntity(IdentityEntityForm entity)
-
maxTransactionAmount
public CreateApplicationRequest maxTransactionAmount(Long maxTransactionAmount)
-
getMaxTransactionAmount
@Nullable public Long getMaxTransactionAmount()
Maximum amount that can be processed for a single transaction in cents (max 12 characters).- Returns:
- maxTransactionAmount
-
setMaxTransactionAmount
public void setMaxTransactionAmount(Long maxTransactionAmount)
-
name
public CreateApplicationRequest name(String name)
-
getName
@Nullable public String getName()
Merchant's full legal business name (If **INDIVIDUAL_SOLE_PROPRIETORSHIP**, enter first name, Full legal last name and middle initial; max 120 characters).- Returns:
- name
-
setName
public void setName(String name)
-
tags
public CreateApplicationRequest tags(Map<String,String> tags)
-
putTagsItem
public CreateApplicationRequest 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
-
user
public CreateApplicationRequest user(String user)
-
setUser
public void setUser(String user)
-
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 CreateApplicationRequest
-
fromJson
public static CreateApplicationRequest fromJson(String jsonString) throws IOException
Create an instance of CreateApplicationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateApplicationRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateApplicationRequest
-
toJson
public String toJson()
Convert an instance of CreateApplicationRequest to an JSON string- Returns:
- JSON string
-
-