Struct google_content2_sandbox::OrdersCustomBatchRequestEntryCancelLineItem [] [src]

pub struct OrdersCustomBatchRequestEntryCancelLineItem {
    pub amount: Option<Price>,
    pub reason_text: Option<String>,
    pub reason: Option<String>,
    pub line_item_id: Option<String>,
    pub quantity: Option<u32>,
}

There is no detailed description.

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

Fields

Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order.

The explanation of the reason.

The reason for the cancellation.

The ID of the line item to cancel.

The quantity to cancel.

Trait Implementations

impl Default for OrdersCustomBatchRequestEntryCancelLineItem
[src]

Returns the "default value" for a type. Read more

impl Clone for OrdersCustomBatchRequestEntryCancelLineItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OrdersCustomBatchRequestEntryCancelLineItem
[src]

Formats the value using the given formatter.

impl Part for OrdersCustomBatchRequestEntryCancelLineItem
[src]