Actions
Specification » History » Revision 1
Revision 1/14
| Next »
Soh Keong, 07/29/2021 02:23 PM
- Table of contents
- Specification
- Programming Guide
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.0 | Init |
Jar File Download¶
"Jar":
"Properties":
properties file¶
- service.properties
- json.url - Dotnet team URL
- json.key - provided by json
- connection.timeout - set connection timeout
- connection.read.timeout - set connection read timeout
Methods¶
Common Instance¶
com.vouchertw.service.VoucherService service = new com.vouchertw.service.VoucherService();
addVoucher¶
com.vouchertw.bean.ResponseBean result = service.addVoucher(VoucherTransactionBean bean);
- com.vouchertw.bean.VoucherTransactionBean
- stockistId - String
- memberId - String
- countryId - String
- orderId - String
- orderDate - java.time.LocalDate
- voucherSet - Set<VoucherBean>
- voucherCode - String
- startDate - java.time.LocalDate
- expiryDate - java.time.LocalDate
- amount - double
- point - int
- voucherName - String
- promoCode - String
- token - System auto assign
Updated by Soh Keong over 3 years ago · 1 revisions