Struct google_content2_sandbox::OrdersRefundRequest [−][src]
pub struct OrdersRefundRequest { pub amount_pretax: Option<Price>, pub reason_text: Option<String>, pub reason: Option<String>, pub amount_tax: Option<Price>, pub amount: Option<Price>, 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).
- refund orders (request)
Fields
amount_pretax: Option<Price>
The amount that is refunded. Either amount or amountPretax and amountTax should be filled.
reason_text: Option<String>
The explanation of the reason.
reason: Option<String>
The reason for the refund.
amount_tax: Option<Price>
Tax amount that correspond to refund amount in amountPretax.
amount: Option<Price>
Deprecated. Please use amountPretax and amountTax instead.
operation_id: Option<String>
The ID of the operation. Unique across all operations for a given order.
Trait Implementations
impl Default for OrdersRefundRequest
[src]
impl Default for OrdersRefundRequest
fn default() -> OrdersRefundRequest
[src]
fn default() -> OrdersRefundRequest
Returns the "default value" for a type. Read more
impl Clone for OrdersRefundRequest
[src]
impl Clone for OrdersRefundRequest
fn clone(&self) -> OrdersRefundRequest
[src]
fn clone(&self) -> OrdersRefundRequest
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 OrdersRefundRequest
[src]
impl Debug for OrdersRefundRequest
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 OrdersRefundRequest
[src]
impl RequestValue for OrdersRefundRequest
Auto Trait Implementations
impl Send for OrdersRefundRequest
impl Send for OrdersRefundRequest
impl Sync for OrdersRefundRequest
impl Sync for OrdersRefundRequest