pub struct TaxWithheldComponent {
pub tax_collection_model: Option<String>,
pub taxes_withheld: Option<Vec<ChargeComponent>>,
}Expand description
TaxWithheldComponent : Information about the taxes withheld.
Fields§
§tax_collection_model: Option<String>The tax collection model applied to the item. Possible values: * MarketplaceFacilitator - Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller. * Standard - Tax is paid to the seller and not remitted to the taxing authority by Amazon.
taxes_withheld: Option<Vec<ChargeComponent>>A list of charge information on the seller’s account.
Implementations§
Source§impl TaxWithheldComponent
impl TaxWithheldComponent
Sourcepub fn new() -> TaxWithheldComponent
pub fn new() -> TaxWithheldComponent
Information about the taxes withheld.
Trait Implementations§
Source§impl Clone for TaxWithheldComponent
impl Clone for TaxWithheldComponent
Source§fn clone(&self) -> TaxWithheldComponent
fn clone(&self) -> TaxWithheldComponent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaxWithheldComponent
impl Debug for TaxWithheldComponent
Source§impl Default for TaxWithheldComponent
impl Default for TaxWithheldComponent
Source§fn default() -> TaxWithheldComponent
fn default() -> TaxWithheldComponent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaxWithheldComponent
impl<'de> Deserialize<'de> for TaxWithheldComponent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TaxWithheldComponent
impl PartialEq for TaxWithheldComponent
Source§impl Serialize for TaxWithheldComponent
impl Serialize for TaxWithheldComponent
impl StructuralPartialEq for TaxWithheldComponent
Auto Trait Implementations§
impl Freeze for TaxWithheldComponent
impl RefUnwindSafe for TaxWithheldComponent
impl Send for TaxWithheldComponent
impl Sync for TaxWithheldComponent
impl Unpin for TaxWithheldComponent
impl UnwindSafe for TaxWithheldComponent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more