amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * 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
 */

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

/// InvalidSku : Contains detail about an invalid SKU
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InvalidSku {
    /// The seller SKU of the item.
    #[serde(rename = "SellerSKU", skip_serializing_if = "Option::is_none")]
    pub seller_sku: Option<String>,
    #[serde(rename = "ErrorReason", skip_serializing_if = "Option::is_none")]
    pub error_reason: Option<models::fulfillment_inbound_v0::ErrorReason>,
}

impl InvalidSku {
    /// Contains detail about an invalid SKU
    pub fn new() -> InvalidSku {
        InvalidSku {
            seller_sku: None,
            error_reason: None,
        }
    }
}