pub struct FWV3Client<'a> { /* private fields */ }Implementations§
Source§impl<'a> FWV3Client<'a>
impl<'a> FWV3Client<'a>
pub fn new( secret_key: &'a str, public_key: &'a str, encryption_key: &'a str, ) -> Self
pub async fn initiate_card_charge( &self, req: CardChargeReq, ) -> Result<ResponseType<<CardChargeReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn initiate_bank_transfer( &self, req: BankTransferReq, ) -> Result<ResponseType<<BankTransferReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn initiate_ach_payment( &self, req: AchReq, ) -> Result<ResponseType<<AchReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn verify_trans_by_id( &self, req: VerifyTransByIdReq, ) -> Result<ResponseType<<VerifyTransByIdReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn verify_trans_by_txref( &self, req: VerifyTransByTxRefReq, ) -> Result<ResponseType<<VerifyTransByTxRefReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn validate_charge( &self, req: ValidateChargeReq, ) -> Result<ResponseType<<ValidateChargeReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn capture_preauth_charge( &self, req: CapturePreAuthChargeReq, ) -> Result<ResponseType<<CapturePreAuthChargeReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn void_preauth_charge( &self, req: VoidPreAuthChargeReq, ) -> Result<ResponseType<<VoidPreAuthChargeReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn refund_preauth_charge( &self, req: RefundPreAuthChargeReq, ) -> Result<ResponseType<<RefundPreAuthChargeReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn get_bulk_virtual_acct_details( &self, req: BulkVirtualAcctDetailsReq, ) -> Result<ResponseType<<BulkVirtualAcctDetailsReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn create_virtual_acct_no( &self, req: VirtualAcctCreationReq, ) -> Result<ResponseType<<VirtualAcctCreationReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn create_bulk_virtual_acct_no( &self, req: VirtualAcctBulkCreationReq, ) -> Result<ResponseType<<VirtualAcctBulkCreationReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn fetch_refunded_transactions( &self, req: FetchRefundedTransReq, ) -> Result<ResponseType<<FetchRefundedTransReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn fetch_multi_refunded_transactions( &self, req: FetchMultiRefundedTransReq, ) -> Result<ResponseType<<FetchMultiRefundedTransReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn get_transaction( &self, req: GetTransactionsReq, ) -> Result<ResponseType<<GetTransactionsReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn query_transaction_fees( &self, req: QueryTransFeesReq, ) -> Result<ResponseType<<QueryTransFeesReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn refund_transaction( &self, req: RefundTransactionReq, ) -> Result<ResponseType<<RefundTransactionReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn resend_failed_webhook( &self, req: ResendFailedWebhookReq, ) -> Result<ResponseType<<ResendFailedWebhookReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn view_trans_imeline( &self, req: ViewTransTimelineReq, ) -> Result<ResponseType<<ViewTransTimelineReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn create_payment_plan( &self, req: CreatePlanReq, ) -> Result<ResponseType<<CreatePlanReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn get_payment_plan( &self, req: GetPlanReq, ) -> Result<ResponseType<<GetPlanReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn get_payment_plans( &self, req: GetPlansReq, ) -> Result<ResponseType<<GetPlansReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn cancel_payment_plan( &self, req: CancelPlanReq, ) -> Result<ResponseType<<CancelPlanReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
pub async fn update_payment_plan( &self, req: UpdatePlanReq, ) -> Result<ResponseType<<UpdatePlanReq as ToFwCall<'_>>::ApiResponse>, FWaveError>
Auto Trait Implementations§
impl<'a> Freeze for FWV3Client<'a>
impl<'a> !RefUnwindSafe for FWV3Client<'a>
impl<'a> Send for FWV3Client<'a>
impl<'a> Sync for FWV3Client<'a>
impl<'a> Unpin for FWV3Client<'a>
impl<'a> !UnwindSafe for FWV3Client<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more