squareup 2.13.0

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Model for OrderFulfillmentFulfillmentLineItemApplication enum

use serde::{Deserialize, Serialize};

/// The `line_item_application` describes what order line items this fulfillment applies to.
///
/// It can be `ALL` or `ENTRY_LIST` with a supplied list of fulfillment entries.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum OrderFulfillmentFulfillmentLineItemApplication {
    /// If `ALL`, `entries` must be unset.
    All,
    /// If `ENTRY_LIST`, supply a list of `entries`.
    EntryList,
}