Package model

Class CreateProcessorRequestConfig


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class CreateProcessorRequestConfig
    extends Object
    Configure the details of how a `Processor` handles transactions.
    • Field Detail

      • SERIALIZED_NAME_CAN_DEBIT_BANK_ACCOUNT

        public static final String SERIALIZED_NAME_CAN_DEBIT_BANK_ACCOUNT
        See Also:
        Constant Field Values
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • Constructor Detail

      • CreateProcessorRequestConfig

        public CreateProcessorRequestConfig()
    • Method Detail

      • getCanDebitBankAccount

        @Nullable
        public Boolean getCanDebitBankAccount()
        Details if a `Processor` can debit bank accounts.
        Returns:
        canDebitBankAccount
      • setCanDebitBankAccount

        public void setCanDebitBankAccount​(Boolean canDebitBankAccount)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        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 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