pub struct OrdersRejectReturnLineItemRequest {
pub line_item_id: Option<String>,
pub operation_id: Option<String>,
pub product_id: Option<String>,
pub quantity: Option<u32>,
pub reason: Option<String>,
pub reason_text: Option<String>,
}
Expand description
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).
- rejectreturnlineitem orders (request)
Fields§
§line_item_id: Option<String>
The ID of the line item to return. Either lineItemId or productId is required.
operation_id: Option<String>
The ID of the operation. Unique across all operations for a given order.
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.
quantity: Option<u32>
The quantity to return and refund.
reason: Option<String>
The reason for the return. Acceptable values are: - “damagedOrUsed
” - “missingComponent
” - “notEligible
” - “other
” - “outOfReturnWindow
”
reason_text: Option<String>
The explanation of the reason.
Trait Implementations§
source§impl Clone for OrdersRejectReturnLineItemRequest
impl Clone for OrdersRejectReturnLineItemRequest
source§fn clone(&self) -> OrdersRejectReturnLineItemRequest
fn clone(&self) -> OrdersRejectReturnLineItemRequest
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 Default for OrdersRejectReturnLineItemRequest
impl Default for OrdersRejectReturnLineItemRequest
source§fn default() -> OrdersRejectReturnLineItemRequest
fn default() -> OrdersRejectReturnLineItemRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrdersRejectReturnLineItemRequest
impl<'de> Deserialize<'de> for OrdersRejectReturnLineItemRequest
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
impl RequestValue for OrdersRejectReturnLineItemRequest
Auto Trait Implementations§
impl RefUnwindSafe for OrdersRejectReturnLineItemRequest
impl Send for OrdersRejectReturnLineItemRequest
impl Sync for OrdersRejectReturnLineItemRequest
impl Unpin for OrdersRejectReturnLineItemRequest
impl UnwindSafe for OrdersRejectReturnLineItemRequest
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