Package model
Class PaymentInstrument
java.lang.Object
model.PaymentInstrument
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class PaymentInstrument
extends Object
PaymentInstrument
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDetails what kind of **BANK_ACCOUNT** is being used.static enumAdditional address information that’s required to verify the identity of the merchant.static enumThe `brand` of the card saved in the `Payment Instrument`.static enumThe type of card saved in the `Payment Instrument`.static classstatic enumThe type of `Payment Instrument`.static enumGets or Sets payloadTypestatic enumDetails the results of the Card Verification Code check.static enumType of `Payment Instrument`. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountType(PaymentInstrument.AccountTypeEnum accountType) addressVerification(PaymentInstrument.AddressVerificationEnum addressVerification) application(String application) brand(PaymentInstrument.BrandEnum brand) cardType(PaymentInstrument.CardTypeEnum cardType) createdAt(OffsetDateTime createdAt) booleanexpirationMonth(Long expirationMonth) expirationYear(Long expirationYear) fastFundsIndicator(String fastFundsIndicator) fingerprint(String fingerprint) static PaymentInstrumentCreate an instance of PaymentInstrument given an JSON stringDetails what kind of **BANK_ACCOUNT** is being used.Get addressAdditional address information that’s required to verify the identity of the merchant.The ID of the resource.The routing number of the bank account.getBin()Bank Identification number for the `Payment Instrument`.getBrand()The `brand` of the card saved in the `Payment Instrument`.A custom name you can include to identify the card being used (e.g.The type of card saved in the `Payment Instrument`.Get countryTimestamp of when the object was created.Get currencyExpiration month (e.g.4-digit expiration year.Details if Fast Funds is enabled for the card.Unique ID that represents the tokenized card data.getId()The ID of the resource.The ID of the resource.The type of `Payment Instrument`.Last four digits of the card or bank account number.getLinks()Get linksThe last 4 digits of the account number used to create the `Payment Instrument`.getName()The name of the bank account or card owner.Detailes if the card is enabled to receive push-payments for online gambling payouts.Get payloadTypeDetails if the card is enabled to receive push-to-card disbursements.Details the results of the Card Verification Code check.getTags()Key value pair for annotating custom meta data (e.g.getType()Type of `Payment Instrument`.Timestamp of when the object was last updated.inthashCode()instrumentType(PaymentInstrument.InstrumentTypeEnum instrumentType) links(PaymentInstrumentLinks links) maskedAccountNumber(String maskedAccountNumber) onlineGambingBlockIndicator(String onlineGambingBlockIndicator) payloadType(PaymentInstrument.PayloadTypeEnum payloadType) pushFundsBlockIndicator(String pushFundsBlockIndicator) putTagsItem(String key, String tagsItem) securityCodeVerification(PaymentInstrument.SecurityCodeVerificationEnum securityCodeVerification) voidsetAccountType(PaymentInstrument.AccountTypeEnum accountType) voidsetAddress(Address address) voidsetAddressVerification(PaymentInstrument.AddressVerificationEnum addressVerification) voidsetApplication(String application) voidsetBankCode(String bankCode) voidvoidvoidsetCardName(String cardName) voidsetCardType(PaymentInstrument.CardTypeEnum cardType) voidsetCountry(Country country) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCurrency(Currency currency) voidsetExpirationMonth(Long expirationMonth) voidsetExpirationYear(Long expirationYear) voidsetFastFundsIndicator(String fastFundsIndicator) voidsetFingerprint(String fingerprint) voidvoidsetIdentity(String identity) voidsetInstrumentType(PaymentInstrument.InstrumentTypeEnum instrumentType) voidsetLastFour(String lastFour) voidsetLinks(PaymentInstrumentLinks links) voidsetMaskedAccountNumber(String maskedAccountNumber) voidvoidsetOnlineGambingBlockIndicator(String onlineGambingBlockIndicator) voidsetPayloadType(PaymentInstrument.PayloadTypeEnum payloadType) voidsetPushFundsBlockIndicator(String pushFundsBlockIndicator) voidsetSecurityCodeVerification(PaymentInstrument.SecurityCodeVerificationEnum securityCodeVerification) voidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of PaymentInstrument to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) 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_TYPE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_ACCOUNT_TYPE
- See Also:
-
SERIALIZED_NAME_APPLICATION
- See Also:
-
SERIALIZED_NAME_BANK_CODE
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_FINGERPRINT
- See Also:
-
SERIALIZED_NAME_IDENTITY
- See Also:
-
SERIALIZED_NAME_INSTRUMENT_TYPE
- See Also:
-
SERIALIZED_NAME_MASKED_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PAYLOAD_TYPE
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
SERIALIZED_NAME_ADDRESS
- See Also:
-
SERIALIZED_NAME_ADDRESS_VERIFICATION
- See Also:
-
SERIALIZED_NAME_BIN
- See Also:
-
SERIALIZED_NAME_BRAND
- See Also:
-
SERIALIZED_NAME_CARD_NAME
- See Also:
-
SERIALIZED_NAME_CARD_TYPE
- See Also:
-
SERIALIZED_NAME_EXPIRATION_MONTH
- See Also:
-
SERIALIZED_NAME_EXPIRATION_YEAR
- See Also:
-
SERIALIZED_NAME_FAST_FUNDS_INDICATOR
- See Also:
-
SERIALIZED_NAME_LAST_FOUR
- See Also:
-
SERIALIZED_NAME_ONLINE_GAMBING_BLOCK_INDICATOR
- See Also:
-
SERIALIZED_NAME_PUSH_FUNDS_BLOCK_INDICATOR
- See Also:
-
SERIALIZED_NAME_SECURITY_CODE_VERIFICATION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PaymentInstrument
public PaymentInstrument()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
type
-
getType
Type of `Payment Instrument`.- Returns:
- type
-
setType
-
id
-
getId
The ID of the resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
accountType
-
getAccountType
Details what kind of **BANK_ACCOUNT** is being used.- Returns:
- accountType
-
setAccountType
-
application
-
getApplication
The ID of the resource.- Returns:
- application
-
setApplication
-
bankCode
-
getBankCode
The routing number of the bank account.- Returns:
- bankCode
-
setBankCode
-
country
-
getCountry
Get country- Returns:
- country
-
setCountry
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
fingerprint
-
getFingerprint
Unique ID that represents the tokenized card data.- Returns:
- fingerprint
-
setFingerprint
-
identity
-
getIdentity
The ID of the resource.- Returns:
- identity
-
setIdentity
-
instrumentType
-
getInstrumentType
The type of `Payment Instrument`.- Returns:
- instrumentType
-
setInstrumentType
-
maskedAccountNumber
-
getMaskedAccountNumber
The last 4 digits of the account number used to create the `Payment Instrument`.- Returns:
- maskedAccountNumber
-
setMaskedAccountNumber
-
name
-
getName
The name of the bank account or card owner.- Returns:
- name
-
setName
-
payloadType
-
getPayloadType
Get payloadType- Returns:
- payloadType
-
setPayloadType
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
addressVerification
public PaymentInstrument addressVerification(PaymentInstrument.AddressVerificationEnum addressVerification) -
getAddressVerification
Additional address information that’s required to verify the identity of the merchant.- Returns:
- addressVerification
-
setAddressVerification
-
bin
-
getBin
Bank Identification number for the `Payment Instrument`.- Returns:
- bin
-
setBin
-
brand
-
getBrand
The `brand` of the card saved in the `Payment Instrument`.- Returns:
- brand
-
setBrand
-
cardName
-
getCardName
A custom name you can include to identify the card being used (e.g. **Business Card**).- Returns:
- cardName
-
setCardName
-
cardType
-
getCardType
The type of card saved in the `Payment Instrument`.- Returns:
- cardType
-
setCardType
-
expirationMonth
-
getExpirationMonth
Expiration month (e.g. 12 for December). minimum: 1 maximum: 12- Returns:
- expirationMonth
-
setExpirationMonth
-
expirationYear
-
getExpirationYear
4-digit expiration year. minimum: 1- Returns:
- expirationYear
-
setExpirationYear
-
fastFundsIndicator
-
getFastFundsIndicator
Details if Fast Funds is enabled for the card.- Returns:
- fastFundsIndicator
-
setFastFundsIndicator
-
lastFour
-
getLastFour
Last four digits of the card or bank account number.- Returns:
- lastFour
-
setLastFour
-
onlineGambingBlockIndicator
-
getOnlineGambingBlockIndicator
Detailes if the card is enabled to receive push-payments for online gambling payouts.- Returns:
- onlineGambingBlockIndicator
-
setOnlineGambingBlockIndicator
-
pushFundsBlockIndicator
-
getPushFundsBlockIndicator
Details if the card is enabled to receive push-to-card disbursements.- Returns:
- pushFundsBlockIndicator
-
setPushFundsBlockIndicator
-
securityCodeVerification
public PaymentInstrument securityCodeVerification(PaymentInstrument.SecurityCodeVerificationEnum securityCodeVerification) -
getSecurityCodeVerification
Details the results of the Card Verification Code check.- Returns:
- securityCodeVerification
-
setSecurityCodeVerification
public void setSecurityCodeVerification(PaymentInstrument.SecurityCodeVerificationEnum securityCodeVerification) -
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 PaymentInstrument
-
fromJson
Create an instance of PaymentInstrument given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentInstrument
- Throws:
IOException- if the JSON string is invalid with respect to PaymentInstrument
-
toJson
Convert an instance of PaymentInstrument to an JSON string- Returns:
- JSON string
-