Package model
Class ConfigurationDetails
java.lang.Object
model.ConfigurationDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ConfigurationDetails
extends Object
Configure the details of the activated device.
-
Nested Class Summary
Nested Classes -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowDebit(Boolean allowDebit) allowPartialApprovals(Boolean allowPartialApprovals) bypassDeviceOnCapture(Boolean bypassDeviceOnCapture) cashbackOptions(ConfigurationDetailsCashbackOptions cashbackOptions) checkForDuplicateTransactions(Boolean checkForDuplicateTransactions) booleanstatic ConfigurationDetailsCreate an instance of ConfigurationDetails given an JSON stringAllow transaction to be processed on Debit rails.Determines if a transaction can be partially approved (Usually **null**).Sets whether or not the device will be used to capture transactions.Get cashbackOptionsSets whether the device will check for duplicate transactions.Sets whether the device will allow cash back.Sets whether the device will allow gifting funds.Sets whether the device will process payment details entered manually.Used by the processor to handle the `transfer`.Sets if the card holder needs to confirm the amount they will pay (defaults to **true**).Sets if the device defaults to manual entry as the default card input method.Sets if the device will prompt the card holder for a signature by default.The threshold to prompt a signature when `prompt_signature` is set to **AMOUNT** (defaults to 0).Get tipOptionsinthashCode()isCashBackAllowed(Boolean isCashBackAllowed) isGiftSupported(String isGiftSupported) isManualEntryAllowed(Boolean isManualEntryAllowed) marketCode(String marketCode) promptAmountConfirmation(Boolean promptAmountConfirmation) promptManualEntry(Boolean promptManualEntry) promptSignature(String promptSignature) voidsetAllowDebit(Boolean allowDebit) voidsetAllowPartialApprovals(Boolean allowPartialApprovals) voidsetBypassDeviceOnCapture(Boolean bypassDeviceOnCapture) voidsetCashbackOptions(ConfigurationDetailsCashbackOptions cashbackOptions) voidsetCheckForDuplicateTransactions(Boolean checkForDuplicateTransactions) voidsetIsCashBackAllowed(Boolean isCashBackAllowed) voidsetIsGiftSupported(String isGiftSupported) voidsetIsManualEntryAllowed(Boolean isManualEntryAllowed) voidsetMarketCode(String marketCode) voidsetPromptAmountConfirmation(Boolean promptAmountConfirmation) voidsetPromptManualEntry(Boolean promptManualEntry) voidsetPromptSignature(String promptSignature) voidsetSignatureThresholdAmount(Long signatureThresholdAmount) voidsetTipOptions(ConfigurationDetailsTipOptions tipOptions) signatureThresholdAmount(Long signatureThresholdAmount) tipOptions(ConfigurationDetailsTipOptions tipOptions) toJson()Convert an instance of ConfigurationDetails 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_ALLOW_DEBIT
- See Also:
-
SERIALIZED_NAME_ALLOW_PARTIAL_APPROVALS
- See Also:
-
SERIALIZED_NAME_BYPASS_DEVICE_ON_CAPTURE
- See Also:
-
SERIALIZED_NAME_CASHBACK_OPTIONS
- See Also:
-
SERIALIZED_NAME_CHECK_FOR_DUPLICATE_TRANSACTIONS
- See Also:
-
SERIALIZED_NAME_IS_CASH_BACK_ALLOWED
- See Also:
-
SERIALIZED_NAME_IS_GIFT_SUPPORTED
- See Also:
-
SERIALIZED_NAME_IS_MANUAL_ENTRY_ALLOWED
- See Also:
-
SERIALIZED_NAME_MARKET_CODE
- See Also:
-
SERIALIZED_NAME_PROMPT_AMOUNT_CONFIRMATION
- See Also:
-
SERIALIZED_NAME_PROMPT_MANUAL_ENTRY
- See Also:
-
SERIALIZED_NAME_PROMPT_SIGNATURE
- See Also:
-
SERIALIZED_NAME_SIGNATURE_THRESHOLD_AMOUNT
- See Also:
-
SERIALIZED_NAME_TIP_OPTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ConfigurationDetails
public ConfigurationDetails()
-
-
Method Details
-
allowDebit
-
getAllowDebit
Allow transaction to be processed on Debit rails. If `false`, Debit card transactions will be processed on Credit rails.- Returns:
- allowDebit
-
setAllowDebit
-
allowPartialApprovals
-
getAllowPartialApprovals
Determines if a transaction can be partially approved (Usually **null**).- Returns:
- allowPartialApprovals
-
setAllowPartialApprovals
-
bypassDeviceOnCapture
-
getBypassDeviceOnCapture
Sets whether or not the device will be used to capture transactions. This field must be set to true (defaults to false).- Returns:
- bypassDeviceOnCapture
-
setBypassDeviceOnCapture
-
cashbackOptions
-
getCashbackOptions
Get cashbackOptions- Returns:
- cashbackOptions
-
setCashbackOptions
-
checkForDuplicateTransactions
-
getCheckForDuplicateTransactions
Sets whether the device will check for duplicate transactions.- Returns:
- checkForDuplicateTransactions
-
setCheckForDuplicateTransactions
-
isCashBackAllowed
-
getIsCashBackAllowed
Sets whether the device will allow cash back.- Returns:
- isCashBackAllowed
-
setIsCashBackAllowed
-
isGiftSupported
-
getIsGiftSupported
Sets whether the device will allow gifting funds.- Returns:
- isGiftSupported
-
setIsGiftSupported
-
isManualEntryAllowed
-
getIsManualEntryAllowed
Sets whether the device will process payment details entered manually.- Returns:
- isManualEntryAllowed
-
setIsManualEntryAllowed
-
marketCode
-
getMarketCode
Used by the processor to handle the `transfer`. Usually **null**.- Returns:
- marketCode
-
setMarketCode
-
promptAmountConfirmation
-
getPromptAmountConfirmation
Sets if the card holder needs to confirm the amount they will pay (defaults to **true**).- Returns:
- promptAmountConfirmation
-
setPromptAmountConfirmation
-
promptManualEntry
-
getPromptManualEntry
Sets if the device defaults to manual entry as the default card input method. (defaults to **false**).- Returns:
- promptManualEntry
-
setPromptManualEntry
-
promptSignature
-
getPromptSignature
Sets if the device will prompt the card holder for a signature by default. Available values include:<ul><li><strong>ALWAYS</strong><li><strong>NEVER</strong><li><strong>AMOUNT</strong>: Used in conjunction with `signature_threshold_amount` so when the threshold is reached the signature form appears on the device.- Returns:
- promptSignature
-
setPromptSignature
-
signatureThresholdAmount
-
getSignatureThresholdAmount
The threshold to prompt a signature when `prompt_signature` is set to **AMOUNT** (defaults to 0).- Returns:
- signatureThresholdAmount
-
setSignatureThresholdAmount
-
tipOptions
-
getTipOptions
Get tipOptions- Returns:
- tipOptions
-
setTipOptions
-
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 ConfigurationDetails
-
fromJson
Create an instance of ConfigurationDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ConfigurationDetails
- Throws:
IOException- if the JSON string is invalid with respect to ConfigurationDetails
-
toJson
Convert an instance of ConfigurationDetails to an JSON string- Returns:
- JSON string
-