internal override bool ShouldConvertStateTargetBid(StateTargetBid bid)
 {
     return(!bid.IsExcluded);
 }
        internal override StateTargetBid SetStateBidAdditionalProperties(StateTargetBid apiBid, TBid bulkBid)
        {
            apiBid.BidAdjustment = bulkBid.BidAdjustment;

            return(apiBid);
        }
 internal override void SetBulkStateBidAdditionalProperties(TBid bulkBid, StateTargetBid apiBid)
 {
     bulkBid.BidAdjustment = apiBid.BidAdjustment;
 }
示例#4
0
 internal abstract bool ShouldConvertStateTargetBid(StateTargetBid bid);
示例#5
0
 internal abstract void SetBulkStateBidAdditionalProperties(TBid bulkBid, StateTargetBid apiBid);
示例#6
0
 internal abstract StateTargetBid SetStateBidAdditionalProperties(StateTargetBid apiBid, TBid bulkBid);
 /// <summary>
 /// Outputs the StateTargetBid.
 /// </summary>
 protected void OutputStateTargetBid(StateTargetBid targetBid)
 {
     if (targetBid != null)
     {
         OutputStatusMessage(string.Format("BidAdjustment: {0}", targetBid.BidAdjustment));
         OutputStatusMessage(string.Format("State : {0}", targetBid.State));
         var isExcluded = targetBid.IsExcluded ? "True" : "False";
         OutputStatusMessage(string.Format("IsExcluded: {0}", isExcluded));
     }
 }
示例#8
0
        internal override StateTargetBid SetStateBidAdditionalProperties(StateTargetBid apiBid, TBid bulkBid)
        {
            apiBid.IsExcluded = true;

            return(apiBid);
        }