stripe/model/
payment_pages_checkout_session_automatic_tax.rs

1use serde::{Serialize, Deserialize};
2///
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct PaymentPagesCheckoutSessionAutomaticTax {
5    ///Indicates whether automatic tax is enabled for the session
6    pub enabled: bool,
7    ///The status of the most recent automated tax calculation for this session.
8    #[serde(skip_serializing_if = "Option::is_none")]
9    pub status: Option<String>,
10}
11impl std::fmt::Display for PaymentPagesCheckoutSessionAutomaticTax {
12    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
13        write!(f, "{}", serde_json::to_string(self).unwrap())
14    }
15}