amazon_spapi/models/shipment_invoicing_v0/tax_classification.rs
1/*
2 * Selling Partner API for Shipment Invoicing
3 *
4 * The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.
5 *
6 * The version of the OpenAPI document: v0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// TaxClassification : The tax classification for the entity.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct TaxClassification {
17 /// The type of tax.
18 #[serde(rename = "Name", skip_serializing_if = "Option::is_none")]
19 pub name: Option<String>,
20 /// The entity's tax identifier.
21 #[serde(rename = "Value", skip_serializing_if = "Option::is_none")]
22 pub value: Option<String>,
23}
24
25impl TaxClassification {
26 /// The tax classification for the entity.
27 pub fn new() -> TaxClassification {
28 TaxClassification {
29 name: None,
30 value: None,
31 }
32 }
33}
34