| 程序包 | 说明 |
|---|---|
| cn.letspay.payment.sdk.entity | |
| cn.letspay.payment.sdk.service |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> CommonResult<T> |
CommonResult.error(ErrorCodeEnum errorCodeEnum)
构造失败结果实体
|
static CommonResult |
CommonResult.error(String errorCode,
String errorMsg)
构造失败结果实体
|
static <E> CommonResult<E> |
CommonResult.parse(String json,
Class<E> entityCls)
解析
|
static CommonResult |
CommonResult.success()
构造成功结果实体
|
static <T> CommonResult<T> |
CommonResult.success(T data)
构造成功结果实体
|
| 限定符和类型 | 方法和说明 |
|---|---|
CommonResult<RefundAttr> |
PaymentService.applyRefund(RefundApplyingParam param) |
CommonResult<CashierOrderAttr> |
PaymentService.createCashierOrder(CashierOrderCreatingParam param)
创建收银台订单
|
CommonResult<String> |
PaymentService.createQrCodeSvg(QrCodeSvgCreatingParam param)
创建二维码SVG
|
CommonResult<CashierOrderIdAttr> |
PaymentService.getCashierOrderId(String requestBody)
获取收银台订单id
|
CommonResult<CashierAsyncNotificationAttr> |
PaymentService.receiveCashierAsyncNotification(String requestBody,
String paymentPublicKey)
接收收银台异步通知
|
CommonResult<RefundAsyncNotificationAttr> |
PaymentService.receiveRefundAsyncNotification(String requestBody,
String paymentPublicKey)
接收退款异步通知
|
Copyright © 2021. All rights reserved.