Class JSAPIPayRequest

  • All Implemented Interfaces:
    MchPayRequest

    public class JSAPIPayRequest
    extends AbstractPayRequest
    公众号JS支付:get_brand_wcpay_request

    get_brand_wcpay_request:ok 支付成功
    get_brand_wcpay_request:cancel 支付过程中用户取消
    get_brand_wcpay_request:fail 支付失败

    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    See Also:
    PrePay, PayRequest, 网页端调起支付API
    • Method Detail

      • getPaymentType

        public TradeType getPaymentType()
        Description copied from interface: MchPayRequest
        支付类型
        Returns:
      • toRequestObject

        public PayRequest toRequestObject()
        Description copied from interface: MchPayRequest
        支付请求对象
        Returns:
      • toRequestString

        public String toRequestString()
        Description copied from interface: MchPayRequest
        支付请求字符串
        Returns: