Class: Increase::Models::RealTimeDecision::CardAuthentication

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

Overview

Defined Under Namespace

Modules: Decision

Instance Attribute 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(account_id: , card_id: , decision: , upcoming_card_payment_id: ) ⇒ Object

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

Fields related to a 3DS authentication attempt.

Parameters:

  • account_id (String) (defaults to: )

    The identifier of the Account the card belongs to.

  • card_id (String) (defaults to: )

    The identifier of the Card that is being tokenized.

  • decision (Symbol, Increase::Models::RealTimeDecision::CardAuthentication::Decision, nil) (defaults to: )

    Whether or not the authentication attempt was approved.

  • upcoming_card_payment_id (String) (defaults to: )

    The identifier of the Card Payment this authentication attempt will belong to. A



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

Instance Attribute Details

#account_idString

The identifier of the Account the card belongs to.

Returns:

  • (String)


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

required :account_id, String

#card_idString

The identifier of the Card that is being tokenized.

Returns:

  • (String)


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

required :card_id, String

#decisionSymbol, ...

Whether or not the authentication attempt was approved.



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

required :decision, enum: -> { Increase::RealTimeDecision::CardAuthentication::Decision }, nil?: true

#upcoming_card_payment_idString

The identifier of the Card Payment this authentication attempt will belong to. Available in the API once the card authentication has completed.

Returns:

  • (String)


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

required :upcoming_card_payment_id, String