internal override bool ShouldConvertCountryTargetBid(CountryTargetBid bid) { return(!bid.IsExcluded); }
internal override CountryTargetBid SetCountryBidAdditionalProperties(CountryTargetBid apiBid, TBid bulkBid) { apiBid.BidAdjustment = bulkBid.BidAdjustment; return(apiBid); }
internal override void SetBulkCountryBidAdditionalProperties(TBid bulkBid, CountryTargetBid apiBid) { bulkBid.BidAdjustment = apiBid.BidAdjustment; }
internal abstract bool ShouldConvertCountryTargetBid(CountryTargetBid bid);
internal abstract void SetBulkCountryBidAdditionalProperties(TBid bulkBid, CountryTargetBid apiBid);
internal abstract CountryTargetBid SetCountryBidAdditionalProperties(CountryTargetBid apiBid, TBid bulkBid);
/// <summary> /// Outputs the CountryTargetBid. /// </summary> protected void OutputCountryTargetBid(CountryTargetBid targetBid) { if (targetBid != null) { OutputStatusMessage(string.Format("BidAdjustment: {0}", targetBid.BidAdjustment)); OutputStatusMessage(string.Format("CountryAndRegion : {0}", targetBid.CountryAndRegion)); var isExcluded = targetBid.IsExcluded ? "True" : "False"; OutputStatusMessage(string.Format("IsExcluded: {0}", isExcluded)); } }
internal override CountryTargetBid SetCountryBidAdditionalProperties(CountryTargetBid apiBid, TBid bulkBid) { apiBid.IsExcluded = true; return(apiBid); }