Class: Increase::Models::PhysicalCard::Shipment::Address

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/physical_card.rb,
sig/increase/models/physical_card.rbs

Overview

See Also:

  • Increase::Models::PhysicalCard::Shipment#address

Instance Attribute 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

#initializeObject



141
# File 'sig/increase/models/physical_card.rbs', line 141

def initialize: (

Instance Attribute Details

#cityString

The city of the shipping address.

Parameters:

Returns:



190
# File 'lib/increase/models/physical_card.rb', line 190

required :city, String

#countryString

The country of the shipping address.

Parameters:

Returns:



196
# File 'lib/increase/models/physical_card.rb', line 196

required :country, String

#line1String

The first line of the shipping address.

Parameters:

Returns:



202
# File 'lib/increase/models/physical_card.rb', line 202

required :line1, String

#line2String?

The second line of the shipping address.

Parameters:

Returns:



208
# File 'lib/increase/models/physical_card.rb', line 208

required :line2, String, nil?: true

#line3String?

The third line of the shipping address.

Parameters:

Returns:



214
# File 'lib/increase/models/physical_card.rb', line 214

required :line3, String, nil?: true

#nameString

The name of the recipient.

Parameters:

Returns:



220
# File 'lib/increase/models/physical_card.rb', line 220

required :name, String

#postal_codeString

The postal code of the shipping address.

Parameters:

Returns:



226
# File 'lib/increase/models/physical_card.rb', line 226

required :postal_code, String

#stateString

The state of the shipping address.

Parameters:

Returns:



232
# File 'lib/increase/models/physical_card.rb', line 232

required :state, String

Instance Method Details

#to_hash{

Returns:



152
# File 'sig/increase/models/physical_card.rbs', line 152

def to_hash: -> {