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 Weight property. /// </summary> /// <param name="weight">Weight property.</param> /// <returns>this instance.</returns> public ItemDimensions WithWeight(WeightMeasure weight) { this._weight = weight; return(this); }