com.foxinmy.weixin4j.payment.mch
Class CorpPayment

java.lang.Object
  extended by com.foxinmy.weixin4j.http.weixin.XmlResult
      extended by com.foxinmy.weixin4j.payment.mch.MerchantResult
          extended by com.foxinmy.weixin4j.payment.mch.CorpPayment
All Implemented Interfaces:
Serializable

public class CorpPayment
extends MerchantResult

企业付款

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:
, Serialized Form

Constructor Summary
CorpPayment(String outTradeNo, String openId, CorpPaymentCheckNameType checkNameType, String desc, double amount, String clientIp)
          企业付款
 
Method Summary
 int getAmount()
           
 CorpPaymentCheckNameType getCheckNameType()
           
 String getClientIp()
           
 String getDesc()
           
 double getFormatAmount()
          调用接口获取单位为分,get方法转换为元方便使用
 String getOpenId()
           
 String getOutTradeNo()
           
 String getUserName()
           
 void setUserName(String userName)
           
 String toString()
           
 
Methods inherited from class com.foxinmy.weixin4j.payment.mch.MerchantResult
getAppId, getDeviceInfo, getFormatRecall, getFormatSignType, getMchId, getNonceStr, getRecall, getSign, getSignType, getSubAppId, getSubMchId, setAppId, setDeviceInfo, setMchId, setNonceStr, setRecall, setSign, setSignType, setSubAppId, setSubMchId
 
Methods inherited from class com.foxinmy.weixin4j.http.weixin.XmlResult
getErrCode, getErrCodeDes, getResultCode, getReturnCode, getReturnMsg, setErrCode, setErrCodeDes, setResultCode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CorpPayment

public CorpPayment(String outTradeNo,
                   String openId,
                   CorpPaymentCheckNameType checkNameType,
                   String desc,
                   double amount,
                   String clientIp)
企业付款

Parameters:
outTradeNo - 商户的订单号
openId - 用户的openid
checkNameType - 校验用户姓名选项
desc - 描述
amount - 金额 单位元
clientIp - 调用接口IP
Method Detail

getOutTradeNo

public String getOutTradeNo()

getOpenId

public String getOpenId()

getCheckNameType

public CorpPaymentCheckNameType getCheckNameType()

getUserName

public String getUserName()

getDesc

public String getDesc()

getAmount

public int getAmount()

getFormatAmount

public double getFormatAmount()
调用接口获取单位为分,get方法转换为元方便使用

Returns:
元单位

getClientIp

public String getClientIp()

setUserName

public void setUserName(String userName)

toString

public String toString()
Overrides:
toString in class MerchantResult


Copyright © 2014–2017. All rights reserved.