com.wechat.pay.java.service.retailstore.model.OrderInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wechatpay-java Show documentation
Show all versions of wechatpay-java Show documentation
A Java SDK for WeChat Pay APIv3
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 营销加价购对外API
//
// 指定服务商可通过该接口报名加价购活动、查询某个区域内的加价购活动列表、锁定加价活动购资格以及解锁加价购活动资格。
//
// API version: 1.4.0
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.retailstore.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** OrderInfo */
public class OrderInfo {
/** 支付订单的微信用户OpenID 说明:支付订单的微信用户OpenID */
@SerializedName("payer_openid")
private String payerOpenid;
/** 商户订单号 说明:商户订单号 */
@SerializedName("out_trade_no")
private String outTradeNo;
/** 订单总金额 说明:订单总金额(单位:分) */
@SerializedName("total_fee")
private Long totalFee;
/** 门店ID 说明:门店ID */
@SerializedName("store_id")
private String storeId;
/** 门店商户号 说明:门店商户号 */
@SerializedName("store_merchant_id")
private String storeMerchantId;
public String getPayerOpenid() {
return payerOpenid;
}
public void setPayerOpenid(String payerOpenid) {
this.payerOpenid = payerOpenid;
}
public String getOutTradeNo() {
return outTradeNo;
}
public void setOutTradeNo(String outTradeNo) {
this.outTradeNo = outTradeNo;
}
public Long getTotalFee() {
return totalFee;
}
public void setTotalFee(Long totalFee) {
this.totalFee = totalFee;
}
public String getStoreId() {
return storeId;
}
public void setStoreId(String storeId) {
this.storeId = storeId;
}
public String getStoreMerchantId() {
return storeMerchantId;
}
public void setStoreMerchantId(String storeMerchantId) {
this.storeMerchantId = storeMerchantId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OrderInfo {\n");
sb.append(" payerOpenid: ").append(toIndentedString(payerOpenid)).append("\n");
sb.append(" outTradeNo: ").append(toIndentedString(outTradeNo)).append("\n");
sb.append(" totalFee: ").append(toIndentedString(totalFee)).append("\n");
sb.append(" storeId: ").append(toIndentedString(storeId)).append("\n");
sb.append(" storeMerchantId: ").append(toIndentedString(storeMerchantId)).append("\n");
sb.append("}");
return sb.toString();
}
}