pub trait StripeApi: Send + Sync {
// Required methods
fn create_setup_intent_for_bank_account<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSetupIntentForBankAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_setup_intent_for_card<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSetupIntentForCardError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn is_country_supported<'a, 'life0, 'async_trait>(
&'life0 self,
country: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<IsCountrySupportedError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn create_setup_intent_for_bank_account<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSetupIntentForBankAccountError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_setup_intent_for_bank_account<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSetupIntentForBankAccountError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /setup-intent/bank-account
Sourcefn create_setup_intent_for_card<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSetupIntentForCardError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_setup_intent_for_card<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateSetupIntentForCardError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /setup-intent/card