stripe/model/
payment_method_domain_resource_payment_method_status_details.rs

1use serde::{Serialize, Deserialize};
2///Contains additional details about the status of a payment method for a specific payment method domain.
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct PaymentMethodDomainResourcePaymentMethodStatusDetails {
5    ///The error message associated with the status of the payment method on the domain.
6    pub error_message: String,
7}
8impl std::fmt::Display for PaymentMethodDomainResourcePaymentMethodStatusDetails {
9    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
10        write!(f, "{}", serde_json::to_string(self).unwrap())
11    }
12}