All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.binarywang.wxpay.bean.entpay.EntPayQueryRequest Maven / Gradle / Ivy

The newest version!
package com.github.binarywang.wxpay.bean.entpay;

import com.github.binarywang.wxpay.bean.request.BaseWxPayRequest;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.common.annotation.Required;
import me.chanjar.weixin.common.util.json.WxGsonBuilder;

import java.util.Map;

/**
 * 
 * 企业付款请求对象.
 * Created by Binary Wang on 2016/10/19.
 * 
* * @author Binary Wang */ @Data @EqualsAndHashCode(callSuper = true) @Builder(builderMethodName = "newBuilder") @NoArgsConstructor @AllArgsConstructor @XStreamAlias("xml") public class EntPayQueryRequest extends BaseWxPayRequest { private static final long serialVersionUID = 1972288742207813985L; /** *
   * 字段名:商户订单号.
   * 变量名:partner_trade_no
   * 是否必填:是
   * 示例值:10000098201411111234567890
   * 类型:String
   * 描述商户订单号
   * 
*/ @Required @XStreamAlias("partner_trade_no") private String partnerTradeNo; @Override protected void checkConstraints() { //do nothing } @Override public String toString() { return WxGsonBuilder.create().toJson(this); } @Override protected String[] getIgnoredParamsForSign() { return new String[]{"sign_type"}; } @Override protected void storeMap(Map map) { map.put("partner_trade_no", partnerTradeNo); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy