Class: Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails

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

Overview

See Also:

Defined Under Namespace

Modules: Category Classes: IncrementalAuthorization, InitialAuthorization

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(card_payment_id: , original_card_authorization_id: ) ⇒ Object

Some parameter documentations has been truncated, see IncrementalAuthorization for more details.

Fields specific to the category ‘incremental_authorization`.

Parameters:

  • card_payment_id (String) (defaults to: )

    The card payment for this authorization and increment.

  • original_card_authorization_id (String) (defaults to: )

    The identifier of the card authorization this request is attempting to increment



# File 'lib/increase/models/real_time_decision.rb', line 1299

Instance Attribute Details

#categorySymbol, Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::Category

The type of this request (e.g., an initial authorization or an incremental authorization).



1279
# File 'lib/increase/models/real_time_decision.rb', line 1279

required :category, enum: -> { Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category }

#incremental_authorizationIncrease::Models::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization?

Fields specific to the category ‘incremental_authorization`.



1285
1286
1287
1288
1289
# File 'lib/increase/models/real_time_decision.rb', line 1285

required :incremental_authorization,
-> {
  Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization
},
nil?: true

#initial_authorizationIncrease::Models::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization?

Fields specific to the category ‘initial_authorization`.



1295
1296
1297
# File 'lib/increase/models/real_time_decision.rb', line 1295

required :initial_authorization,
-> { Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization },
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/real_time_decision.rb', line 1325