Package model
Class CardPresentInstrumentForm
java.lang.Object
model.CardPresentInstrumentForm
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CardPresentInstrumentForm
extends Object
Details the `Payment Instrument` that the `Transfer` debits or credits.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets availableAccountTypestatic classstatic enumThe type of `Payment Instrument`. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailableAccountType(CardPresentInstrumentForm.AvailableAccountTypeEnum availableAccountType) emvDataKeySerialNumber(String emvDataKeySerialNumber) encryptedEmvData(String encryptedEmvData) encryptedEmvFormat(Long encryptedEmvFormat) booleanexpirationMonth(Long expirationMonth) expirationYear(Long expirationYear) static CardPresentInstrumentFormCreate an instance of CardPresentInstrumentForm given an JSON stringGet availableAccountTypeEncrypted card data used to process the transaction.Encrypted EMV card data about the key serial number used to process the transaction.Encrypted EMV card data.EMV encryption format provided from integrated encryption devices (defaults to **0**).Expiration month of the `Payment Instrument` (e.g.4-digit expiration year of the `Payment Instrument`.The first name of the `Payment Instrument` owner.The last name of the `Payment Instrument` owner.getName()Get namePrimary card account number (no dashes in between numbers).getType()The type of `Payment Instrument`.inthashCode()voidsetAvailableAccountType(CardPresentInstrumentForm.AvailableAccountTypeEnum availableAccountType) voidsetEmvData(String emvData) voidsetEmvDataKeySerialNumber(String emvDataKeySerialNumber) voidsetEncryptedEmvData(String encryptedEmvData) voidsetEncryptedEmvFormat(Long encryptedEmvFormat) voidsetExpirationMonth(Long expirationMonth) voidsetExpirationYear(Long expirationYear) voidsetFirstName(String firstName) voidsetLastName(String lastName) voidvoidvoidtoJson()Convert an instance of CardPresentInstrumentForm 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_TYPE
- See Also:
-
SERIALIZED_NAME_AVAILABLE_ACCOUNT_TYPE
- See Also:
-
SERIALIZED_NAME_EMV_DATA
- See Also:
-
SERIALIZED_NAME_EMV_DATA_KEY_SERIAL_NUMBER
- See Also:
-
SERIALIZED_NAME_ENCRYPTED_EMV_DATA
- See Also:
-
SERIALIZED_NAME_ENCRYPTED_EMV_FORMAT
- See Also:
-
SERIALIZED_NAME_EXPIRATION_MONTH
- See Also:
-
SERIALIZED_NAME_EXPIRATION_YEAR
- See Also:
-
SERIALIZED_NAME_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NUMBER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CardPresentInstrumentForm
public CardPresentInstrumentForm()
-
-
Method Details
-
type
-
getType
The type of `Payment Instrument`.- Returns:
- type
-
setType
-
availableAccountType
public CardPresentInstrumentForm availableAccountType(CardPresentInstrumentForm.AvailableAccountTypeEnum availableAccountType) -
getAvailableAccountType
Get availableAccountType- Returns:
- availableAccountType
-
setAvailableAccountType
public void setAvailableAccountType(CardPresentInstrumentForm.AvailableAccountTypeEnum availableAccountType) -
emvData
-
getEmvData
Encrypted card data used to process the transaction.- Returns:
- emvData
-
setEmvData
-
emvDataKeySerialNumber
-
getEmvDataKeySerialNumber
Encrypted EMV card data about the key serial number used to process the transaction.- Returns:
- emvDataKeySerialNumber
-
setEmvDataKeySerialNumber
-
encryptedEmvData
-
getEncryptedEmvData
Encrypted EMV card data. Required if using an encrypted device.- Returns:
- encryptedEmvData
-
setEncryptedEmvData
-
encryptedEmvFormat
-
getEncryptedEmvFormat
EMV encryption format provided from integrated encryption devices (defaults to **0**).- Returns:
- encryptedEmvFormat
-
setEncryptedEmvFormat
-
expirationMonth
-
getExpirationMonth
Expiration month of the `Payment Instrument` (e.g. 12 for December).- Returns:
- expirationMonth
-
setExpirationMonth
-
expirationYear
-
getExpirationYear
4-digit expiration year of the `Payment Instrument`.- Returns:
- expirationYear
-
setExpirationYear
-
firstName
-
getFirstName
The first name of the `Payment Instrument` owner.- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
The last name of the `Payment Instrument` owner.- Returns:
- lastName
-
setLastName
-
name
-
getName
Get name- Returns:
- name
-
setName
-
number
-
getNumber
Primary card account number (no dashes in between numbers).- Returns:
- number
-
setNumber
-
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 CardPresentInstrumentForm
-
fromJson
Create an instance of CardPresentInstrumentForm given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CardPresentInstrumentForm
- Throws:
IOException- if the JSON string is invalid with respect to CardPresentInstrumentForm
-
toJson
Convert an instance of CardPresentInstrumentForm to an JSON string- Returns:
- JSON string
-