async-stripe 0.13.0

API bindings for the Stripe HTTP API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{resources::SetupIntent, Expandable, PaymentMethod};

impl SetupIntent {
    pub async fn confirm(&self, payment_method: Option<Expandable<PaymentMethod>>) -> SetupIntent {
        unimplemented!()
    }

    pub async fn cancel(
        &self,
        cancellation_reason: Option<SetupIntentCancellationReason>,
    ) -> SetupIntent {
        unimplemented!()
    }
}

#[cfg(test)]
mod test {}