using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HakanSoftwareAPI.Models
{
public class n11UrunEkleme
{
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://schemas.xmlsoap.org/soap/envelope/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace = "http://schemas.xmlsoap.org/soap/envelope/", IsNullable = false)]
public partial class Envelope
{
private object headerField;
private EnvelopeBody bodyField;
/// <remarks/>
public object Header
{
get
{
return this.headerField;
}
set
{
this.headerField = value;
}
}
/// <remarks/>
public EnvelopeBody Body
{
get
{
return this.bodyField;
}
set
{
this.bodyField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://schemas.xmlsoap.org/soap/envelope/")]
public partial class EnvelopeBody
{
private SaveProductRequest saveProductRequestField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Namespace = "http://www.n11.com/ws/schemas")]
public SaveProductRequest SaveProductRequest
{
get
{
return this.saveProductRequestField;
}
set
{
this.saveProductRequestField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.n11.com/ws/schemas")]
[System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.n11.com/ws/schemas", IsNullable = false)]
public partial class SaveProductRequest
{
private auth authField;
private product productField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Namespace = "")]
public auth auth
{
get
{
return this.authField;
}
set
{
this.authField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Namespace = "")]
public product product
{
get
{
return this.productField;
}
set
{
this.productField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
public partial class auth
{
private string appKeyField;
private string appSecretField;
/// <remarks/>
public string appKey
{
get
{
return this.appKeyField;
}
set
{
this.appKeyField = value;
}
}
/// <remarks/>
public string appSecret
{
get
{
return this.appSecretField;
}
set
{
this.appSecretField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
public partial class product
{
private string productSellerCodeField;
private string titleField;
private string subtitleField;
private string descriptionField;
private productCategory categoryField;
private object specialProductInfoListField;
private ushort priceField;
private byte currencyTypeField;
private productImages imagesField;
private byte approvalStatusField;
//private productAttribute[] attributesField;
private Attributes attributesField;
private string saleStartDateField;
private string saleEndDateField;
private string productionDateField;
private object expirationDateField;
private byte productConditionField;
private byte preparingDayField;
private productDiscount discountField;
private byte shipmentTemplateField;
private productStockItems stockItemsField;
/// <remarks/>
public string productSellerCode
{
get
{
return this.productSellerCodeField;
}
set
{
this.productSellerCodeField = value;
}
}
/// <remarks/>
public string title
{
get
{
return this.titleField;
}
set
{
this.titleField = value;
}
}
/// <remarks/>
public string subtitle
{
get
{
return this.subtitleField;
}
set
{
this.subtitleField = value;
}
}
/// <remarks/>
public string description
{
get
{
return this.descriptionField;
}
set
{
this.descriptionField = value;
}
}
/// <remarks/>
public productCategory category
{
get
{
return this.categoryField;
}
set
{
this.categoryField = value;
}
}
/// <remarks/>
public object specialProductInfoList
{
get
{
return this.specialProductInfoListField;
}
set
{
this.specialProductInfoListField = value;
}
}
/// <remarks/>
public ushort price
{
get
{
return this.priceField;
}
set
{
this.priceField = value;
}
}
/// <remarks/>
public byte currencyType
{
get
{
return this.currencyTypeField;
}
set
{
this.currencyTypeField = value;
}
}
/// <remarks/>
public productImages images
{
get
{
return this.imagesField;
}
set
{
this.imagesField = value;
}
}
/// <remarks/>
public byte approvalStatus
{
get
{
return this.approvalStatusField;
}
set
{
this.approvalStatusField = value;
}
}
/// <remarks/>
public Attributes attributes
{
get
{
return this.attributesField;
}
set
{
this.attributesField = value;
}
}
/// <remarks/>
public string saleStartDate
{
get
{
return this.saleStartDateField;
}
set
{
this.saleStartDateField = value;
}
}
/// <remarks/>
public string saleEndDate
{
get
{
return this.saleEndDateField;
}
set
{
this.saleEndDateField = value;
}
}
/// <remarks/>
public string productionDate
{
get
{
return this.productionDateField;
}
set
{
this.productionDateField = value;
}
}
/// <remarks/>
public object expirationDate
{
get
{
return this.expirationDateField;
}
set
{
this.expirationDateField = value;
}
}
/// <remarks/>
public byte productCondition
{
get
{
return this.productConditionField;
}
set
{
this.productConditionField = value;
}
}
/// <remarks/>
public byte preparingDay
{
get
{
return this.preparingDayField;
}
set
{
this.preparingDayField = value;
}
}
/// <remarks/>
public productDiscount discount
{
get
{
return this.discountField;
}
set
{
this.discountField = value;
}
}
/// <remarks/>
public byte shipmentTemplate
{
get
{
return this.shipmentTemplateField;
}
set
{
this.shipmentTemplateField = value;
}
}
/// <remarks/>
public productStockItems stockItems
{
get
{
return this.stockItemsField;
}
set
{
this.stockItemsField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class productCategory
{
private uint idField;
/// <remarks/>
public uint id
{
get
{
return this.idField;
}
set
{
this.idField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class productImages
{
private productImagesImage imageField;
/// <remarks/>
public productImagesImage image
{
get
{
return this.imageField;
}
set
{
this.imageField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class productImagesImage
{
private string urlField;
private byte orderField;
/// <remarks/>
public string url
{
get
{
return this.urlField;
}
set
{
this.urlField = value;
}
}
/// <remarks/>
public byte order
{
get
{
return this.orderField;
}
set
{
this.orderField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
public partial class attributes
{
private attributesAttribute[] attributeField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("attribute")]
public attributesAttribute[] attribute
{
get
{
return this.attributeField;
}
set
{
this.attributeField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class attributesAttribute
{
private string nameField;
private string valueField;
/// <remarks/>
public string name
{
get
{
return this.nameField;
}
set
{
this.nameField = value;
}
}
/// <remarks/>
public string value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class productDiscount
{
private object startDateField;
private object endDateField;
private object typeField;
private object valueField;
/// <remarks/>
public object startDate
{
get
{
return this.startDateField;
}
set
{
this.startDateField = value;
}
}
/// <remarks/>
public object endDate
{
get
{
return this.endDateField;
}
set
{
this.endDateField = value;
}
}
/// <remarks/>
public object type
{
get
{
return this.typeField;
}
set
{
this.typeField = value;
}
}
/// <remarks/>
public object value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class productStockItems
{
private productStockItemsStockItem stockItemField;
/// <remarks/>
public productStockItemsStockItem stockItem
{
get
{
return this.stockItemField;
}
set
{
this.stockItemField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class productStockItemsStockItem
{
private object bundleField;
private string mpnField;
private object gtinField;
private byte quantityField;
private string sellerStockCodeField;
private object optionPriceField;
/// <remarks/>
public object bundle
{
get
{
return this.bundleField;
}
set
{
this.bundleField = value;
}
}
/// <remarks/>
public string mpn
{
get
{
return this.mpnField;
}
set
{
this.mpnField = value;
}
}
/// <remarks/>
public object gtin
{
get
{
return this.gtinField;
}
set
{
this.gtinField = value;
}
}
/// <remarks/>
public byte quantity
{
get
{
return this.quantityField;
}
set
{
this.quantityField = value;
}
}
/// <remarks/>
public string sellerStockCode
{
get
{
return this.sellerStockCodeField;
}
set
{
this.sellerStockCodeField = value;
}
}
/// <remarks/>
public object optionPrice
{
get
{
return this.optionPriceField;
}
set
{
this.optionPriceField = value;
}
}
}
}
}