Class: Increase::Models::PhysicalCardCreateParams::Shipment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::PhysicalCardCreateParams::Shipment
- Defined in:
- lib/increase/models/physical_card_create_params.rb
Defined Under Namespace
Modules: Method Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Increase::Models::PhysicalCardCreateParams::Shipment::Address
The address to where the card should be shipped.
-
#method_ ⇒ Symbol, Increase::Models::PhysicalCardCreateParams::Shipment::Method
The shipping method to use.
Instance Method Summary collapse
-
#initialize(city: , line1: , name: , postal_code: , state: , line2: nil, line3: nil, phone_number: nil) ⇒ Object
constructor
The address to where the card should be shipped.
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, 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(city: , line1: , name: , postal_code: , state: , line2: nil, line3: nil, phone_number: nil) ⇒ Object
The address to where the card should be shipped.
|
|
# File 'lib/increase/models/physical_card_create_params.rb', line 87
|
Instance Attribute Details
#address ⇒ Increase::Models::PhysicalCardCreateParams::Shipment::Address
The address to where the card should be shipped.
75 |
# File 'lib/increase/models/physical_card_create_params.rb', line 75 required :address, -> { Increase::PhysicalCardCreateParams::Shipment::Address } |
#method_ ⇒ Symbol, Increase::Models::PhysicalCardCreateParams::Shipment::Method
The shipping method to use.
81 82 83 84 85 |
# File 'lib/increase/models/physical_card_create_params.rb', line 81 required :method_, enum: -> { Increase::PhysicalCardCreateParams::Shipment::Method }, api_name: :method |