stripe/model/issuing_network_token_address.rs
1use serde::{Serialize, Deserialize};
2///
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct IssuingNetworkTokenAddress {
5 ///The street address of the cardholder tokenizing the card.
6 pub line1: String,
7 ///The postal code of the cardholder tokenizing the card.
8 pub postal_code: String,
9}
10impl std::fmt::Display for IssuingNetworkTokenAddress {
11 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
12 write!(f, "{}", serde_json::to_string(self).unwrap())
13 }
14}