stripe/model/
setup_attempt_payment_method_details_card_present.rs1use serde::{Serialize, Deserialize};
2#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct SetupAttemptPaymentMethodDetailsCardPresent {
5 #[serde(skip_serializing_if = "Option::is_none")]
7 pub generated_card: Option<serde_json::Value>,
8}
9impl std::fmt::Display for SetupAttemptPaymentMethodDetailsCardPresent {
10 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
11 write!(f, "{}", serde_json::to_string(self).unwrap())
12 }
13}