Class: DeliveryFivePostClient::Models::WebhookCreateOrderStatusParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DeliveryFivePostClient::Models::WebhookCreateOrderStatusParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/delivery_five_post_client/models/webhook_create_order_status_params.rb
Overview
Instance Attribute Summary collapse
-
#change_date ⇒ Time
Дата изменения статуса / Status change date.
-
#error_desc ⇒ String?
Описание ошибки / Error description.
-
#execution_status ⇒ Symbol, DeliveryFivePostClient::Models::API::V1::ExecutionStatus
Статусы исполнения заказа / Order execution statuses.
-
#mile_type ⇒ Symbol, ...
Тип мили доставки / Delivery mile type.
-
#order_id ⇒ String
UUID в формате v4 / UUID in v4 format.
-
#sender_order_id ⇒ String
ID заказа партнера / Partner order ID.
-
#status ⇒ String
Статус заказа / Order status.
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(change_date:, execution_status:, order_id:, sender_order_id:, status:, error_desc: nil, mile_type: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/delivery_five_post_client/models/webhook_create_order_status_params.rb', line 54
|
Instance Attribute Details
#change_date ⇒ Time
Дата изменения статуса / Status change date
14 |
# File 'lib/delivery_five_post_client/models/webhook_create_order_status_params.rb', line 14 required :change_date, Time, api_name: :changeDate |
#error_desc ⇒ String?
Описание ошибки / Error description
46 |
# File 'lib/delivery_five_post_client/models/webhook_create_order_status_params.rb', line 46 optional :error_desc, String, api_name: :errorDesc |
#execution_status ⇒ Symbol, DeliveryFivePostClient::Models::API::V1::ExecutionStatus
Статусы исполнения заказа / Order execution statuses
20 21 22 |
# File 'lib/delivery_five_post_client/models/webhook_create_order_status_params.rb', line 20 required :execution_status, enum: -> { DeliveryFivePostClient::API::V1::ExecutionStatus }, api_name: :executionStatus |
#mile_type ⇒ Symbol, ...
Тип мили доставки / Delivery mile type
52 |
# File 'lib/delivery_five_post_client/models/webhook_create_order_status_params.rb', line 52 optional :mile_type, enum: -> { DeliveryFivePostClient::MileType }, api_name: :mileType |
#order_id ⇒ String
UUID в формате v4 / UUID in v4 format
28 |
# File 'lib/delivery_five_post_client/models/webhook_create_order_status_params.rb', line 28 required :order_id, String, api_name: :orderId |
#sender_order_id ⇒ String
ID заказа партнера / Partner order ID
34 |
# File 'lib/delivery_five_post_client/models/webhook_create_order_status_params.rb', line 34 required :sender_order_id, String, api_name: :senderOrderId |
#status ⇒ String
Статус заказа / Order status
40 |
# File 'lib/delivery_five_post_client/models/webhook_create_order_status_params.rb', line 40 required :status, String |