761 lines
16 KiB
C#
761 lines
16 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
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/>
|
|
[System.SerializableAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
|
|
[XmlRoot(elementName: "Invoice", Namespace = "", IsNullable = false)]
|
|
public partial class Invoice
|
|
{
|
|
|
|
private InvoiceHeader headerField;
|
|
|
|
private InvoiceLineItem[] lineItemField;
|
|
|
|
private InvoiceSummary summaryField;
|
|
|
|
/// <remarks/>
|
|
public InvoiceHeader Header
|
|
{
|
|
get
|
|
{
|
|
return this.headerField;
|
|
}
|
|
set
|
|
{
|
|
this.headerField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("LineItem")]
|
|
public InvoiceLineItem[] LineItem
|
|
{
|
|
get
|
|
{
|
|
return this.lineItemField;
|
|
}
|
|
set
|
|
{
|
|
this.lineItemField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public InvoiceSummary Summary
|
|
{
|
|
get
|
|
{
|
|
return this.summaryField;
|
|
}
|
|
set
|
|
{
|
|
this.summaryField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.SerializableAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
|
|
public partial class InvoiceHeader
|
|
{
|
|
private string supplierField;
|
|
|
|
private string buyerField;
|
|
|
|
private string invoiceTypeField;
|
|
|
|
|
|
private string currencyField;
|
|
|
|
private string paymentTermsField;
|
|
|
|
private string incotermsField;
|
|
|
|
private string customerNumberField;
|
|
|
|
private object headerField1Field;
|
|
|
|
private object headerField2Field;
|
|
|
|
|
|
/// <remarks/>
|
|
public string Supplier
|
|
{
|
|
get
|
|
{
|
|
return this.supplierField;
|
|
}
|
|
set
|
|
{
|
|
this.supplierField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Buyer
|
|
{
|
|
get
|
|
{
|
|
return this.buyerField;
|
|
}
|
|
set
|
|
{
|
|
this.buyerField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string InvoiceType
|
|
{
|
|
get
|
|
{
|
|
return this.invoiceTypeField;
|
|
}
|
|
set
|
|
{
|
|
this.invoiceTypeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public uint InvoiceDate { get; set; }
|
|
|
|
/// <remarks/>
|
|
public uint InvoiceNumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Currency
|
|
{
|
|
get
|
|
{
|
|
return this.currencyField;
|
|
}
|
|
set
|
|
{
|
|
this.currencyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string PaymentTerms
|
|
{
|
|
get
|
|
{
|
|
return this.paymentTermsField;
|
|
}
|
|
set
|
|
{
|
|
this.paymentTermsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Incoterms
|
|
{
|
|
get
|
|
{
|
|
return this.incotermsField;
|
|
}
|
|
set
|
|
{
|
|
this.incotermsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string CustomerNumber
|
|
{
|
|
get
|
|
{
|
|
return this.customerNumberField;
|
|
}
|
|
set
|
|
{
|
|
this.customerNumberField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object HeaderField1
|
|
{
|
|
get
|
|
{
|
|
return this.headerField1Field;
|
|
}
|
|
set
|
|
{
|
|
this.headerField1Field = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object HeaderField2
|
|
{
|
|
get
|
|
{
|
|
return this.headerField2Field;
|
|
}
|
|
set
|
|
{
|
|
this.headerField2Field = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public InvoiceHeaderVendor Vendor { get; set; }
|
|
|
|
/// <remarks/>
|
|
public InvoiceHeaderBillTo BillTo { get; set; }
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.SerializableAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
|
|
public partial class InvoiceHeaderVendor
|
|
{
|
|
/// <remarks/>
|
|
public object PartyId { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Name { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string AddressLine1 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public object AddressLine2 { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string City { get; set; }
|
|
|
|
/// <remarks/>
|
|
public object State { get; set; }
|
|
|
|
/// <remarks/>
|
|
public object PostalCode { get; set; }
|
|
|
|
/// <remarks/>
|
|
public object Country { get; set; }
|
|
|
|
/// <remarks/>
|
|
public object ContactName { get; set; }
|
|
|
|
/// <remarks/>
|
|
public object Email { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Telephone { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Fax { get; set; }
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.SerializableAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
|
|
public partial class InvoiceHeaderBillTo
|
|
{
|
|
|
|
private string partyIdField;
|
|
|
|
private string nameField;
|
|
|
|
private string addressLine1Field;
|
|
|
|
private string addressLine2Field;
|
|
|
|
private string cityField;
|
|
|
|
private object stateField;
|
|
|
|
private ushort postalCodeField;
|
|
|
|
private string countryField;
|
|
|
|
private object contactNameField;
|
|
|
|
private object emailField;
|
|
|
|
private object telephoneField;
|
|
|
|
private object faxField;
|
|
|
|
/// <remarks/>
|
|
public string PartyId
|
|
{
|
|
get
|
|
{
|
|
return this.partyIdField;
|
|
}
|
|
set
|
|
{
|
|
this.partyIdField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Name
|
|
{
|
|
get
|
|
{
|
|
return this.nameField;
|
|
}
|
|
set
|
|
{
|
|
this.nameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string AddressLine1
|
|
{
|
|
get
|
|
{
|
|
return this.addressLine1Field;
|
|
}
|
|
set
|
|
{
|
|
this.addressLine1Field = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string AddressLine2
|
|
{
|
|
get
|
|
{
|
|
return this.addressLine2Field;
|
|
}
|
|
set
|
|
{
|
|
this.addressLine2Field = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string City
|
|
{
|
|
get
|
|
{
|
|
return this.cityField;
|
|
}
|
|
set
|
|
{
|
|
this.cityField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object State
|
|
{
|
|
get
|
|
{
|
|
return this.stateField;
|
|
}
|
|
set
|
|
{
|
|
this.stateField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string PostalCode { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Country
|
|
{
|
|
get
|
|
{
|
|
return this.countryField;
|
|
}
|
|
set
|
|
{
|
|
this.countryField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object ContactName
|
|
{
|
|
get
|
|
{
|
|
return this.contactNameField;
|
|
}
|
|
set
|
|
{
|
|
this.contactNameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object Email
|
|
{
|
|
get
|
|
{
|
|
return this.emailField;
|
|
}
|
|
set
|
|
{
|
|
this.emailField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object Telephone
|
|
{
|
|
get
|
|
{
|
|
return this.telephoneField;
|
|
}
|
|
set
|
|
{
|
|
this.telephoneField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object Fax
|
|
{
|
|
get
|
|
{
|
|
return this.faxField;
|
|
}
|
|
set
|
|
{
|
|
this.faxField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.SerializableAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
|
|
public partial class InvoiceLineItem
|
|
{
|
|
|
|
private byte item_Line_NumberField;
|
|
|
|
private ulong lXK_PONumberField;
|
|
|
|
private object lXK_PODateField;
|
|
|
|
private ulong vendorSONumberField;
|
|
|
|
private uint deliveryNoteNumberField;
|
|
|
|
private object billOfLadingNumberField;
|
|
|
|
private object shipmentDateField;
|
|
|
|
private string lEX_PNField;
|
|
|
|
private ushort quantityField;
|
|
|
|
private string unit_Of_MeasureField;
|
|
|
|
private string lXK_DescriptionField;
|
|
|
|
private decimal unitPriceField;
|
|
|
|
private decimal totalAmountField;
|
|
|
|
private object lineItemField1Field;
|
|
|
|
private object lineItemField2Field;
|
|
|
|
/// <remarks/>
|
|
public byte Item_Line_Number
|
|
{
|
|
get
|
|
{
|
|
return this.item_Line_NumberField;
|
|
}
|
|
set
|
|
{
|
|
this.item_Line_NumberField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public ulong LXK_PONumber
|
|
{
|
|
get
|
|
{
|
|
return this.lXK_PONumberField;
|
|
}
|
|
set
|
|
{
|
|
this.lXK_PONumberField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object LXK_PODate
|
|
{
|
|
get
|
|
{
|
|
return this.lXK_PODateField;
|
|
}
|
|
set
|
|
{
|
|
this.lXK_PODateField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public ulong VendorSONumber
|
|
{
|
|
get
|
|
{
|
|
return this.vendorSONumberField;
|
|
}
|
|
set
|
|
{
|
|
this.vendorSONumberField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public uint DeliveryNoteNumber
|
|
{
|
|
get
|
|
{
|
|
return this.deliveryNoteNumberField;
|
|
}
|
|
set
|
|
{
|
|
this.deliveryNoteNumberField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object BillOfLadingNumber
|
|
{
|
|
get
|
|
{
|
|
return this.billOfLadingNumberField;
|
|
}
|
|
set
|
|
{
|
|
this.billOfLadingNumberField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object ShipmentDate
|
|
{
|
|
get
|
|
{
|
|
return this.shipmentDateField;
|
|
}
|
|
set
|
|
{
|
|
this.shipmentDateField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string LEX_PN
|
|
{
|
|
get
|
|
{
|
|
return this.lEX_PNField;
|
|
}
|
|
set
|
|
{
|
|
this.lEX_PNField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public ushort Quantity
|
|
{
|
|
get
|
|
{
|
|
return this.quantityField;
|
|
}
|
|
set
|
|
{
|
|
this.quantityField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Unit_Of_Measure
|
|
{
|
|
get
|
|
{
|
|
return this.unit_Of_MeasureField;
|
|
}
|
|
set
|
|
{
|
|
this.unit_Of_MeasureField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string LXK_Description
|
|
{
|
|
get
|
|
{
|
|
return this.lXK_DescriptionField;
|
|
}
|
|
set
|
|
{
|
|
this.lXK_DescriptionField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public decimal UnitPrice
|
|
{
|
|
get
|
|
{
|
|
return this.unitPriceField;
|
|
}
|
|
set
|
|
{
|
|
this.unitPriceField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public decimal TotalAmount
|
|
{
|
|
get
|
|
{
|
|
return this.totalAmountField;
|
|
}
|
|
set
|
|
{
|
|
this.totalAmountField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object LineItemField1
|
|
{
|
|
get
|
|
{
|
|
return this.lineItemField1Field;
|
|
}
|
|
set
|
|
{
|
|
this.lineItemField1Field = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object LineItemField2
|
|
{
|
|
get
|
|
{
|
|
return this.lineItemField2Field;
|
|
}
|
|
set
|
|
{
|
|
this.lineItemField2Field = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.SerializableAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
|
|
public partial class InvoiceSummary
|
|
{
|
|
|
|
private decimal shippingChargeField;
|
|
|
|
private decimal otherChargesField;
|
|
|
|
private decimal taxAmountField;
|
|
|
|
private decimal taxableAmountField;
|
|
|
|
private decimal totalGrossAmountField;
|
|
|
|
/// <remarks/>
|
|
public decimal ShippingCharge
|
|
{
|
|
get
|
|
{
|
|
return this.shippingChargeField;
|
|
}
|
|
set
|
|
{
|
|
this.shippingChargeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public decimal OtherCharges
|
|
{
|
|
get
|
|
{
|
|
return this.otherChargesField;
|
|
}
|
|
set
|
|
{
|
|
this.otherChargesField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public decimal TaxAmount
|
|
{
|
|
get
|
|
{
|
|
return this.taxAmountField;
|
|
}
|
|
set
|
|
{
|
|
this.taxAmountField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public decimal TaxableAmount
|
|
{
|
|
get
|
|
{
|
|
return this.taxableAmountField;
|
|
}
|
|
set
|
|
{
|
|
this.taxableAmountField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public decimal TotalGrossAmount
|
|
{
|
|
get
|
|
{
|
|
return this.totalGrossAmountField;
|
|
}
|
|
set
|
|
{
|
|
this.totalGrossAmountField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|