pub trait MiscApi: Send + Sync {
// Required methods
fn post_bit_pay_invoice<'a, 'life0, 'async_trait>(
&'life0 self,
bit_pay_invoice_request_model: Option<BitPayInvoiceRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<String, Error<PostBitPayInvoiceError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn post_setup_payment<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, Error<PostSetupPaymentError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn post_bit_pay_invoice<'a, 'life0, 'async_trait>(
&'life0 self,
bit_pay_invoice_request_model: Option<BitPayInvoiceRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<String, Error<PostBitPayInvoiceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_bit_pay_invoice<'a, 'life0, 'async_trait>(
&'life0 self,
bit_pay_invoice_request_model: Option<BitPayInvoiceRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<String, Error<PostBitPayInvoiceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /bitpay-invoice
Sourcefn post_setup_payment<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, Error<PostSetupPaymentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_setup_payment<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, Error<PostSetupPaymentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /setup-payment