com.tencentcloudapi.billing.v20180709.models.DescribeDealsByCondRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-billing Show documentation
Show all versions of tencentcloud-sdk-java-billing Show documentation
Tencent Cloud Open API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.billing.v20180709.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeDealsByCondRequest extends AbstractModel{
/**
* 开始时间 2016-01-01 00:00:00
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* 结束时间 2016-02-01 00:00:00 建议跨度不超过3个月
*/
@SerializedName("EndTime")
@Expose
private String EndTime;
/**
* 一页多少条数据,默认是20条,最大不超过1000
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* 第多少页,从0开始,默认是0
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* 订单状态,默认为4(成功的订单)
订单的状态
1:未支付
2:已支付3:发货中
4:已发货
5:发货失败
6:已退款
7:已关单
8:订单过期
9:订单已失效
10:产品已失效
11:代付拒绝
12:支付中
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* 订单号
*/
@SerializedName("OrderId")
@Expose
private String OrderId;
/**
* 大订单号
*/
@SerializedName("BigDealId")
@Expose
private String BigDealId;
/**
* 资源id
*/
@SerializedName("ResourceId")
@Expose
private String ResourceId;
/**
* Get 开始时间 2016-01-01 00:00:00
* @return StartTime 开始时间 2016-01-01 00:00:00
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set 开始时间 2016-01-01 00:00:00
* @param StartTime 开始时间 2016-01-01 00:00:00
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get 结束时间 2016-02-01 00:00:00 建议跨度不超过3个月
* @return EndTime 结束时间 2016-02-01 00:00:00 建议跨度不超过3个月
*/
public String getEndTime() {
return this.EndTime;
}
/**
* Set 结束时间 2016-02-01 00:00:00 建议跨度不超过3个月
* @param EndTime 结束时间 2016-02-01 00:00:00 建议跨度不超过3个月
*/
public void setEndTime(String EndTime) {
this.EndTime = EndTime;
}
/**
* Get 一页多少条数据,默认是20条,最大不超过1000
* @return Limit 一页多少条数据,默认是20条,最大不超过1000
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set 一页多少条数据,默认是20条,最大不超过1000
* @param Limit 一页多少条数据,默认是20条,最大不超过1000
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get 第多少页,从0开始,默认是0
* @return Offset 第多少页,从0开始,默认是0
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set 第多少页,从0开始,默认是0
* @param Offset 第多少页,从0开始,默认是0
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get 订单状态,默认为4(成功的订单)
订单的状态
1:未支付
2:已支付3:发货中
4:已发货
5:发货失败
6:已退款
7:已关单
8:订单过期
9:订单已失效
10:产品已失效
11:代付拒绝
12:支付中
* @return Status 订单状态,默认为4(成功的订单)
订单的状态
1:未支付
2:已支付3:发货中
4:已发货
5:发货失败
6:已退款
7:已关单
8:订单过期
9:订单已失效
10:产品已失效
11:代付拒绝
12:支付中
*/
public Long getStatus() {
return this.Status;
}
/**
* Set 订单状态,默认为4(成功的订单)
订单的状态
1:未支付
2:已支付3:发货中
4:已发货
5:发货失败
6:已退款
7:已关单
8:订单过期
9:订单已失效
10:产品已失效
11:代付拒绝
12:支付中
* @param Status 订单状态,默认为4(成功的订单)
订单的状态
1:未支付
2:已支付3:发货中
4:已发货
5:发货失败
6:已退款
7:已关单
8:订单过期
9:订单已失效
10:产品已失效
11:代付拒绝
12:支付中
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get 订单号
* @return OrderId 订单号
*/
public String getOrderId() {
return this.OrderId;
}
/**
* Set 订单号
* @param OrderId 订单号
*/
public void setOrderId(String OrderId) {
this.OrderId = OrderId;
}
/**
* Get 大订单号
* @return BigDealId 大订单号
*/
public String getBigDealId() {
return this.BigDealId;
}
/**
* Set 大订单号
* @param BigDealId 大订单号
*/
public void setBigDealId(String BigDealId) {
this.BigDealId = BigDealId;
}
/**
* Get 资源id
* @return ResourceId 资源id
*/
public String getResourceId() {
return this.ResourceId;
}
/**
* Set 资源id
* @param ResourceId 资源id
*/
public void setResourceId(String ResourceId) {
this.ResourceId = ResourceId;
}
public DescribeDealsByCondRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeDealsByCondRequest(DescribeDealsByCondRequest source) {
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.EndTime != null) {
this.EndTime = new String(source.EndTime);
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.OrderId != null) {
this.OrderId = new String(source.OrderId);
}
if (source.BigDealId != null) {
this.BigDealId = new String(source.BigDealId);
}
if (source.ResourceId != null) {
this.ResourceId = new String(source.ResourceId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "OrderId", this.OrderId);
this.setParamSimple(map, prefix + "BigDealId", this.BigDealId);
this.setParamSimple(map, prefix + "ResourceId", this.ResourceId);
}
}