Class: Increase::Models::CardCreateParams::AuthorizationControls::MerchantCountry::Blocked
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardCreateParams::AuthorizationControls::MerchantCountry::Blocked
- Defined in:
- lib/increase/models/card_create_params.rb,
sig/increase/models/card_create_params.rbs
Instance Attribute Summary collapse
-
#country ⇒ String
The ISO 3166-1 alpha-2 country code.
Instance Method Summary collapse
-
#initialize ⇒ Blocked
constructor
A new instance of Blocked.
- #to_hash ⇒ { country: String }
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 ⇒ Blocked
Returns a new instance of Blocked.
257 |
# File 'sig/increase/models/card_create_params.rbs', line 257
def initialize: (country: String) -> void
|
Instance Attribute Details
#country ⇒ String
The ISO 3166-1 alpha-2 country code.
265 |
# File 'lib/increase/models/card_create_params.rb', line 265 required :country, String |
Instance Method Details
#to_hash ⇒ { country: String }
259 |
# File 'sig/increase/models/card_create_params.rbs', line 259
def to_hash: -> { country: String }
|