Struct google_content2::OrdersInStoreRefundLineItemRequest [−][src]
pub struct OrdersInStoreRefundLineItemRequest { pub quantity: Option<u32>, pub amount_pretax: Option<Price>, pub reason: Option<String>, pub reason_text: Option<String>, pub line_item_id: Option<String>, pub amount_tax: Option<Price>, pub product_id: Option<String>, pub operation_id: Option<String>, }
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).
- instorerefundlineitem orders (request)
Fields
quantity: Option<u32>
The quantity to return and refund.
amount_pretax: Option<Price>
The amount that is refunded. Required.
reason: Option<String>
The reason for the return.
reason_text: Option<String>
The explanation of the reason.
line_item_id: Option<String>
The ID of the line item to return. Either lineItemId or productId is required.
amount_tax: Option<Price>
Tax amount that correspond to refund amount in amountPretax. Required.
product_id: Option<String>
The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required.
operation_id: Option<String>
The ID of the operation. Unique across all operations for a given order.
Trait Implementations
impl Default for OrdersInStoreRefundLineItemRequest
[src]
impl Default for OrdersInStoreRefundLineItemRequest
fn default() -> OrdersInStoreRefundLineItemRequest
[src]
fn default() -> OrdersInStoreRefundLineItemRequest
Returns the "default value" for a type. Read more
impl Clone for OrdersInStoreRefundLineItemRequest
[src]
impl Clone for OrdersInStoreRefundLineItemRequest
fn clone(&self) -> OrdersInStoreRefundLineItemRequest
[src]
fn clone(&self) -> OrdersInStoreRefundLineItemRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for OrdersInStoreRefundLineItemRequest
[src]
impl Debug for OrdersInStoreRefundLineItemRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for OrdersInStoreRefundLineItemRequest
[src]
impl RequestValue for OrdersInStoreRefundLineItemRequest
Auto Trait Implementations
impl Send for OrdersInStoreRefundLineItemRequest
impl Send for OrdersInStoreRefundLineItemRequest
impl Sync for OrdersInStoreRefundLineItemRequest
impl Sync for OrdersInStoreRefundLineItemRequest