Class: Increase::Models::RealTimeDecision

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

Overview

Defined Under Namespace

Modules: Category, Status, Type Classes: CardAuthentication, CardAuthenticationChallenge, CardAuthorization, DigitalWalletAuthentication, DigitalWalletToken

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(id: , card_authentication: , card_authentication_challenge: , card_authorization: , category: , created_at: , digital_wallet_authentication: , digital_wallet_token: , status: , timeout_at: , type: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::RealTimeDecision for more details.

Real Time Decisions are created when your application needs to take action in real-time to some event such as a card authorization. For more information, see our [Real-Time Decisions guide](increase.com/documentation/real-time-decisions).

Parameters:



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


Instance Attribute Details

#card_authenticationIncrease::Models::RealTimeDecision::CardAuthentication?

Fields related to a 3DS authentication attempt.



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

required :card_authentication, -> { Increase::RealTimeDecision::CardAuthentication }, nil?: true

#card_authentication_challengeIncrease::Models::RealTimeDecision::CardAuthenticationChallenge?

Fields related to a 3DS authentication attempt.



23
24
25
# File 'lib/increase/models/real_time_decision.rb', line 23

required :card_authentication_challenge,
-> { Increase::RealTimeDecision::CardAuthenticationChallenge },
nil?: true

#card_authorizationIncrease::Models::RealTimeDecision::CardAuthorization?

Fields related to a card authorization.



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

required :card_authorization, -> { Increase::RealTimeDecision::CardAuthorization }, nil?: true

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

The category of the Real-Time Decision.



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

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

#created_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the Real-Time Decision was created.

Returns:

  • (Time)


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

required :created_at, Time

#digital_wallet_authenticationIncrease::Models::RealTimeDecision::DigitalWalletAuthentication?

Fields related to a digital wallet authentication attempt.



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

required :digital_wallet_authentication,
-> { Increase::RealTimeDecision::DigitalWalletAuthentication },
nil?: true

#digital_wallet_tokenIncrease::Models::RealTimeDecision::DigitalWalletToken?

Fields related to a digital wallet token provisioning attempt.



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

required :digital_wallet_token, -> { Increase::RealTimeDecision::DigitalWalletToken }, nil?: true

#idString

The Real-Time Decision identifier.

Returns:

  • (String)


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

required :id, String

#statusSymbol, Increase::Models::RealTimeDecision::Status

The status of the Real-Time Decision.



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

required :status, enum: -> { Increase::RealTimeDecision::Status }

#timeout_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which your application can no longer respond to the Real-Time Decision.

Returns:

  • (Time)


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

required :timeout_at, Time

#typeSymbol, Increase::Models::RealTimeDecision::Type

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



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

required :type, enum: -> { Increase::RealTimeDecision::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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