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;
 }
示例#4
0
 internal abstract bool ShouldConvertCountryTargetBid(CountryTargetBid bid);
示例#5
0
 internal abstract void SetBulkCountryBidAdditionalProperties(TBid bulkBid, CountryTargetBid apiBid);
示例#6
0
 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));
     }
 }
示例#8
0
        internal override CountryTargetBid SetCountryBidAdditionalProperties(CountryTargetBid apiBid, TBid bulkBid)
        {
            apiBid.IsExcluded = true;

            return(apiBid);
        }