use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SkuQuantity {
#[serde(rename = "expectedQuantity")]
pub expected_quantity: Box<models::awd_2024_05_09::InventoryQuantity>,
#[serde(rename = "receivedQuantity", skip_serializing_if = "Option::is_none")]
pub received_quantity: Option<Box<models::awd_2024_05_09::InventoryQuantity>>,
#[serde(rename = "sku")]
pub sku: String,
}
impl SkuQuantity {
pub fn new(expected_quantity: models::awd_2024_05_09::InventoryQuantity, sku: String) -> SkuQuantity {
SkuQuantity {
expected_quantity: Box::new(expected_quantity),
received_quantity: None,
sku,
}
}
}