Struct google_content2::api::PosCustomBatchRequestEntry [−][src]
pub struct PosCustomBatchRequestEntry {
pub batch_id: Option<u32>,
pub inventory: Option<PosInventory>,
pub merchant_id: Option<String>,
pub method: Option<String>,
pub sale: Option<PosSale>,
pub store: Option<PosStore>,
pub store_code: Option<String>,
pub target_merchant_id: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
batch_id: Option<u32>An entry ID, unique within the batch request.
inventory: Option<PosInventory>The inventory to submit. This should be set only if the method is inventory.
merchant_id: Option<String>The ID of the POS data provider.
method: Option<String>The method of the batch entry. Acceptable values are: - “delete” - “get” - “insert” - “inventory” - “sale”
sale: Option<PosSale>The sale information to submit. This should be set only if the method is sale.
store: Option<PosStore>The store information to submit. This should be set only if the method is insert.
store_code: Option<String>The store code. This should be set only if the method is delete or get.
target_merchant_id: Option<String>The ID of the account for which to get/submit data.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PosCustomBatchRequestEntry
impl Send for PosCustomBatchRequestEntry
impl Sync for PosCustomBatchRequestEntry
impl Unpin for PosCustomBatchRequestEntry
impl UnwindSafe for PosCustomBatchRequestEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more