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

com.github.binarywang.wxpay.bean.profitsharing.request.ProfitSharingOrderAmountQueryRequest Maven / Gradle / Ivy

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

import com.github.binarywang.wxpay.bean.request.BaseWxPayRequest;
import com.github.binarywang.wxpay.constant.WxPayConstants;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.*;
import me.chanjar.weixin.common.annotation.Required;

import java.util.Map;

/**
 * @author : cofedream
 * created on  : 2020-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder(builderMethodName = "newBuilder")
@NoArgsConstructor
@AllArgsConstructor
@XStreamAlias("xml")
public class ProfitSharingOrderAmountQueryRequest extends BaseWxPayRequest {

  private static final long serialVersionUID = 6009448187615691627L;
  /**
   * 
   * 字段名:微信订单号.
   * 变量名:transaction_id
   * 是否必填:是
   * String(32)
   * 示例值:4208450740201411110007820472
   * 描述:微信支付订单号
   * 
*/ @XStreamAlias("transaction_id") @Required private String transactionId; @Override protected void checkConstraints() throws WxPayException { // 目前仅支持HMAC-SHA256. this.setSignType(WxPayConstants.SignType.HMAC_SHA256); } @Override public boolean ignoreAppid() { return true; } @Override protected boolean ignoreSubAppId() { return true; } @Override protected void storeMap(Map map) { map.put("transaction_id", transactionId); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy