Class: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt
- Defined in:
- lib/increase/models/card_payment.rb
Defined Under Namespace
Modules: Outcome
Instance Attribute Summary collapse
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time of the Card Authentication Challenge Attempt.
-
#outcome ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome
The outcome of the Card Authentication Challenge Attempt.
Instance Method Summary collapse
-
#initialize(created_at: , outcome: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Attempt for more details.
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(created_at: , outcome: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt for more details.
476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 |
# File 'lib/increase/models/card_payment.rb', line 476 class Attempt < Increase::Internal::Type::BaseModel # @!attribute created_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time of the Card # Authentication Challenge Attempt. # # @return [Time] required :created_at, Time # @!attribute outcome # The outcome of the Card Authentication Challenge Attempt. # # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome] required :outcome, enum: -> { Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome } # @!method initialize(created_at:, outcome:) # Some parameter documentations has been truncated, see # {Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt} # for more details. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time of the Card Authenti # # @param outcome [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome] The outcome of the Card Authentication Challenge Attempt. # The outcome of the Card Authentication Challenge Attempt. # # @see Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt#outcome module Outcome extend Increase::Internal::Type::Enum # The attempt was successful. SUCCESSFUL = :successful # The attempt was unsuccessful. FAILED = :failed # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time of the Card Authentication Challenge Attempt.
482 |
# File 'lib/increase/models/card_payment.rb', line 482 required :created_at, Time |
#outcome ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome
The outcome of the Card Authentication Challenge Attempt.
488 489 |
# File 'lib/increase/models/card_payment.rb', line 488 required :outcome, enum: -> { Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome } |