Class: DeliveryFivePostClient::Models::API::V1::Partners::Orders::CargoUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DeliveryFivePostClient::Models::API::V1::Partners::Orders::CargoUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb
Overview
Instance Attribute Summary collapse
-
#height ⇒ Float?
Новая высота в см / New height in cm.
-
#length ⇒ Float?
Новая длина в см / New length in cm.
-
#order_id ⇒ String
UUID в формате v4 / UUID in v4 format.
-
#price ⇒ Float?
Новая цена / New price.
-
#product_values ⇒ Array<DeliveryFivePostClient::Models::API::V1::Partners::Orders::ProductValue>?
Обновленные товарные позиции / Updated product values.
-
#vat ⇒ Float, ...
Ставка НДС (%) / VAT rate (%).
-
#vendor ⇒ DeliveryFivePostClient::Models::API::V1::Partners::Orders::VendorInfo?
Информация о поставщике / Vendor information.
-
#weight ⇒ Float?
Новый вес в кг / New weight in kg.
-
#width ⇒ Float?
Новая ширина в см / New width in cm.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(order_id:, height: nil, length: nil, price: nil, product_values: nil, vat: nil, vendor: nil, weight: nil, width: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 72
|
Instance Attribute Details
#height ⇒ Float?
Новая высота в см / New height in cm
24 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 24 optional :height, Float |
#length ⇒ Float?
Новая длина в см / New length in cm
30 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 30 optional :length, Float |
#order_id ⇒ String
UUID в формате v4 / UUID in v4 format
18 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 18 required :order_id, String |
#price ⇒ Float?
Новая цена / New price
36 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 36 optional :price, Float |
#product_values ⇒ Array<DeliveryFivePostClient::Models::API::V1::Partners::Orders::ProductValue>?
Обновленные товарные позиции / Updated product values
42 43 44 45 46 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 42 optional :product_values, -> { DeliveryFivePostClient::Internal::Type::ArrayOf[DeliveryFivePostClient::API::V1::Partners::Orders::ProductValue] }, api_name: :productValues |
#vat ⇒ Float, ...
Ставка НДС (%) / VAT rate (%)
52 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 52 optional :vat, enum: -> { DeliveryFivePostClient::API::V1::Partners::Orders::VatRate } |
#vendor ⇒ DeliveryFivePostClient::Models::API::V1::Partners::Orders::VendorInfo?
Информация о поставщике / Vendor information
58 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 58 optional :vendor, -> { DeliveryFivePostClient::API::V1::Partners::Orders::VendorInfo } |
#weight ⇒ Float?
Новый вес в кг / New weight in kg
64 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 64 optional :weight, Float |
#width ⇒ Float?
Новая ширина в см / New width in cm
70 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_update_params.rb', line 70 optional :width, Float |