Class: Increase::Models::Simulations::CardAuthenticationCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/increase/models/simulations/card_authentication_create_params.rb

Overview

Defined Under Namespace

Modules: Category, DeviceChannel

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(card_id:, category: nil, device_channel: nil, merchant_acceptor_id: nil, merchant_category_code: nil, merchant_country: nil, merchant_name: nil, purchase_amount: nil, request_options: {}) ⇒ Object

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

Parameters:

  • card_id (String)

    The identifier of the Card to be authorized.

  • category (Symbol, Increase::Models::Simulations::CardAuthenticationCreateParams::Category) (defaults to: nil)

    The category of the card authentication attempt.

  • device_channel (Symbol, Increase::Models::Simulations::CardAuthenticationCreateParams::DeviceChannel) (defaults to: nil)

    The device channel of the card authentication attempt.

  • merchant_acceptor_id (String) (defaults to: nil)

    The merchant identifier (commonly abbreviated as MID) of the merchant the card i

  • merchant_category_code (String) (defaults to: nil)

    The Merchant Category Code (commonly abbreviated as MCC) of the merchant the car

  • merchant_country (String) (defaults to: nil)

    The country the merchant resides in.

  • merchant_name (String) (defaults to: nil)

    The name of the merchant

  • purchase_amount (Integer) (defaults to: nil)

    The purchase amount in cents.

  • request_options (Increase::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 62

Instance Attribute Details

#card_idString

The identifier of the Card to be authorized.

Returns:

  • (String)


15
# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 15

required :card_id, String

#categorySymbol, ...

The category of the card authentication attempt.



21
# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 21

optional :category, enum: -> { Increase::Simulations::CardAuthenticationCreateParams::Category }

#device_channelSymbol, ...

The device channel of the card authentication attempt.



27
28
# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 27

optional :device_channel,
enum: -> { Increase::Simulations::CardAuthenticationCreateParams::DeviceChannel }

#merchant_acceptor_idString?

The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.

Returns:

  • (String, nil)


35
# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 35

optional :merchant_acceptor_id, String

#merchant_category_codeString?

The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.

Returns:

  • (String, nil)


42
# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 42

optional :merchant_category_code, String

#merchant_countryString?

The country the merchant resides in.

Returns:

  • (String, nil)


48
# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 48

optional :merchant_country, String

#merchant_nameString?

The name of the merchant

Returns:

  • (String, nil)


54
# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 54

optional :merchant_name, String

#purchase_amountInteger?

The purchase amount in cents.

Returns:

  • (Integer, nil)


60
# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 60

optional :purchase_amount, Integer

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/simulations/card_authentication_create_params.rb', line 95