pub struct ReturnItem {
pub seller_return_item_id: String,
pub seller_fulfillment_order_item_id: String,
pub amazon_shipment_id: String,
pub seller_return_reason_code: String,
pub return_comment: Option<String>,
pub amazon_return_reason_code: Option<String>,
pub status: FulfillmentReturnItemStatus,
pub status_changed_date: String,
pub return_authorization_id: Option<String>,
pub return_received_condition: Option<ReturnItemDisposition>,
pub fulfillment_center_id: Option<String>,
}Expand description
ReturnItem : An item that Amazon accepted for return.
Fields
seller_return_item_id: StringAn identifier assigned by the seller to the return item.
seller_fulfillment_order_item_id: StringThe identifier assigned to the item by the seller when the fulfillment order was created.
amazon_shipment_id: StringThe identifier for the shipment that is associated with the return item.
seller_return_reason_code: StringThe return reason code assigned to the return item by the seller.
return_comment: Option<String>An optional comment about the return item.
amazon_return_reason_code: Option<String>The return reason code that the Amazon fulfillment center assigned to the return item.
status: FulfillmentReturnItemStatusstatus_changed_date: StringIdentifies the return authorization used to return this item. See ReturnAuthorization.
return_received_condition: Option<ReturnItemDisposition>fulfillment_center_id: Option<String>The identifier for the Amazon fulfillment center that processed the return item.
Implementations
sourceimpl ReturnItem
impl ReturnItem
sourcepub fn new(
seller_return_item_id: String,
seller_fulfillment_order_item_id: String,
amazon_shipment_id: String,
seller_return_reason_code: String,
status: FulfillmentReturnItemStatus,
status_changed_date: String
) -> ReturnItem
pub fn new(
seller_return_item_id: String,
seller_fulfillment_order_item_id: String,
amazon_shipment_id: String,
seller_return_reason_code: String,
status: FulfillmentReturnItemStatus,
status_changed_date: String
) -> ReturnItem
An item that Amazon accepted for return.
Trait Implementations
sourceimpl Clone for ReturnItem
impl Clone for ReturnItem
sourcefn clone(&self) -> ReturnItem
fn clone(&self) -> ReturnItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ReturnItem
impl Debug for ReturnItem
sourceimpl Default for ReturnItem
impl Default for ReturnItem
sourcefn default() -> ReturnItem
fn default() -> ReturnItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ReturnItem
impl<'de> Deserialize<'de> for ReturnItem
sourcefn 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
sourceimpl PartialEq<ReturnItem> for ReturnItem
impl PartialEq<ReturnItem> for ReturnItem
sourcefn eq(&self, other: &ReturnItem) -> bool
fn eq(&self, other: &ReturnItem) -> bool
sourceimpl Serialize for ReturnItem
impl Serialize for ReturnItem
impl StructuralPartialEq for ReturnItem
Auto Trait Implementations
impl RefUnwindSafe for ReturnItem
impl Send for ReturnItem
impl Sync for ReturnItem
impl Unpin for ReturnItem
impl UnwindSafe for ReturnItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more