com.alipay.api.domain.AlipayTradeCreateModel Java Examples
The following examples show how to use
com.alipay.api.domain.AlipayTradeCreateModel.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BatchExecuteTest.java From alipay-sdk-java-all with Apache License 2.0 | 5 votes |
private AlipayTradeCreateModel getTestModel() { AlipayTradeCreateModel model = new AlipayTradeCreateModel(); model.setOutTradeNo(UUID.randomUUID().toString()); model.setTotalAmount("88.88"); model.setSubject("Iphone6 16G"); model.setBuyerId("2088102177846880"); return model; }
Example #2
Source File: ExecuteTest.java From alipay-sdk-java-all with Apache License 2.0 | 5 votes |
private AlipayTradeCreateRequest getTradeCreateRequest() { AlipayTradeCreateRequest request = new AlipayTradeCreateRequest(); AlipayTradeCreateModel model = new AlipayTradeCreateModel(); model.setOutTradeNo(UUID.randomUUID().toString()); model.setTotalAmount("88.88"); model.setSubject("Iphone6 16G"); model.setBuyerId("2088102177846880"); request.setBizModel(model); return request; }