BaiduPayService extends BasePayService<BaiduPayConfigStorage> { @Override public Map<String, Object> orderInfo(PayOrder order) { Map<String, Object> params = getUseOrderInfoParams(order); String rsaSign = getRsaSign(params, RSA_SIGN); params.put(RSA_SIGN, rsaSign); return params; } BaiduPayService(BaiduPayConfigStorage payConfigStorage);  BaiduPayService(BaiduPayConfigStorage payConfigStorage,
                           HttpConfigStorage configStorage); @Override boolean verify(Map<String, Object> params); @Override boolean signVerify(Map<String, Object> params, String sign); @Override boolean verifySource(String id); @Override Map<String, Object> orderInfo(PayOrder order); Map<String, Object> getUseQueryPay(); @Override @Deprecated PayOutMessage getPayOutMessage(String code, String message); PayOutMessage getApplyRefundOutMessageUseBaidu(Integer errno,
                                                          String message,
                                                          AuditStatus auditStatus,
                                                          BigDecimal refundPayMoney); PayOutMessage getRefundOutMessageUseBaidu(Integer errno,
                                                     String message); PayOutMessage getPayOutMessageUseBaidu(Integer errno,
                                                  String message,
                                                  Integer isConsumed,
                                                  Integer isErrorOrder); PayOutMessage getPayOutMessageUseBaidu(Integer code,
                                                  String message,
                                                  Integer isConsumed); @Override PayOutMessage successPayOutMessage(PayMessage payMessage); @Override String buildRequest(Map<String, Object> orderInfo,
                               MethodType method); @Override String getQrPay(PayOrder order); @Override Map<String, Object> microPay(PayOrder order); @Override Map<String, Object> query(String tradeNo, String outTradeNo); @Override Map<String, Object> close(String tradeNo, String outTradeNo); @Override BaseRefundResult refund(RefundOrder refundOrder); @Override Map<String, Object> refundquery(RefundOrder refundOrder); @Override Map<String, Object> downloadbill(Date billDate, String accessToken); Map<String, Object> downloadOrderBill(Date billDate, String accessToken); @Override Map<String, Object> secondaryInterface(Object orderId,
                                                  String siteId,
                                                  TransactionType transactionType); @Override String getReqUrl(TransactionType transactionType); static final String APP_KEY; static final String APP_ID; static final String DEAL_ID; static final String TP_ORDER_ID; static final String DEAL_TITLE; static final String TOTAL_AMOUNT; static final String SIGN_FIELDS_RANGE; static final String BIZ_INFO; static final String RSA_SIGN; static final String ORDER_ID; static final String USER_ID; static final String SITE_ID; static final String SIGN; static final String METHOD; static final String TYPE; static final Integer RESPONSE_SUCCESS; static final String RESPONSE_STATUS; }
@Test public void orderInfo() { BaiduPayConfigStorage configStorage = new BaiduPayConfigStorage(); configStorage.setAppid("APP ID"); configStorage.setAppKey("APP KEY"); configStorage.setDealId("DEAL ID"); configStorage.setKeyPublic("KEY PUBLIC"); BaiduPayService payService = new BaiduPayService(configStorage); }