amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for Orders
 *
 * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools.   _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).
 *
 * The version of the OpenAPI document: v0
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// MarketplaceTaxInfo : Tax information about the marketplace.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MarketplaceTaxInfo {
    /// A list of tax classifications that apply to the order.
    #[serde(rename = "TaxClassifications", skip_serializing_if = "Option::is_none")]
    pub tax_classifications: Option<Vec<models::orders_v0::TaxClassification>>,
}

impl MarketplaceTaxInfo {
    /// Tax information about the marketplace.
    pub fn new() -> MarketplaceTaxInfo {
        MarketplaceTaxInfo {
            tax_classifications: None,
        }
    }
}