Class: DeliveryFivePostClient::Models::API::V1::Partners::OrderC2cParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DeliveryFivePostClient::Models::API::V1::Partners::OrderC2cParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb
Overview
Instance Attribute Summary collapse
-
#cargoes ⇒ Array<DeliveryFivePostClient::Models::API::V1::Cargo>
Грузоместа / Cargoes.
-
#client_order_id ⇒ String?
ID заказа клиента / Client order ID.
-
#cost ⇒ DeliveryFivePostClient::Models::API::V1::OrderCost
Стоимостные параметры заказа / Order cost parameters.
-
#receiver ⇒ DeliveryFivePostClient::Models::API::V1::ClientInfo
Информация о клиенте / Client information.
-
#receiver_location ⇒ DeliveryFivePostClient::Models::API::V1::ReceiverLocation
Точка получения / Receiver location.
-
#sender ⇒ DeliveryFivePostClient::Models::API::V1::ClientInfo
Информация о клиенте / Client information.
-
#sender_location ⇒ DeliveryFivePostClient::Models::API::V1::ReceiverLocation
Точка получения / Receiver location.
-
#sender_order_id ⇒ String
ID заказа отправителя / Sender order ID.
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(cargoes:, cost:, receiver:, receiver_location:, sender:, sender_location:, sender_order_id:, client_order_id: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 66
|
Instance Attribute Details
#cargoes ⇒ Array<DeliveryFivePostClient::Models::API::V1::Cargo>
Грузоместа / Cargoes
17 18 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 17 required :cargoes, -> { DeliveryFivePostClient::Internal::Type::ArrayOf[DeliveryFivePostClient::API::V1::Cargo] } |
#client_order_id ⇒ String?
ID заказа клиента / Client order ID
64 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 64 optional :client_order_id, String, api_name: :clientOrderId |
#cost ⇒ DeliveryFivePostClient::Models::API::V1::OrderCost
Стоимостные параметры заказа / Order cost parameters
24 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 24 required :cost, -> { DeliveryFivePostClient::API::V1::OrderCost } |
#receiver ⇒ DeliveryFivePostClient::Models::API::V1::ClientInfo
Информация о клиенте / Client information
30 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 30 required :receiver, -> { DeliveryFivePostClient::API::V1::ClientInfo } |
#receiver_location ⇒ DeliveryFivePostClient::Models::API::V1::ReceiverLocation
Точка получения / Receiver location
36 37 38 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 36 required :receiver_location, -> { DeliveryFivePostClient::API::V1::ReceiverLocation }, api_name: :receiverLocation |
#sender ⇒ DeliveryFivePostClient::Models::API::V1::ClientInfo
Информация о клиенте / Client information
44 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 44 required :sender, -> { DeliveryFivePostClient::API::V1::ClientInfo } |
#sender_location ⇒ DeliveryFivePostClient::Models::API::V1::ReceiverLocation
Точка получения / Receiver location
50 51 52 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 50 required :sender_location, -> { DeliveryFivePostClient::API::V1::ReceiverLocation }, api_name: :senderLocation |
#sender_order_id ⇒ String
ID заказа отправителя / Sender order ID
58 |
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_c2c_params.rb', line 58 required :sender_order_id, String, api_name: :senderOrderId |