Skip to main content

next_web_pay_alipay/
lib.rs

1//! Alipay OpenAPI client for page payment and face-to-face payment.
2
3pub mod client;
4pub mod config;
5pub mod error;
6pub mod payment;
7pub mod service;
8pub mod sign;
9pub mod util;
10pub mod handler;
11
12/// Crate level error type.
13pub use crate::error::alipay_error::AlipayError;
14
15/// Crate level result type.
16pub type AlipayResult<T> = std::result::Result<T, crate::AlipayError>;
17
18pub trait Named {
19    fn name() -> &'static str;
20}
21
22pub trait Method {
23    fn method() -> &'static str;
24}