@Controller
@RequestMapping(value="tradeOrder")
public class TradeOrderController
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
private PaymentGatewayComponent |
gatewayComponent |
private TradePaymentService |
paymentService |
protected SafeConfigComponent |
safeConfigComponent |
private TradeOrderService |
service |
构造器和说明 |
---|
TradeOrderController() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
close(SysSite site,
SysUser user,
long orderId,
java.lang.String returnUrl,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
create(SysSite site,
SysUser user,
TradeOrder entity,
TradeOrderParameters tradeOrderParameters,
java.lang.String orderIdField,
java.lang.String returnUrl,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
pay(SysSite site,
java.lang.String accountType,
long orderId,
java.lang.String paymentType,
java.lang.String returnUrl,
javax.servlet.http.HttpServletRequest request) |
private TradeOrderService service
private TradePaymentService paymentService
protected SafeConfigComponent safeConfigComponent
private PaymentGatewayComponent gatewayComponent
@RequestMapping(value="pay/{accountType}") public java.lang.String pay(@RequestAttribute SysSite site, @PathVariable(value="accountType") java.lang.String accountType, long orderId, java.lang.String paymentType, java.lang.String returnUrl, javax.servlet.http.HttpServletRequest request)
site
- accountType
- orderId
- paymentType
- returnUrl
- request
- @RequestMapping(value="create") public java.lang.String create(@RequestAttribute SysSite site, @SessionAttribute SysUser user, TradeOrder entity, @ModelAttribute TradeOrderParameters tradeOrderParameters, java.lang.String orderIdField, java.lang.String returnUrl, javax.servlet.http.HttpServletRequest request)
site
- user
- entity
- tradeOrderParameters
- orderIdField
- returnUrl
- request
-