square_api_client/models/customer_tax_ids.rs
1//! Model struct for CustomerTaxIds type
2
3use serde::{Deserialize, Serialize};
4
5/// Represents the tax ID associated with a [Customer] profile.
6///
7/// The corresponding `tax_ids` field is available only for customers of sellers in EU countries or
8/// the United Kingdom. For more information, see [Customer tax
9/// IDs](https://developer.squareup.com/docs/customers-api/what-it-does#customer-tax-ids).
10#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
11pub struct CustomerTaxIds {
12 /// The EU VAT identification number for the customer. For example, `IE3426675K`. The ID can
13 /// contain alphanumeric characters only.
14 pub eu_vat: Option<String>,
15}