示例#1
0
 private DeliveryBooking(string reference, string deliveryInstructions, bool?itemsRequirePurchase, DateTime?pickupTime, DeliveryBookingLocation pickupDetail, TimeFrame dropoffWindow, DeliveryBookingLocation dropoffDetail, decimal?customerFee, string customerReference, decimal?tax, bool?taxInclusivePrice, decimal?tip, decimal?driverFeePercentage, string driverMatchCode, int?deliverySequence, string deliveryRouteIdentifier, string template)
 {
     _reference            = reference;
     _deliveryInstructions = deliveryInstructions;
     ItemsRequirePurchase  = itemsRequirePurchase;
     PickupTime            = pickupTime;
     PickupDetail          = pickupDetail;
     DropoffWindow         = dropoffWindow;
     DropoffDetail         = dropoffDetail;
     CustomerFee           = customerFee;
     _customerReference    = customerReference;
     Tax = tax;
     TaxInclusivePrice = taxInclusivePrice;
     Tip = tip;
     DriverFeePercentage     = driverFeePercentage;
     DriverMatchCode         = driverMatchCode;
     DeliverySequence        = deliverySequence;
     DeliveryRouteIdentifier = deliveryRouteIdentifier;
     Template = template;
 }
示例#2
0
 private DeliveryDetails(DateTime created, Guid id, string reference, LocationApi pickupLocation, LocationApi dropoffLocation, DateTime lastUpdated, string currentStatus, Driver driver, DateTime?pickupTime, TimeFrame dropoffTime, string deliveryInstructions, string customerReference, TrackingUrls trackingUrls, ProofOfDelivery proofOfDelivery, decimal driverTip, decimal deliveryFee, Distance estimatedDistance)
 {
     Created              = created;
     Id                   = id;
     Reference            = reference;
     PickupLocation       = pickupLocation;
     DropoffLocation      = dropoffLocation;
     LastUpdated          = lastUpdated;
     CurrentStatus        = currentStatus;
     Driver               = driver;
     PickupTime           = pickupTime;
     DropoffTime          = dropoffTime;
     DeliveryInstructions = deliveryInstructions;
     CustomerReference    = customerReference;
     TrackingUrls         = trackingUrls;
     ProofOfDelivery      = proofOfDelivery;
     DriverTip            = driverTip;
     DeliveryFee          = deliveryFee;
     EstimatedDistance    = estimatedDistance;
 }