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, Schedule 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.
-
#schedule ⇒ Symbol, ...
When this physical card should be produced by the card printer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(city: , line1: , name: , postal_code: , state: , country: nil, line2: nil, line3: nil, phone_number: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Address for more details.
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(city: , line1: , name: , postal_code: , state: , country: nil, line2: nil, line3: nil, phone_number: nil) ⇒ Object
Some parameter documentations has been truncated, see Address for more details.
The address to where the card should be shipped.
|
|
# File 'lib/increase/models/physical_card_create_params.rb', line 97
|
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 |
#schedule ⇒ Symbol, ...
When this physical card should be produced by the card printer. The default timeline is the day after the card printer receives the order, except for ‘FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use faster production methods, please reach out to [[email protected]]([email protected]).
95 |
# File 'lib/increase/models/physical_card_create_params.rb', line 95 optional :schedule, enum: -> { Increase::PhysicalCardCreateParams::Shipment::Schedule } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/physical_card_create_params.rb', line 212
|