Class: OpenApiSDK::Shared::Address

Inherits:
Utils::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/open_api_sdk/models/shared/address.rb

Instance Method Summary collapse

Methods included from MetadataFields

#field, #fields, included, #marshal_json, #marshal_single

Constructor Details

#initialize(address_type: nil, city: nil, country: nil, owner_type: nil, postal_code: nil, state: nil, street_1: nil, street_2: nil) ⇒ Address

Returns a new instance of Address.



33
34
35
36
37
38
39
40
41
42
# File 'lib/open_api_sdk/models/shared/address.rb', line 33

def initialize(address_type: nil, city: nil, country: nil, owner_type: nil, postal_code: nil, state: nil, street_1: nil, street_2: nil)
  @address_type = address_type
  @city = city
  @country = country
  @owner_type = owner_type
  @postal_code = postal_code
  @state = state
  @street_1 = street_1
  @street_2 = street_2
end