Struct google_content2_sandbox::OrdersCancelLineItemRequest [] [src]

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

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

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 ID of the line item to cancel.

The ID of the operation. Unique across all operations for a given order.

The reason for the cancellation.

The quantity to cancel.

Trait Implementations

impl Default for OrdersCancelLineItemRequest
[src]

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

impl Clone for OrdersCancelLineItemRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OrdersCancelLineItemRequest
[src]

Formats the value using the given formatter.

impl RequestValue for OrdersCancelLineItemRequest
[src]