Class: Increase::Models::Simulations::CardTokenCreateParams::Capability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Simulations::CardTokenCreateParams::Capability
- Defined in:
- lib/increase/models/simulations/card_token_create_params.rb
Defined Under Namespace
Modules: CrossBorderPushTransfers, DomesticPushTransfers, Route
Instance Attribute Summary collapse
-
#cross_border_push_transfers ⇒ Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers
The cross-border push transfers capability.
-
#domestic_push_transfers ⇒ Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers
The domestic push transfers capability.
-
#route ⇒ Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::Route
The route of the capability.
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(cross_border_push_transfers: , domestic_push_transfers: , route: ) ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 55 class Capability < Increase::Internal::Type::BaseModel # @!attribute cross_border_push_transfers # The cross-border push transfers capability. # # @return [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers] required :cross_border_push_transfers, enum: -> { Increase::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers } # @!attribute domestic_push_transfers # The domestic push transfers capability. # # @return [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers] required :domestic_push_transfers, enum: -> { Increase::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers } # @!attribute route # The route of the capability. # # @return [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::Route] required :route, enum: -> { Increase::Simulations::CardTokenCreateParams::Capability::Route } # @!method initialize(cross_border_push_transfers:, domestic_push_transfers:, route:) # @param cross_border_push_transfers [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers] The cross-border push transfers capability. # # @param domestic_push_transfers [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers] The domestic push transfers capability. # # @param route [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::Route] The route of the capability. # The cross-border push transfers capability. # # @see Increase::Models::Simulations::CardTokenCreateParams::Capability#cross_border_push_transfers module CrossBorderPushTransfers extend Increase::Internal::Type::Enum # The capability is supported. SUPPORTED = :supported # The capability is not supported. NOT_SUPPORTED = :not_supported # @!method self.values # @return [Array<Symbol>] end # The domestic push transfers capability. # # @see Increase::Models::Simulations::CardTokenCreateParams::Capability#domestic_push_transfers module DomesticPushTransfers extend Increase::Internal::Type::Enum # The capability is supported. SUPPORTED = :supported # The capability is not supported. NOT_SUPPORTED = :not_supported # @!method self.values # @return [Array<Symbol>] end # The route of the capability. # # @see Increase::Models::Simulations::CardTokenCreateParams::Capability#route module Route extend Increase::Internal::Type::Enum # Visa and Interlink VISA = :visa # Mastercard and Maestro MASTERCARD = :mastercard # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#cross_border_push_transfers ⇒ Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers
The cross-border push transfers capability.
60 61 |
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 60 required :cross_border_push_transfers, enum: -> { Increase::Simulations::CardTokenCreateParams::Capability::CrossBorderPushTransfers } |
#domestic_push_transfers ⇒ Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers
The domestic push transfers capability.
67 68 |
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 67 required :domestic_push_transfers, enum: -> { Increase::Simulations::CardTokenCreateParams::Capability::DomesticPushTransfers } |
#route ⇒ Symbol, Increase::Models::Simulations::CardTokenCreateParams::Capability::Route
The route of the capability.
74 |
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 74 required :route, enum: -> { Increase::Simulations::CardTokenCreateParams::Capability::Route } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 95
|