/// <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 MarketplaceASIN property /// </summary> /// <param name="marketplaceASIN">MarketplaceASIN property</param> /// <returns>this instance</returns> public IdentifierType WithMarketplaceASIN(ASINIdentifier marketplaceASIN) { this.marketplaceASINField = marketplaceASIN; return(this); }
public override void ReadFragmentFrom(IMwsReader reader) { _marketplaceASIN = reader.Read <ASINIdentifier>("MarketplaceASIN"); _skuIdentifier = reader.Read <SellerSKUIdentifier>("SKUIdentifier"); }
public override void ReadFragmentFrom(IMwsReader reader) { _marketplaceASIN = reader.Read<ASINIdentifier>("MarketplaceASIN"); _skuIdentifier = reader.Read<SellerSKUIdentifier>("SKUIdentifier"); }
/// <summary> /// Sets the MarketplaceASIN property. /// </summary> /// <param name="marketplaceASIN">MarketplaceASIN property.</param> /// <returns>this instance.</returns> public IdentifierType WithMarketplaceASIN(ASINIdentifier marketplaceASIN) { this._marketplaceASIN = marketplaceASIN; return this; }
public IdentifierType(ASINIdentifier marketplaceASIN) : base() { this._marketplaceASIN = marketplaceASIN; }