Class: Increase::Models::PhysicalCard::Shipment::Address
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::PhysicalCard::Shipment::Address
- Defined in:
- lib/increase/models/physical_card.rb,
sig/increase/models/physical_card.rbs
Overview
Instance Attribute Summary collapse
-
#city ⇒ String
The city of the shipping address.
-
#country ⇒ String
The country of the shipping address.
-
#line1 ⇒ String
The first line of the shipping address.
-
#line2 ⇒ String?
The second line of the shipping address.
-
#line3 ⇒ String?
The third line of the shipping address.
-
#name ⇒ String
The name of the recipient.
-
#postal_code ⇒ String
The postal code of the shipping address.
-
#state ⇒ String
The state of the shipping address.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
141 |
# File 'sig/increase/models/physical_card.rbs', line 141 def initialize: ( |
Instance Attribute Details
#city ⇒ String
The city of the shipping address.
190 |
# File 'lib/increase/models/physical_card.rb', line 190 required :city, String |
#country ⇒ String
The country of the shipping address.
196 |
# File 'lib/increase/models/physical_card.rb', line 196 required :country, String |
#line1 ⇒ String
The first line of the shipping address.
202 |
# File 'lib/increase/models/physical_card.rb', line 202 required :line1, String |
#line2 ⇒ String?
The second line of the shipping address.
208 |
# File 'lib/increase/models/physical_card.rb', line 208 required :line2, String, nil?: true |
#line3 ⇒ String?
The third line of the shipping address.
214 |
# File 'lib/increase/models/physical_card.rb', line 214 required :line3, String, nil?: true |
#name ⇒ String
The name of the recipient.
220 |
# File 'lib/increase/models/physical_card.rb', line 220 required :name, String |
#postal_code ⇒ String
The postal code of the shipping address.
226 |
# File 'lib/increase/models/physical_card.rb', line 226 required :postal_code, String |
#state ⇒ String
The state of the shipping address.
232 |
# File 'lib/increase/models/physical_card.rb', line 232 required :state, String |
Instance Method Details
#to_hash ⇒ {
152 |
# File 'sig/increase/models/physical_card.rbs', line 152 def to_hash: -> { |