Struct google_content2::api::MerchantOrderReturn
source · pub struct MerchantOrderReturn {
pub creation_date: Option<String>,
pub merchant_order_id: Option<String>,
pub order_id: Option<String>,
pub order_return_id: Option<String>,
pub return_items: Option<Vec<MerchantOrderReturnItem>>,
pub return_shipments: Option<Vec<ReturnShipment>>,
}
Expand description
Order return. Production access (all methods) requires the order manager role. Sandbox access does not.
§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).
- get orderreturns (response)
Fields§
§creation_date: Option<String>
The date of creation of the return, in ISO 8601 format.
merchant_order_id: Option<String>
Merchant defined order ID.
order_id: Option<String>
Google order ID.
order_return_id: Option<String>
Order return ID generated by Google.
return_items: Option<Vec<MerchantOrderReturnItem>>
Items of the return.
return_shipments: Option<Vec<ReturnShipment>>
Shipments of the return.
Trait Implementations§
source§impl Clone for MerchantOrderReturn
impl Clone for MerchantOrderReturn
source§fn clone(&self) -> MerchantOrderReturn
fn clone(&self) -> MerchantOrderReturn
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MerchantOrderReturn
impl Debug for MerchantOrderReturn
source§impl Default for MerchantOrderReturn
impl Default for MerchantOrderReturn
source§fn default() -> MerchantOrderReturn
fn default() -> MerchantOrderReturn
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MerchantOrderReturn
impl<'de> Deserialize<'de> for MerchantOrderReturn
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for MerchantOrderReturn
impl Serialize for MerchantOrderReturn
impl ResponseResult for MerchantOrderReturn
Auto Trait Implementations§
impl RefUnwindSafe for MerchantOrderReturn
impl Send for MerchantOrderReturn
impl Sync for MerchantOrderReturn
impl Unpin for MerchantOrderReturn
impl UnwindSafe for MerchantOrderReturn
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more