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

me.chanjar.weixin.mp.bean.card.DiscountCardCreateRequest Maven / Gradle / Ivy

There is a newer version: 4.6.9.B
Show newest version
package me.chanjar.weixin.mp.bean.card;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;

import java.io.Serializable;

/**
 * .
 * @author leeis
 * @Date 2018/12/29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DiscountCardCreateRequest extends AbstractCardCreateRequest implements Serializable {
  private static final long serialVersionUID = 1190518086576489692L;

  @SerializedName("card_type")
  private String cardType = "DISCOUNT";

  private DiscountCard discount;

  @Override
  public String toString() {
    return WxMpGsonBuilder.create().toJson(this);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy