Class: Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/simulations/card_authorization_create_params.rb

Defined Under Namespace

Modules: Category Classes: Refund

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(category: , refund: nil) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory for more details.

Fields specific to a specific type of authorization, such as Automatic Fuel Dispensers, Refund Authorizations, or Cash Disbursements.

Parameters:



# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 309


Instance Attribute Details

#categorySymbol, Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category

The processing category describes the intent behind the authorization, such as whether it was used for bill payments or an automatic fuel dispenser.



300
301
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 300

required :category,
enum: -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category }

#refundIncrease::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund?

Details related to refund authorizations.



307
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 307

optional :refund, -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 352