Class: Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse

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

Overview

Defined Under Namespace

Modules: DeclineReason, Type

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(decline_reason: , digital_wallet_token_id: , type: ) ⇒ Object

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

The results of a Digital Wallet Token simulation.

Parameters:



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


Instance Attribute Details

#decline_reasonSymbol, ...

If the simulated tokenization attempt was declined, this field contains details as to why.



13
14
15
# File 'lib/increase/models/simulations/digital_wallet_token_request_create_response.rb', line 13

required :decline_reason,
enum: -> { Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::DeclineReason },
nil?: true

#digital_wallet_token_idString?

If the simulated tokenization attempt was accepted, this field contains the id of the Digital Wallet Token that was created.

Returns:

  • (String, nil)


22
# File 'lib/increase/models/simulations/digital_wallet_token_request_create_response.rb', line 22

required :digital_wallet_token_id, String, nil?: true

#typeSymbol, Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::Type

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



29
# File 'lib/increase/models/simulations/digital_wallet_token_request_create_response.rb', line 29

required :type, enum: -> { Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/simulations/digital_wallet_token_request_create_response.rb', line 63