amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * The Selling Partner API for FBA inbound operations.
 *
 * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon's fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
 *
 * The version of the OpenAPI document: 2024-03-20
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// ComplianceDetail : Contains item identifiers and related tax information.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ComplianceDetail {
    /// The Amazon Standard Identification Number, which identifies the detail page identifier.
    #[serde(rename = "asin", skip_serializing_if = "Option::is_none")]
    pub asin: Option<String>,
    /// The Fulfillment Network SKU, which identifies a real fulfillable item with catalog data and condition.
    #[serde(rename = "fnsku", skip_serializing_if = "Option::is_none")]
    pub fnsku: Option<String>,
    /// The merchant SKU, a merchant-supplied identifier for a specific SKU.
    #[serde(rename = "msku", skip_serializing_if = "Option::is_none")]
    pub msku: Option<String>,
    #[serde(rename = "taxDetails", skip_serializing_if = "Option::is_none")]
    pub tax_details: Option<Box<models::fulfillment_inbound_2024_03_20::TaxDetails>>,
}

impl ComplianceDetail {
    /// Contains item identifiers and related tax information.
    pub fn new() -> ComplianceDetail {
        ComplianceDetail {
            asin: None,
            fnsku: None,
            msku: None,
            tax_details: None,
        }
    }
}