stripe/model/payment_pages_checkout_session_tax_id_collection.rs
1use serde::{Serialize, Deserialize};
2///
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct PaymentPagesCheckoutSessionTaxIdCollection {
5 ///Indicates whether tax ID collection is enabled for the session
6 pub enabled: bool,
7}
8impl std::fmt::Display for PaymentPagesCheckoutSessionTaxIdCollection {
9 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
10 write!(f, "{}", serde_json::to_string(self).unwrap())
11 }
12}