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>,
}

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

impl Clone for PosCustomBatchRequestEntry[src]

impl Debug for PosCustomBatchRequestEntry[src]

impl Default for PosCustomBatchRequestEntry[src]

impl<'de> Deserialize<'de> for PosCustomBatchRequestEntry[src]

impl Part for PosCustomBatchRequestEntry[src]

impl Serialize for PosCustomBatchRequestEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.