internal override MetroAreaTargetBid SetMetroAreaBidAdditionalProperties(MetroAreaTargetBid apiBid, TBid bulkBid)
        {
            apiBid.BidAdjustment = bulkBid.BidAdjustment;

            return(apiBid);
        }
 internal override void SetBulkMetroAreaBidAdditionalProperties(TBid bulkBid, MetroAreaTargetBid apiBid)
 {
     bulkBid.BidAdjustment = apiBid.BidAdjustment;
 }
 internal override bool ShouldConvertMetroAreaTargetBid(MetroAreaTargetBid bid)
 {
     return(!bid.IsExcluded);
 }
Exemplo n.º 4
0
 internal abstract bool ShouldConvertMetroAreaTargetBid(MetroAreaTargetBid bid);
Exemplo n.º 5
0
 internal abstract void SetBulkMetroAreaBidAdditionalProperties(TBid bulkBid, MetroAreaTargetBid apiBid);
Exemplo n.º 6
0
 internal abstract MetroAreaTargetBid SetMetroAreaBidAdditionalProperties(MetroAreaTargetBid apiBid, TBid bulkBid);
Exemplo n.º 7
0
 /// <summary>
 /// Outputs the MetroAreaTargetBid.
 /// </summary>
 protected void OutputMetroAreaTargetBid(MetroAreaTargetBid targetBid)
 {
     if (targetBid != null)
     {
         OutputStatusMessage(string.Format("BidAdjustment: {0}", targetBid.BidAdjustment));
         OutputStatusMessage(string.Format("MetroArea : {0}", targetBid.MetroArea));
         var isExcluded = targetBid.IsExcluded ? "True" : "False";
         OutputStatusMessage(string.Format("IsExcluded: {0}", isExcluded));
     }
 }
Exemplo n.º 8
0
        internal override MetroAreaTargetBid SetMetroAreaBidAdditionalProperties(MetroAreaTargetBid apiBid, TBid bulkBid)
        {
            apiBid.IsExcluded = true;

            return(apiBid);
        }