Class: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel

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

Overview

See Also:

Defined Under Namespace

Modules: Category Classes: Browser, MerchantInitiated

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(browser:, category:, merchant_initiated:) ⇒ Object

The device channel of the card authentication attempt.

Parameters:



# File 'lib/increase/models/card_payment.rb', line 835

Instance Attribute Details

#browserIncrease::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser?

Fields specific to the browser device channel.



814
815
816
# File 'lib/increase/models/card_payment.rb', line 814

required :browser,
-> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser },
nil?: true

#categorySymbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Category

The category of the device channel.



822
823
# File 'lib/increase/models/card_payment.rb', line 822

required :category,
enum: -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category }

#merchant_initiatedIncrease::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated?

Fields specific to merchant initiated transactions.



829
830
831
832
833
# File 'lib/increase/models/card_payment.rb', line 829

required :merchant_initiated,
-> {
  Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated
},
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/card_payment.rb', line 905