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 ConnectEmbeddedPaymentsFeatures {
    ///Whether to allow capturing and cancelling payment intents. This is `true` by default.
    pub capture_payments: bool,
    ///Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.
    pub dispute_management: bool,
    ///Whether to allow sending refunds. This is `true` by default.
    pub refund_management: bool,
}
impl std::fmt::Display for ConnectEmbeddedPaymentsFeatures {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
        write!(f, "{}", serde_json::to_string(self).unwrap())
    }
}