Class: Increase::Models::RealTimeDecision

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

Defined Under Namespace

Classes: CardAuthorization, DigitalWalletAuthentication, DigitalWalletToken

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#card_authorizationIncrease::Models::RealTimeDecision::CardAuthorization

Fields related to a card authorization.



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

required :card_authorization, -> { Increase::Models::RealTimeDecision::CardAuthorization }

#categorySymbol

The category of the Real-Time Decision.

Returns:

  • (Symbol)


19
20
21
22
23
24
# File 'lib/increase/models/real_time_decision.rb', line 19

required :category,
Increase::Enum.new(
  :card_authorization_requested,
  :digital_wallet_token_requested,
  :digital_wallet_authentication_requested
)

#created_atString

The ISO 8601 date and time at which the Real-Time Decision was created.

Returns:

  • (String)


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

required :created_at, String

#digital_wallet_authenticationIncrease::Models::RealTimeDecision::DigitalWalletAuthentication

Fields related to a digital wallet authentication attempt.



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

required :digital_wallet_authentication,
-> { Increase::Models::RealTimeDecision::DigitalWalletAuthentication }

#digital_wallet_tokenIncrease::Models::RealTimeDecision::DigitalWalletToken

Fields related to a digital wallet token provisioning attempt.



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

required :digital_wallet_token, -> { Increase::Models::RealTimeDecision::DigitalWalletToken }

#idString

The Real-Time Decision identifier.

Returns:

  • (String)


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

required :id, String

#statusSymbol

The status of the Real-Time Decision.

Returns:

  • (Symbol)


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

required :status, Increase::Enum.new(:pending, :responded, :timed_out)

#timeout_atString

The ISO 8601 date and time at which your application can no longer respond to the Real-Time Decision.

Returns:

  • (String)


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

required :timeout_at, String

#typeSymbol

A constant representing the object's type. For this resource it will always be real_time_decision.

Returns:

  • (Symbol)


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

required :type, Increase::Enum.new(:real_time_decision)