Ejemplo n.º 1
0
        /// <summary>
        /// XML fragment representation of this object
        /// </summary>
        /// <returns>XML fragment for this object.</returns>
        /// <remarks>
        /// Name for outer tag expected to be set by calling method.
        /// This fragment returns inner properties representation only
        /// </remarks>


        protected internal String ToXMLFragment()
        {
            StringBuilder xml = new StringBuilder();

            if (IsSetInventorySupplyList())
            {
                InventorySupplyList inventorySupplyListObj = this.InventorySupplyList;
                xml.Append("<InventorySupplyList>");
                xml.Append(inventorySupplyListObj.ToXMLFragment());
                xml.Append("</InventorySupplyList>");
            }
            if (IsSetNextToken())
            {
                xml.Append("<NextToken>");
                xml.Append(EscapeXML(this.NextToken));
                xml.Append("</NextToken>");
            }
            return(xml.ToString());
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the InventorySupplyList property
 /// </summary>
 /// <param name="inventorySupplyList">InventorySupplyList property</param>
 /// <returns>this instance</returns>
 public ListInventorySupplyResult WithInventorySupplyList(InventorySupplyList inventorySupplyList)
 {
     this.inventorySupplyListField = inventorySupplyList;
     return(this);
 }
Ejemplo n.º 3
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _marketplaceId       = reader.Read <string>("MarketplaceId");
     _inventorySupplyList = reader.Read <InventorySupplyList>("InventorySupplyList");
     _nextToken           = reader.Read <string>("NextToken");
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _inventorySupplyList = reader.Read<InventorySupplyList>("InventorySupplyList");
     _nextToken = reader.Read<string>("NextToken");
 }
 /// <summary>
 /// Sets the InventorySupplyList property.
 /// </summary>
 /// <param name="inventorySupplyList">InventorySupplyList property.</param>
 /// <returns>this instance.</returns>
 public ListInventorySupplyResult WithInventorySupplyList(InventorySupplyList inventorySupplyList)
 {
     this._inventorySupplyList = inventorySupplyList;
     return this;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Sets the InventorySupplyList property.
 /// </summary>
 /// <param name="inventorySupplyList">InventorySupplyList property.</param>
 /// <returns>this instance.</returns>
 public ListInventorySupplyByNextTokenResult WithInventorySupplyList(InventorySupplyList inventorySupplyList)
 {
     this._inventorySupplyList = inventorySupplyList;
     return(this);
 }