amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner APIs for Fulfillment Outbound
 *
 * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.
 *
 * The version of the OpenAPI document: 2020-07-01
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// FeatureSku : Information about an SKU, including the count available, identifiers, and a list of overlapping SKUs that share the same inventory pool.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FeatureSku {
    /// Used to identify an item in the given marketplace. `SellerSKU` is qualified by the seller's SellerId, which is included with every operation that you submit.
    #[serde(rename = "sellerSku", skip_serializing_if = "Option::is_none")]
    pub seller_sku: Option<String>,
    /// The unique SKU used by Amazon's fulfillment network.
    #[serde(rename = "fnSku", skip_serializing_if = "Option::is_none")]
    pub fn_sku: Option<String>,
    /// The Amazon Standard Identification Number (ASIN) of the item.
    #[serde(rename = "asin", skip_serializing_if = "Option::is_none")]
    pub asin: Option<String>,
    /// The number of SKUs available for this service.
    #[serde(rename = "skuCount", skip_serializing_if = "Option::is_none")]
    pub sku_count: Option<f64>,
    /// Other seller SKUs that are shared across the same inventory.
    #[serde(rename = "overlappingSkus", skip_serializing_if = "Option::is_none")]
    pub overlapping_skus: Option<Vec<String>>,
}

impl FeatureSku {
    /// Information about an SKU, including the count available, identifiers, and a list of overlapping SKUs that share the same inventory pool.
    pub fn new() -> FeatureSku {
        FeatureSku {
            seller_sku: None,
            fn_sku: None,
            asin: None,
            sku_count: None,
            overlapping_skus: None,
        }
    }
}