stripe2 32.0.0

Stripe client, generated from the OpenAPI spec.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Serialize, Deserialize};
///
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct PaymentIntentNextActionCashappQrCode {
    ///The date (unix timestamp) when the QR code expires.
    pub expires_at: i64,
    ///The image_url_png string used to render QR code
    pub image_url_png: String,
    ///The image_url_svg string used to render QR code
    pub image_url_svg: String,
}
impl std::fmt::Display for PaymentIntentNextActionCashappQrCode {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
        write!(f, "{}", serde_json::to_string(self).unwrap())
    }
}