Package model
Class CreateProcessorRequestConfig
- java.lang.Object
-
- model.CreateProcessorRequestConfig
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateProcessorRequestConfig extends Object
Configure the details of how a `Processor` handles transactions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateProcessorRequestConfig.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CAN_DEBIT_BANK_ACCOUNT
-
Constructor Summary
Constructors Constructor Description CreateProcessorRequestConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateProcessorRequestConfigcanDebitBankAccount(Boolean canDebitBankAccount)booleanequals(Object o)static CreateProcessorRequestConfigfromJson(String jsonString)Create an instance of CreateProcessorRequestConfig given an JSON stringBooleangetCanDebitBankAccount()Details if a `Processor` can debit bank accounts.inthashCode()voidsetCanDebitBankAccount(Boolean canDebitBankAccount)StringtoJson()Convert an instance of CreateProcessorRequestConfig to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
canDebitBankAccount
public CreateProcessorRequestConfig canDebitBankAccount(Boolean canDebitBankAccount)
-
getCanDebitBankAccount
@Nullable public Boolean getCanDebitBankAccount()
Details if a `Processor` can debit bank accounts.- Returns:
- canDebitBankAccount
-
setCanDebitBankAccount
public void setCanDebitBankAccount(Boolean canDebitBankAccount)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 CreateProcessorRequestConfig
-
fromJson
public static CreateProcessorRequestConfig fromJson(String jsonString) throws IOException
Create an instance of CreateProcessorRequestConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateProcessorRequestConfig
- Throws:
IOException- if the JSON string is invalid with respect to CreateProcessorRequestConfig
-
toJson
public String toJson()
Convert an instance of CreateProcessorRequestConfig to an JSON string- Returns:
- JSON string
-
-