245 lines
5.6 KiB
C#
245 lines
5.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace HUIWEI.Lexmark.sftp.SDK.Domain
|
|
{
|
|
|
|
// 注意: 生成的代码可能至少需要 .NET Framework 4.5 或 .NET Core/Standard 2.0。
|
|
/// <remarks/>
|
|
[Serializable()]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
[XmlRoot(elementName: "Invoice", Namespace = "", IsNullable = false)]
|
|
public partial class Invoice
|
|
{
|
|
|
|
/// <remarks/>
|
|
public InvoiceHeader Header { get; set; }
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("LineItem")]
|
|
public InvoiceLineItem[] LineItem { get; set; }
|
|
|
|
/// <remarks/>
|
|
public InvoiceSummary Summary { get; set; }
|
|
}
|
|
|
|
/// <remarks/>
|
|
[Serializable()]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
public partial class InvoiceHeader
|
|
{
|
|
|
|
/// <remarks/>
|
|
public string Supplier { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Buyer { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string InvoiceType { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string InvoiceDate { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string InvoiceNumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Currency { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string PaymentTerms { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Incoterms { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string CustomerNumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string HeaderField1 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string HeaderField2 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public InvoiceHeaderVendor Vendor { get; set; }
|
|
|
|
/// <remarks/>
|
|
public InvoiceHeaderBillTo BillTo { get; set; }
|
|
}
|
|
|
|
/// <remarks/>
|
|
[Serializable()]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
public partial class InvoiceHeaderVendor
|
|
{
|
|
/// <remarks/>
|
|
public string PartyId { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Name { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string AddressLine1 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string AddressLine2 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string City { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string State { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string PostalCode { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Country { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string ContactName { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Email { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Telephone { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Fax { get; set; }
|
|
}
|
|
|
|
/// <remarks/>
|
|
[Serializable()]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
public partial class InvoiceHeaderBillTo
|
|
{
|
|
|
|
/// <remarks/>
|
|
public string PartyId { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Name { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string AddressLine1 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string AddressLine2 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string City { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string State { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string PostalCode { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Country { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string ContactName { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Email { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Telephone { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Fax { get; set; }
|
|
}
|
|
|
|
/// <remarks/>
|
|
[Serializable()]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
public partial class InvoiceLineItem
|
|
{
|
|
|
|
/// <remarks/>
|
|
public string Item_Line_Number { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string LXK_PONumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string LXK_PODate { get; set; }
|
|
/// <remarks/>
|
|
public string VendorSONumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string DeliveryNoteNumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string BillOfLadingNumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string ShipmentDate { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string LEX_PN { get; set; }
|
|
|
|
/// <remarks/>
|
|
public int Quantity { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Unit_Of_Measure { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string LXK_Description { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal UnitPrice { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal TotalAmount { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string LineItemField1 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string LineItemField2 { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Serializable()]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
public partial class InvoiceSummary
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public decimal ShippingCharge { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal OtherCharges { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal TaxAmount { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal TaxableAmount { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal TotalGrossAmount { get; set; }
|
|
}
|
|
|
|
|
|
}
|