74 lines
2.4 KiB
C#
74 lines
2.4 KiB
C#
/*
|
||
* Copyright (c) 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.
|
||
*/
|
||
|
||
namespace TencentCloud.Cpdp.V20190820.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class QueryInvoiceRequest : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 开票平台ID
|
||
/// </summary>
|
||
[JsonProperty("InvoicePlatformId")]
|
||
public long? InvoicePlatformId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 订单号
|
||
/// </summary>
|
||
[JsonProperty("OrderId")]
|
||
public string OrderId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 业务开票号
|
||
/// </summary>
|
||
[JsonProperty("OrderSn")]
|
||
public string OrderSn{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 发票种类:
|
||
/// 0:蓝票
|
||
/// 1:红票【该字段默认为0, 如果需要查询红票信息,本字段必须传1,否则可能查询不到需要的发票信息】。
|
||
/// </summary>
|
||
[JsonProperty("IsRed")]
|
||
public long? IsRed{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 接入环境。沙箱环境填sandbox。
|
||
/// </summary>
|
||
[JsonProperty("Profile")]
|
||
public string Profile{ get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// For internal usage only. DO NOT USE IT.
|
||
/// </summary>
|
||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||
{
|
||
this.SetParamSimple(map, prefix + "InvoicePlatformId", this.InvoicePlatformId);
|
||
this.SetParamSimple(map, prefix + "OrderId", this.OrderId);
|
||
this.SetParamSimple(map, prefix + "OrderSn", this.OrderSn);
|
||
this.SetParamSimple(map, prefix + "IsRed", this.IsRed);
|
||
this.SetParamSimple(map, prefix + "Profile", this.Profile);
|
||
}
|
||
}
|
||
}
|
||
|