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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.