Class: DeliveryFivePostClient::Models::API::V1::Partners::WarehouseUpdateParams::Address
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DeliveryFivePostClient::Models::API::V1::Partners::WarehouseUpdateParams::Address
- Defined in:
- lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb
Instance Attribute Summary collapse
-
#city ⇒ String?
Город / City.
-
#country ⇒ String?
Страна / Country.
-
#flat ⇒ String?
Квартира/офис / Apartment/office.
-
#house ⇒ String?
Номер дома / House number.
-
#region ⇒ String?
Регион / Region.
-
#street ⇒ String?
Улица / Street.
-
#zip_code ⇒ String?
Почтовый индекс / ZIP code.
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
#initialize(address: nil, contacts: nil, name: nil, request_options: {}) ⇒ Object
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb', line 40 class Address < DeliveryFivePostClient::Internal::Type::BaseModel # @!attribute city # Город / City # # @return [String, nil] optional :city, String # @!attribute country # Страна / Country # # @return [String, nil] optional :country, String # @!attribute flat # Квартира/офис / Apartment/office # # @return [String, nil] optional :flat, String # @!attribute house # Номер дома / House number # # @return [String, nil] optional :house, String # @!attribute region # Регион / Region # # @return [String, nil] optional :region, String # @!attribute street # Улица / Street # # @return [String, nil] optional :street, String # @!attribute zip_code # Почтовый индекс / ZIP code # # @return [String, nil] optional :zip_code, String, api_name: :zipCode # @!method initialize(city: nil, country: nil, flat: nil, house: nil, region: nil, street: nil, zip_code: nil) # Обновление адреса / Address update # # @param city [String] Город / City # # @param country [String] Страна / Country # # @param flat [String] Квартира/офис / Apartment/office # # @param house [String] Номер дома / House number # # @param region [String] Регион / Region # # @param street [String] Улица / Street # # @param zip_code [String] Почтовый индекс / ZIP code end |
Instance Attribute Details
#city ⇒ String?
Город / City
45 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb', line 45 optional :city, String |
#country ⇒ String?
Страна / Country
51 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb', line 51 optional :country, String |
#flat ⇒ String?
Квартира/офис / Apartment/office
57 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb', line 57 optional :flat, String |
#house ⇒ String?
Номер дома / House number
63 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb', line 63 optional :house, String |
#region ⇒ String?
Регион / Region
69 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb', line 69 optional :region, String |
#street ⇒ String?
Улица / Street
75 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb', line 75 optional :street, String |
#zip_code ⇒ String?
Почтовый индекс / ZIP code
81 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/warehouse_update_params.rb', line 81 optional :zip_code, String, api_name: :zipCode |