[][src]Struct google_content2::PosCustomBatchRequestEntry

pub struct PosCustomBatchRequestEntry {
    pub store_code: Option<String>,
    pub target_merchant_id: Option<String>,
    pub sale: Option<PosSale>,
    pub method: Option<String>,
    pub batch_id: Option<u32>,
    pub inventory: Option<PosInventory>,
    pub merchant_id: Option<String>,
    pub store: Option<PosStore>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

store_code: Option<String>

The store code. Set this only if the method is delete or get.

target_merchant_id: Option<String>

The ID of the account for which to get/submit data.

sale: Option<PosSale>

The sale information to submit. Set this only if the method is sale.

method: Option<String>

The method of the batch entry.

Acceptable values are:

  • "delete"
  • "get"
  • "insert"
  • "inventory"
  • "sale"
batch_id: Option<u32>

An entry ID, unique within the batch request.

inventory: Option<PosInventory>

The inventory to submit. Set this only if the method is inventory.

merchant_id: Option<String>

The ID of the POS data provider.

store: Option<PosStore>

The store information to submit. Set this only if the method is insert.

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

impl<T> Typeable for T where
    T: Any