Class OrderPaymentAmount
java.lang.Object
cn.sinozg.applet.biz.system.vo.request.OrderPaymentAmount
请求微信支付接口请求封装对象
金额
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription获取 CNY:人民币,境内商户号仅支持人民币。intgetTotal()获取 订单总金额,单位为分voidsetCurrency(String currency) 设置 CNY:人民币,境内商户号仅支持人民币。voidsetTotal(int total) 设置 订单总金额,单位为分
-
Field Details
-
total
private int total订单总金额,单位为分 -
currency
CNY:人民币,境内商户号仅支持人民币。
-
-
Constructor Details
-
OrderPaymentAmount
public OrderPaymentAmount()
-
-
Method Details
-
getTotal
public int getTotal()获取 订单总金额,单位为分- Returns:
- total 订单总金额,单位为分
-
setTotal
public void setTotal(int total) 设置 订单总金额,单位为分- Parameters:
total- 订单总金额,单位为分
-
getCurrency
获取 CNY:人民币,境内商户号仅支持人民币。- Returns:
- currency CNY:人民币,境内商户号仅支持人民币。
-
setCurrency
设置 CNY:人民币,境内商户号仅支持人民币。- Parameters:
currency- CNY:人民币,境内商户号仅支持人民币。
-