Class: ModernTreasury::Models::InvoiceCreateParams::InvoicerAddress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::InvoiceCreateParams::InvoicerAddress
- Defined in:
- lib/modern_treasury/models/invoice_create_params.rb,
sig/modern_treasury/models/invoice_create_params.rbs
Instance Attribute Summary collapse
-
#country ⇒ String
Country code conforms to [ISO 3166-1 alpha-2].
- #line1 ⇒ String
- #line2 ⇒ String?
-
#locality ⇒ String
Locality or City.
-
#postal_code ⇒ String
The postal code of the address.
-
#region ⇒ String
Region or State.
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
334 |
# File 'sig/modern_treasury/models/invoice_create_params.rbs', line 334
def initialize: (
|
Instance Attribute Details
#country ⇒ String
Country code conforms to [ISO 3166-1 alpha-2]
413 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 413 required :country, String |
#line1 ⇒ String
418 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 418 required :line1, String |
#line2 ⇒ String?
441 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 441 optional :line2, String |
#locality ⇒ String
Locality or City.
424 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 424 required :locality, String |
#postal_code ⇒ String
The postal code of the address.
430 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 430 required :postal_code, String |
#region ⇒ String
Region or State.
436 |
# File 'lib/modern_treasury/models/invoice_create_params.rb', line 436 required :region, String |
Instance Method Details
#to_hash ⇒ {
343 |
# File 'sig/modern_treasury/models/invoice_create_params.rbs', line 343
def to_hash: -> {
|