Package model
Class CardPresentDetails
java.lang.Object
model.CardPresentDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CardPresentDetails
extends Object
Details needed to process card present transactions.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapprovalCode(String approvalCode) emvData(CardPresentDetailsEmvData emvData) booleanstatic CardPresentDetailsCreate an instance of CardPresentDetails given an JSON stringUnique ID used to identify the approval of the `Transfer`.getBrand()The brand of the card saved in the `Payment Instrument`.Get emvDataDetails how the card was entered to process the transaction.Last four digits of the bank account number.getName()The name of the bank account or card owner.The type of `Payment Instrument` used in the transaction (or the original payment).inthashCode()maskedAccountNumber(String maskedAccountNumber) paymentType(String paymentType) voidsetApprovalCode(String approvalCode) voidvoidsetEmvData(CardPresentDetailsEmvData emvData) voidsetEntryMode(String entryMode) voidsetMaskedAccountNumber(String maskedAccountNumber) voidvoidsetPaymentType(String paymentType) toJson()Convert an instance of CardPresentDetails 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_APPROVAL_CODE
- See Also:
-
SERIALIZED_NAME_BRAND
- See Also:
-
SERIALIZED_NAME_EMV_DATA
- See Also:
-
SERIALIZED_NAME_ENTRY_MODE
- See Also:
-
SERIALIZED_NAME_MASKED_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PAYMENT_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CardPresentDetails
public CardPresentDetails()
-
-
Method Details
-
approvalCode
-
getApprovalCode
Unique ID used to identify the approval of the `Transfer`.- Returns:
- approvalCode
-
setApprovalCode
-
brand
-
getBrand
The brand of the card saved in the `Payment Instrument`.- Returns:
- brand
-
setBrand
-
emvData
-
getEmvData
Get emvData- Returns:
- emvData
-
setEmvData
-
entryMode
-
getEntryMode
Details how the card was entered to process the transaction.- Returns:
- entryMode
-
setEntryMode
-
maskedAccountNumber
-
getMaskedAccountNumber
Last four digits of the bank account number.- Returns:
- maskedAccountNumber
-
setMaskedAccountNumber
-
name
-
getName
The name of the bank account or card owner.- Returns:
- name
-
setName
-
paymentType
-
getPaymentType
The type of `Payment Instrument` used in the transaction (or the original payment).- Returns:
- paymentType
-
setPaymentType
-
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 CardPresentDetails
-
fromJson
Create an instance of CardPresentDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CardPresentDetails
- Throws:
IOException- if the JSON string is invalid with respect to CardPresentDetails
-
toJson
Convert an instance of CardPresentDetails to an JSON string- Returns:
- JSON string
-