/// <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 (IsSetMarketplaceASIN()) { ASINIdentifier marketplaceASINObj = this.MarketplaceASIN; xml.Append("<MarketplaceASIN>"); xml.Append(marketplaceASINObj.ToXMLFragment()); xml.Append("</MarketplaceASIN>"); } if (IsSetSKUIdentifier()) { SellerSKUIdentifier SKUIdentifierObj = this.SKUIdentifier; xml.Append("<SKUIdentifier>"); xml.Append(SKUIdentifierObj.ToXMLFragment()); xml.Append("</SKUIdentifier>"); } return(xml.ToString()); }
/// <summary> /// Sets the SKUIdentifier property /// </summary> /// <param name="SKUIdentifier">SKUIdentifier property</param> /// <returns>this instance</returns> public IdentifierType WithSKUIdentifier(SellerSKUIdentifier SKUIdentifier) { this.SKUIdentifierField = SKUIdentifier; return(this); }
public override void ReadFragmentFrom(IMwsReader reader) { _marketplaceASIN = reader.Read <ASINIdentifier>("MarketplaceASIN"); _skuIdentifier = reader.Read <SellerSKUIdentifier>("SKUIdentifier"); }
/// <summary> /// Sets the SKUIdentifier property. /// </summary> /// <param name="skuIdentifier">SKUIdentifier property.</param> /// <returns>this instance.</returns> public IdentifierType WithSKUIdentifier(SellerSKUIdentifier skuIdentifier) { this._skuIdentifier = skuIdentifier; return(this); }
public override void ReadFragmentFrom(IMwsReader reader) { _marketplaceASIN = reader.Read<ASINIdentifier>("MarketplaceASIN"); _skuIdentifier = reader.Read<SellerSKUIdentifier>("SKUIdentifier"); }
/// <summary> /// Sets the SKUIdentifier property. /// </summary> /// <param name="skuIdentifier">SKUIdentifier property.</param> /// <returns>this instance.</returns> public IdentifierType WithSKUIdentifier(SellerSKUIdentifier skuIdentifier) { this._skuIdentifier = skuIdentifier; return this; }
/// <summary> /// Sets the SKUIdentifier property /// </summary> /// <param name="SKUIdentifier">SKUIdentifier property</param> /// <returns>this instance</returns> public IdentifierType WithSKUIdentifier(SellerSKUIdentifier SKUIdentifier) { this.SKUIdentifierField = SKUIdentifier; return this; }