Package model
Class CreateDevice
java.lang.Object
model.CreateDevice
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateDevice
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumInclude one of the following values to let Finix know the type of device that's being used. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_configuration(ConfigurationDetails _configuration) description(String description) booleanstatic CreateDeviceCreate an instance of CreateDevice given an JSON stringGet _configurationAdditional information about device (e.g.ID of the `Merchant` the `Device` is associated with.getModel()Include one of the following values to let Finix know the type of device that's being used.getName()Name of the `Device`.getTags()Key value pair for annotating custom meta data (e.g.inthashCode()merchantId(String merchantId) model(CreateDevice.ModelEnum model) putTagsItem(String key, String tagsItem) voidsetConfiguration(ConfigurationDetails _configuration) voidsetDescription(String description) voidsetMerchantId(String merchantId) voidsetModel(CreateDevice.ModelEnum model) voidvoidtoJson()Convert an instance of CreateDevice to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_CONFIGURATION
- See Also:
-
SERIALIZED_NAME_MERCHANT_ID
- See Also:
-
SERIALIZED_NAME_MODEL
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateDevice
public CreateDevice()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
description
-
getDescription
Additional information about device (e.g. self serving terminal).- Returns:
- description
-
setDescription
-
_configuration
-
getConfiguration
Get _configuration- Returns:
- _configuration
-
setConfiguration
-
merchantId
-
getMerchantId
ID of the `Merchant` the `Device` is associated with.- Returns:
- merchantId
-
setMerchantId
-
model
-
getModel
Include one of the following values to let Finix know the type of device that's being used.- Returns:
- model
-
setModel
-
name
-
getName
Name of the `Device`.- Returns:
- name
-
setName
-
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 CreateDevice
-
fromJson
Create an instance of CreateDevice given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateDevice
- Throws:
IOException- if the JSON string is invalid with respect to CreateDevice
-
toJson
Convert an instance of CreateDevice to an JSON string- Returns:
- JSON string
-