本文整理汇总了Java中com.alipay.api.domain.AlipayTradePrecreateModel类的典型用法代码示例。如果您正苦于以下问题:Java AlipayTradePrecreateModel类的具体用法?Java AlipayTradePrecreateModel怎么用?Java AlipayTradePrecreateModel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AlipayTradePrecreateModel类属于com.alipay.api.domain包,在下文中一共展示了AlipayTradePrecreateModel类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: tradePrecreatePayToResponse
import com.alipay.api.domain.AlipayTradePrecreateModel; //导入依赖的package包/类
public static AlipayTradePrecreateResponse tradePrecreatePayToResponse(AlipayTradePrecreateModel model,
String notifyUrl) throws AlipayApiException {
AlipayTradePrecreateRequest request = new AlipayTradePrecreateRequest();
request.setBizModel(model);
request.setNotifyUrl(notifyUrl);
return AliPayConfig.build().getAlipayClient().execute(request);
}
开发者ID:iBase4J,项目名称:iBase4J-Common,代码行数:8,代码来源:AliPay.java
示例2: tradePrecreatePayToResponse
import com.alipay.api.domain.AlipayTradePrecreateModel; //导入依赖的package包/类
public static AlipayTradePrecreateResponse tradePrecreatePayToResponse(AlipayTradePrecreateModel model,
String notifyUrl) throws AlipayApiException {
AlipayTradePrecreateRequest request = new AlipayTradePrecreateRequest();
request.setBizModel(model);
request.setNotifyUrl(notifyUrl);
return AliPayConfig.build().getAlipayClient().execute(request);
}
开发者ID:guokezheng,项目名称:automat,代码行数:8,代码来源:AliPay.java
示例3: tradePrecreatePayToResponse
import com.alipay.api.domain.AlipayTradePrecreateModel; //导入依赖的package包/类
/**
* 扫码支付
* @param model
* @param notifyUrl
* @return {AlipayTradePrecreateResponse}
* @throws {AlipayApiException}
*/
public static AlipayTradePrecreateResponse tradePrecreatePayToResponse(AlipayTradePrecreateModel model, String notifyUrl) throws AlipayApiException{
AlipayTradePrecreateRequest request = new AlipayTradePrecreateRequest();
request.setBizModel(model);
request.setNotifyUrl(notifyUrl);
return AliPayApiConfigKit.getAliPayApiConfig().getAlipayClient().execute(request);
}
开发者ID:Javen205,项目名称:IJPay,代码行数:14,代码来源:AliPayApi.java
示例4: tradePrecreatePay
import com.alipay.api.domain.AlipayTradePrecreateModel; //导入依赖的package包/类
/**
* 统一收单线下交易预创建
* 扫码支付
* https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.i0UVZn&treeId=193&articleId=105170&docType=1#s4
* @param model
* @param notifyUrl
* @return {String}
* @throws {AlipayApiException}
*/
public static String tradePrecreatePay(AlipayTradePrecreateModel model, String notifyUrl) throws AlipayApiException{
AlipayTradePrecreateResponse response = tradePrecreatePayToResponse(model,notifyUrl);
return response.getBody();
}
开发者ID:Javen205,项目名称:IJPay,代码行数:14,代码来源:AliPayApi.java
示例5: tradePrecreatePay
import com.alipay.api.domain.AlipayTradePrecreateModel; //导入依赖的package包/类
/**
* 扫码支付
*
* @param notifyUrl
* @return
* @throws AlipayApiException
*/
public static String tradePrecreatePay(AlipayTradePrecreateModel model, String notifyUrl)
throws AlipayApiException {
AlipayTradePrecreateResponse response = tradePrecreatePayToResponse(model, notifyUrl);
return response.getBody();
}
开发者ID:iBase4J,项目名称:iBase4J-Common,代码行数:13,代码来源:AliPay.java
示例6: tradePrecreatePay
import com.alipay.api.domain.AlipayTradePrecreateModel; //导入依赖的package包/类
/**
* 扫码支付
* https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.i0UVZn&treeId=193&articleId=105170&docType=1#s4
*
* @param notifyUrl
* @return
* @throws AlipayApiException
*/
public static String tradePrecreatePay(AlipayTradePrecreateModel model, String notifyUrl)
throws AlipayApiException {
AlipayTradePrecreateResponse response = tradePrecreatePayToResponse(model, notifyUrl);
return response.getBody();
}
开发者ID:guokezheng,项目名称:automat,代码行数:14,代码来源:AliPay.java
注:本文中的com.alipay.api.domain.AlipayTradePrecreateModel类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论