Class: Increase::Models::PhysicalCardCreateParams::Shipment::Address

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/physical_card_create_params.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Increase::Internal::Type::BaseModel

Instance Attribute Details

#cityString

The city of the shipping address.

Returns:

  • (String)


100
# File 'lib/increase/models/physical_card_create_params.rb', line 100

required :city, String

#line1String

The first line of the shipping address.

Returns:

  • (String)


106
# File 'lib/increase/models/physical_card_create_params.rb', line 106

required :line1, String

#line2String?

The second line of the shipping address.

Returns:

  • (String, nil)


130
# File 'lib/increase/models/physical_card_create_params.rb', line 130

optional :line2, String

#line3String?

The third line of the shipping address.

Returns:

  • (String, nil)


136
# File 'lib/increase/models/physical_card_create_params.rb', line 136

optional :line3, String

#nameString

The name of the recipient.

Returns:

  • (String)


112
# File 'lib/increase/models/physical_card_create_params.rb', line 112

required :name, String

#phone_numberString?

The phone number of the recipient.

Returns:

  • (String, nil)


142
# File 'lib/increase/models/physical_card_create_params.rb', line 142

optional :phone_number, String

#postal_codeString

The postal code of the shipping address.

Returns:

  • (String)


118
# File 'lib/increase/models/physical_card_create_params.rb', line 118

required :postal_code, String

#stateString

The US state of the shipping address.

Returns:

  • (String)


124
# File 'lib/increase/models/physical_card_create_params.rb', line 124

required :state, String