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};

/// InvalidAsin : Contains details about an invalid ASIN
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InvalidAsin {
    /// The Amazon Standard Identification Number (ASIN) of the item.
    #[serde(rename = "ASIN", skip_serializing_if = "Option::is_none")]
    pub asin: Option<String>,
    #[serde(rename = "ErrorReason", skip_serializing_if = "Option::is_none")]
    pub error_reason: Option<models::fulfillment_inbound_v0::ErrorReason>,
}

impl InvalidAsin {
    /// Contains details about an invalid ASIN
    pub fn new() -> InvalidAsin {
        InvalidAsin {
            asin: None,
            error_reason: None,
        }
    }
}