Class: DeliveryFivePostClient::Models::API::V1::Partners::Orders::CargoCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DeliveryFivePostClient::Models::API::V1::Partners::Orders::CargoCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb
Overview
Instance Attribute Summary collapse
-
#barcode ⇒ String?
Штрих-код грузоместа / Cargo barcode.
-
#height ⇒ Float
Высота в см / Height in cm.
-
#length ⇒ Float
Длина в см / Length in cm.
-
#price ⇒ Float
Цена грузоместа / Cargo price.
-
#product_values ⇒ Array<DeliveryFivePostClient::Models::API::V1::Partners::Orders::ProductValue>
Товарные позиции / Product values.
-
#sender_cargo_id ⇒ String
ID грузоместа партнера / Partner cargo ID.
-
#vat ⇒ Float, ...
Ставка НДС (%) / VAT rate (%).
-
#vendor ⇒ DeliveryFivePostClient::Models::API::V1::Partners::Orders::VendorInfo?
Информация о поставщике / Vendor information.
-
#weight ⇒ Float
Вес в кг / Weight in kg.
-
#width ⇒ Float
Ширина в см / 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(height:, length:, price:, product_values:, sender_cargo_id:, weight:, width:, barcode: nil, vat: nil, vendor: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 78
|
Instance Attribute Details
#barcode ⇒ String?
Штрих-код грузоместа / Cargo barcode
64 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 64 optional :barcode, String |
#height ⇒ Float
Высота в см / Height in cm
18 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 18 required :height, Float |
#length ⇒ Float
Длина в см / Length in cm
24 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 24 required :length, Float |
#price ⇒ Float
Цена грузоместа / Cargo price
30 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 30 required :price, Float |
#product_values ⇒ Array<DeliveryFivePostClient::Models::API::V1::Partners::Orders::ProductValue>
Товарные позиции / Product values
36 37 38 39 40 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 36 required :product_values, -> { DeliveryFivePostClient::Internal::Type::ArrayOf[DeliveryFivePostClient::API::V1::Partners::Orders::ProductValue] }, api_name: :productValues |
#sender_cargo_id ⇒ String
ID грузоместа партнера / Partner cargo ID
46 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 46 required :sender_cargo_id, String, api_name: :senderCargoId |
#vat ⇒ Float, ...
Ставка НДС (%) / VAT rate (%)
70 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 70 optional :vat, enum: -> { DeliveryFivePostClient::API::V1::Partners::Orders::VatRate } |
#vendor ⇒ DeliveryFivePostClient::Models::API::V1::Partners::Orders::VendorInfo?
Информация о поставщике / Vendor information
76 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 76 optional :vendor, -> { DeliveryFivePostClient::API::V1::Partners::Orders::VendorInfo } |
#weight ⇒ Float
Вес в кг / Weight in kg
52 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 52 required :weight, Float |
#width ⇒ Float
Ширина в см / Width in cm
58 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/orders/cargo_create_params.rb', line 58 required :width, Float |