Struct google_content2::OrdersCustomBatchRequestEntryInStoreRefundLineItem [−][src]
pub struct OrdersCustomBatchRequestEntryInStoreRefundLineItem { pub amount_pretax: Option<Price>, pub reason_text: Option<String>, pub line_item_id: Option<String>, pub amount_tax: Option<Price>, pub quantity: Option<u32>, pub reason: Option<String>, pub product_id: Option<String>, }
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
amount_pretax: Option<Price>
The amount that is refunded. Required.
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.
quantity: Option<u32>
The quantity to return and refund.
reason: Option<String>
The reason for the return.
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.
Trait Implementations
impl Default for OrdersCustomBatchRequestEntryInStoreRefundLineItem
[src]
impl Default for OrdersCustomBatchRequestEntryInStoreRefundLineItem
fn default() -> OrdersCustomBatchRequestEntryInStoreRefundLineItem
[src]
fn default() -> OrdersCustomBatchRequestEntryInStoreRefundLineItem
Returns the "default value" for a type. Read more
impl Clone for OrdersCustomBatchRequestEntryInStoreRefundLineItem
[src]
impl Clone for OrdersCustomBatchRequestEntryInStoreRefundLineItem
fn clone(&self) -> OrdersCustomBatchRequestEntryInStoreRefundLineItem
[src]
fn clone(&self) -> OrdersCustomBatchRequestEntryInStoreRefundLineItem
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for OrdersCustomBatchRequestEntryInStoreRefundLineItem
[src]
impl Debug for OrdersCustomBatchRequestEntryInStoreRefundLineItem
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 Part for OrdersCustomBatchRequestEntryInStoreRefundLineItem
[src]
impl Part for OrdersCustomBatchRequestEntryInStoreRefundLineItem