using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.MMHead { public class LMWAPITransferDTO { private BuyerDTO buyer; private DocDetailsDTO docdetails; private ReferencesOrderDTO referencesorder; private List ordereditems; private AdditionalPropertiesDTO additionalproperties; public BuyerDTO Buyer { get { return buyer; } set { buyer = value; } } public DocDetailsDTO DocDetails { get { return docdetails; } set { docdetails = value; } } public ReferencesOrderDTO ReferencesOrder { get { return referencesorder; } set { referencesorder = value; } } public List OrderedItems { get { return ordereditems; } set { ordereditems = value; } } public AdditionalPropertiesDTO AdditionalProperties { get { return additionalproperties; } set { additionalproperties = value; } } } public class BuyerDTO { public string C_InternalID { get; set; } public string C_LegalName { get; set; } } public class DocDetailsDTO { public string D_OrderNumber { get; set; } public string D_OrderStatus { get; set; } public string D_TotalPaymentDuePriceCurrency { get; set; } public decimal D_TotalPaymentDueMinPrice { get; set; } public string D_ExpiryDate { get; set; } public decimal D_PaymentTerms { get; set; } public string D_OrderedDate { get; set; } } public class ReferencesOrderDTO { public string R_OrderNumber { get; set; } public decimal R_Discount { get; set; } public string R_DiscountCurrency { get; set; } public string R_PaymentDueDate { get; set; } public string R_OrderStatus { get; set; } public string R_OrderedDate { get; set; } } public class OrderedItemsDTO { public string I_Number { get; set; } public string I_Name { get; set; } public string I_Purpose { get; set; } public string I_Type { get; set; } public string I_HSNCode { get; set; } public string I_URL { get; set; } public decimal I_Price { get; set; } public string I_PriceCurrency { get; set; } public decimal I_CostPerItem { get; set; } public string I_SKU { get; set; } public string I_ProductionDate { get; set; } public string I_ExpiryDate { get; set; } public decimal I_Quantity { get; set; } public string I_Units { get; set; } public List I_ItemOffersAddOn { get; set; } } public class I_ItemOffersAddOnDTO { public string type { get; set; } public decimal I_Price { get; set; } public string I_Name { get; set; } } public class AdditionalPropertiesDTO { public decimal A_TDS { get; set; } public decimal A_RoundOff { get; set; } public string A_AccountingDate { get; set; } } public class LMWAPITransferFlatDTO { public string C_InternalID { get; set; } public string C_LegalName { get; set; } public string D_OrderNumber { get; set; } public string D_OrderStatus { get; set; } public string D_TotalPaymentDuePriceCurrency { get; set; } public decimal D_TotalPaymentDueMinPrice { get; set; } public string D_ExpiryDate { get; set; } public decimal D_PaymentTerms { get; set; } public string D_OrderedDate { get; set; } public string R_OrderNumber { get; set; } public decimal R_Discount { get; set; } public string R_DiscountCurrency { get; set; } public string R_PaymentDueDate { get; set; } public string R_OrderStatus { get; set; } public string R_OrderedDate { get; set; } public decimal A_TDS { get; set; } public decimal A_RoundOff { get; set; } public string A_AccountingDate { get; set; } } public class LMWAPIResponseDTO { public string status { get; set; } public string message { get; set; } public string txnID { get; set; } } public class DocumentsToPostLMWDTO { public int DocumentId { get; set; } public string DocumentNumber { get; set; } } }