Skip to main content

DelegatedPaymentService

Trait DelegatedPaymentService 

Source
pub trait DelegatedPaymentService: Send + Sync {
    // Required method
    fn delegate_payment<'life0, 'async_trait>(
        &'life0 self,
        command: DelegatePaymentCommand,
    ) -> Pin<Box<dyn Future<Output = Result<DelegatedPaymentResult, AdkError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}
Available on crate feature payments only.
Expand description

Backend-facing delegated-payment tokenization operations.

Required Methods§

Source

fn delegate_payment<'life0, 'async_trait>( &'life0 self, command: DelegatePaymentCommand, ) -> Pin<Box<dyn Future<Output = Result<DelegatedPaymentResult, AdkError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementors§