1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
/*
* Selling Partner API for Easy Ship
*
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
*
* The version of the OpenAPI document: 2022-03-23
* Contact: marketplaceapitest@amazon.com
* Generated by: https://openapi-generator.tech
*/
/// Item : Item identifier and serial number information.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct Item {
/// The Amazon-defined order item identifier.
#[serde(default, rename = "orderItemId", skip_serializing_if = "Option::is_none")]
pub order_item_id: Option<String>,
/// A list of serial numbers for the items associated with the `OrderItemId` value.
#[serde(default, rename = "orderItemSerialNumbers", skip_serializing_if = "Option::is_none")]
pub order_item_serial_numbers: Option<Vec<String>>,
}
impl Item {
/// Item identifier and serial number information.
pub fn new() -> Item {
Item {
order_item_id: None,
order_item_serial_numbers: None,
}
}
}