private PriceQueryProvider(int goodsId, int skuId, bool realTime) { this._goodsId = goodsId; this._skuId = skuId; this._realTime = realTime; //default this._userId = 0; this._platType = GetDefaultPlatType(); this._equipmentCode = null; }
public PriceQueryProvider WithPlatType(Enum_PlatType platType) { this._platType = platType; return this; }
public PriceQueryProvider With(int userId, string equipmentCode, Enum_PlatType platType) { return this.WithUser(userId, equipmentCode).WithPlatType(platType); }