Payer

Trait Payer 

Source
pub trait Payer {
Show 17 methods // Required methods fn trade_create( &self, biz_content: &TradeCreateBiz, ) -> AliPayResult<TradeCreateResponse>; fn trade_pay( &self, biz_content: &TradePayBiz, ) -> AliPayResult<TradePayResponse>; fn trade_precreate( &self, biz_content: &TradePrecreateBiz, ) -> AliPayResult<TradePrecreateResponse>; fn trade_app_pay( &self, biz_content: &TradeAppPayBiz, ) -> AliPayResult<String>; fn trade_wap_pay( &self, biz_content: &TradeWapPayBiz, ) -> AliPayResult<String>; fn trade_page_pay( &self, biz_content: &TradePagePayBiz, ) -> AliPayResult<String>; fn trade_query( &self, biz_content: &TradeQueryBiz, ) -> AliPayResult<TradeQueryResponse>; fn trade_cancel( &self, biz_content: &TradeCancelBiz, ) -> AliPayResult<TradeCancelResponse>; fn trade_refund( &self, biz_content: &TradeRefundBiz, ) -> AliPayResult<TradeRefundResponse>; fn trade_page_refund( &self, biz_content: &TradePageRefundBiz, ) -> AliPayResult<TradePageRefundResponse>; fn trade_fastpay_refund_query( &self, biz_content: &TradeFastpayRefundQueryBiz, ) -> AliPayResult<TradeFastpayRefundQueryResponse>; fn trade_order_settle( &self, biz_content: &TradeOrderSettleBiz, ) -> AliPayResult<TradeOrderSettleResponse>; fn trade_order_settle_query( &self, biz_content: &TradeOrderSettleQueryBiz, ) -> AliPayResult<TradeOrderSettleQueryResponse>; fn trade_royalty_relation_bind( &self, biz_content: &TradeRoyaltyRelationBindBiz, ) -> AliPayResult<TradeRoyaltyRelationBindResponse>; fn trade_royalty_relation_unbind( &self, biz_content: &TradeRoyaltyRelationUnBindBiz, ) -> AliPayResult<TradeRoyaltyRelationUnBindResponse>; fn trade_close( &self, biz_content: &TradeCloseBiz, ) -> AliPayResult<TradeCloseResponse>; fn async_verify_sign(&self, raw_body: &[u8]) -> AliPayResult<bool>;
}

Required Methods§

Source

fn trade_create( &self, biz_content: &TradeCreateBiz, ) -> AliPayResult<TradeCreateResponse>

Source

fn trade_pay(&self, biz_content: &TradePayBiz) -> AliPayResult<TradePayResponse>

Source

fn trade_precreate( &self, biz_content: &TradePrecreateBiz, ) -> AliPayResult<TradePrecreateResponse>

Source

fn trade_app_pay(&self, biz_content: &TradeAppPayBiz) -> AliPayResult<String>

Source

fn trade_wap_pay(&self, biz_content: &TradeWapPayBiz) -> AliPayResult<String>

Source

fn trade_page_pay(&self, biz_content: &TradePagePayBiz) -> AliPayResult<String>

Source

fn trade_query( &self, biz_content: &TradeQueryBiz, ) -> AliPayResult<TradeQueryResponse>

Source

fn trade_cancel( &self, biz_content: &TradeCancelBiz, ) -> AliPayResult<TradeCancelResponse>

Source

fn trade_refund( &self, biz_content: &TradeRefundBiz, ) -> AliPayResult<TradeRefundResponse>

Source

fn trade_page_refund( &self, biz_content: &TradePageRefundBiz, ) -> AliPayResult<TradePageRefundResponse>

Source

fn trade_fastpay_refund_query( &self, biz_content: &TradeFastpayRefundQueryBiz, ) -> AliPayResult<TradeFastpayRefundQueryResponse>

Source

fn trade_order_settle( &self, biz_content: &TradeOrderSettleBiz, ) -> AliPayResult<TradeOrderSettleResponse>

Source

fn trade_order_settle_query( &self, biz_content: &TradeOrderSettleQueryBiz, ) -> AliPayResult<TradeOrderSettleQueryResponse>

Source

fn trade_royalty_relation_bind( &self, biz_content: &TradeRoyaltyRelationBindBiz, ) -> AliPayResult<TradeRoyaltyRelationBindResponse>

Source

fn trade_royalty_relation_unbind( &self, biz_content: &TradeRoyaltyRelationUnBindBiz, ) -> AliPayResult<TradeRoyaltyRelationUnBindResponse>

Source

fn trade_close( &self, biz_content: &TradeCloseBiz, ) -> AliPayResult<TradeCloseResponse>

Source

fn async_verify_sign(&self, raw_body: &[u8]) -> AliPayResult<bool>

Implementors§