square_api_client/models/enums/order_fulfillment_state.rs
1//! Model for OrderFulfillmentState enum
2
3use serde::{Deserialize, Serialize};
4
5/// The current state of this fulfillment.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum OrderFulfillmentState {
9 /// Indicates that the fulfillment has been proposed.
10 Proposed,
11 /// Indicates that the fulfillment has been reserved.
12 Reserved,
13 /// Indicates that the fulfillment has been prepared.
14 Prepared,
15 /// Indicates that the fulfillment was successfully completed.
16 Completed,
17 /// Indicates that the fulfillment was canceled.
18 Canceled,
19 /// Indicates that the fulfillment failed to be completed, but was not explicitly canceled.
20 Failed,
21}