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

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/real_time_decision.rb

Defined Under Namespace

Classes: IncrementalAuthorization

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#categorySymbol

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

Returns:

  • (Symbol)


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

required :category, Increase::Enum.new(:initial_authorization, :incremental_authorization)

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

Fields specific to the category incremental_authorization.



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

required :incremental_authorization,
-> { Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization }

#initial_authorizationObject

Fields specific to the category initial_authorization.

Returns:

  • (Object)


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

required :initial_authorization, Increase::Unknown