public override void ReadFragmentFrom(IMwsReader reader) { _height = reader.Read <DimensionMeasure>("Height"); _width = reader.Read <DimensionMeasure>("Width"); _length = reader.Read <DimensionMeasure>("Length"); _weight = reader.Read <WeightMeasure>("Weight"); }
/// <summary> /// Sets the Width property. /// </summary> /// <param name="width">Width property.</param> /// <returns>this instance.</returns> public ItemDimensions WithWidth(DimensionMeasure width) { this._width = width; return(this); }
/// <summary> /// Sets the Height property. /// </summary> /// <param name="height">Height property.</param> /// <returns>this instance.</returns> public ItemDimensions WithHeight(DimensionMeasure height) { this._height = height; return(this); }
/// <summary> /// Sets the Length property. /// </summary> /// <param name="length">Length property.</param> /// <returns>this instance.</returns> public ItemDimensions WithLength(DimensionMeasure length) { this._length = length; return(this); }