square_api_client/models/
update_item_taxes_request.rs

1//! Request struct for the Update Item Taxes API
2
3use serde::Serialize;
4
5/// This is a model struct for UpdateItemTaxesRequest type.
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct UpdateItemTaxesRequest {
8    /// IDs for the CatalogItems associated with the CatalogTax objects being updated. No more than
9    /// 1,000 IDs may be provided.
10    pub item_ids: Vec<String>,
11    /// IDs of the CatalogTax objects to enable. At least one of `taxes_to_enable` or
12    /// `taxes_to_disable` must be specified.
13    pub taxes_to_enable: Option<Vec<String>>,
14    /// IDs of the CatalogTax objects to disable. At least one of `taxes_to_enable` or
15    /// `taxes_to_disable` must be specified.
16    pub taxes_to_disable: Option<Vec<String>>,
17}