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

com.wechat.pay.java.service.merchantexclusivecoupon.model.UploadCouponCodeRequest Maven / Gradle / Ivy

There is a newer version: 0.2.15
Show newest version
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 营销商家券对外API
//
// No description provided (generated by Openapi Generator
// https://github.com/openapitools/openapi-generator)
//
// API version: 0.0.11

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.

package com.wechat.pay.java.service.merchantexclusivecoupon.model;

import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;

/** UploadCouponCodeRequest */
public class UploadCouponCodeRequest {
  /** 批次号 说明:商家券批次号 */
  @SerializedName("stock_id")
  @Expose(serialize = false)
  private String stockId;

  /**
   * 券code列表 说明:商户上传的券code列表;code允许包含的字符有 0-9 a-z A-Z 空格(仅含空格,不含制表符、换行符、换页符等) 中划线- 下划线_ 反斜线\\ 斜线/
   * 等号= 竖线|
   */
  @SerializedName("coupon_code_list")
  private List couponCodeList = new ArrayList();

  /** 请求业务单据号 说明:商户上传code的凭据号,商户侧需保持唯一性 */
  @SerializedName("upload_request_no")
  private String uploadRequestNo;

  public String getStockId() {
    return stockId;
  }

  public void setStockId(String stockId) {
    this.stockId = stockId;
  }

  public List getCouponCodeList() {
    return couponCodeList;
  }

  public void setCouponCodeList(List couponCodeList) {
    this.couponCodeList = couponCodeList;
  }

  public String getUploadRequestNo() {
    return uploadRequestNo;
  }

  public void setUploadRequestNo(String uploadRequestNo) {
    this.uploadRequestNo = uploadRequestNo;
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UploadCouponCodeRequest {\n");
    sb.append("    stockId: ").append(toIndentedString(stockId)).append("\n");
    sb.append("    couponCodeList: ").append(toIndentedString(couponCodeList)).append("\n");
    sb.append("    uploadRequestNo: ").append(toIndentedString(uploadRequestNo)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy