1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* 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};
/// TaxRate : Contains the type and rate of tax.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TaxRate {
/// Rate of cess tax.
#[serde(rename = "cessRate", skip_serializing_if = "Option::is_none")]
pub cess_rate: Option<f64>,
/// Rate of gst tax.
#[serde(rename = "gstRate", skip_serializing_if = "Option::is_none")]
pub gst_rate: Option<f64>,
/// Type of tax. Possible values: `CGST`, `SGST`, `IGST`, `TOTAL_TAX`.
#[serde(rename = "taxType", skip_serializing_if = "Option::is_none")]
pub tax_type: Option<String>,
}
impl TaxRate {
/// Contains the type and rate of tax.
pub fn new() -> TaxRate {
TaxRate {
cess_rate: None,
gst_rate: None,
tax_type: None,
}
}
}