
com.tencentcloudapi.cpdp.v20190820.models.CreateInvoiceResultData Maven / Gradle / Ivy
/*
* 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.cpdp.v20190820.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateInvoiceResultData extends AbstractModel{
/**
* 开票状态
*/
@SerializedName("State")
@Expose
private Long State;
/**
* 发票ID
*/
@SerializedName("InvoiceId")
@Expose
private String InvoiceId;
/**
* 业务开票号
*/
@SerializedName("OrderSn")
@Expose
private String OrderSn;
/**
* Get 开票状态
* @return State 开票状态
*/
public Long getState() {
return this.State;
}
/**
* Set 开票状态
* @param State 开票状态
*/
public void setState(Long State) {
this.State = State;
}
/**
* Get 发票ID
* @return InvoiceId 发票ID
*/
public String getInvoiceId() {
return this.InvoiceId;
}
/**
* Set 发票ID
* @param InvoiceId 发票ID
*/
public void setInvoiceId(String InvoiceId) {
this.InvoiceId = InvoiceId;
}
/**
* Get 业务开票号
* @return OrderSn 业务开票号
*/
public String getOrderSn() {
return this.OrderSn;
}
/**
* Set 业务开票号
* @param OrderSn 业务开票号
*/
public void setOrderSn(String OrderSn) {
this.OrderSn = OrderSn;
}
public CreateInvoiceResultData() {
}
/**
* 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 CreateInvoiceResultData(CreateInvoiceResultData source) {
if (source.State != null) {
this.State = new Long(source.State);
}
if (source.InvoiceId != null) {
this.InvoiceId = new String(source.InvoiceId);
}
if (source.OrderSn != null) {
this.OrderSn = new String(source.OrderSn);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "State", this.State);
this.setParamSimple(map, prefix + "InvoiceId", this.InvoiceId);
this.setParamSimple(map, prefix + "OrderSn", this.OrderSn);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy