Project

General

Profile

Actions

Specification » History » Revision 1

Revision 1/14 | Next »
Soh Keong, 07/29/2021 02:23 PM


Specification

Programming Guide

Jar version

version Description
1.0 Init

Jar File Download

"Jar":
"Properties":

properties file

  • service.properties
  1. json.url - Dotnet team URL
  2. json.key - provided by json
  3. connection.timeout - set connection timeout
  4. 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