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 36 37 38 39 40 41 42 43
/*
* Selling Partner API for Fulfillment Inbound
*
* The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
*
* The version of the OpenAPI document: v0
*
* Generated by: https://openapi-generator.tech
*/
/// InboundShipmentPlanItem : Item information used to create an inbound shipment. Returned by the createInboundShipmentPlan operation.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct InboundShipmentPlanItem {
/// The seller SKU of the item.
#[serde(default, rename = "SellerSKU")]
pub seller_sku: String,
/// Amazon's fulfillment network SKU of the item.
#[serde(default, rename = "FulfillmentNetworkSKU")]
pub fulfillment_network_sku: String,
/// The item quantity.
#[serde(default, rename = "Quantity")]
pub quantity: i32,
/// A list of preparation instructions and who is responsible for that preparation.
#[serde(default, rename = "PrepDetailsList", skip_serializing_if = "Option::is_none")]
pub prep_details_list: Option<Vec<crate::models::PrepDetails>>,
}
impl InboundShipmentPlanItem {
/// Item information used to create an inbound shipment. Returned by the createInboundShipmentPlan operation.
pub fn new(seller_sku: String, fulfillment_network_sku: String, quantity: i32) -> InboundShipmentPlanItem {
InboundShipmentPlanItem {
seller_sku,
fulfillment_network_sku,
quantity,
prep_details_list: None,
}
}
}