Class CalculatePriceRequest
A request to calculate a price for a booking.
Inheritance
System.Object
CalculatePriceRequest
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EC.ProductsAndPricing.ServiceContract.Pricing
Assembly: EC.ProductsAndPricing.ServiceContract.dll
Syntax
[VersionedRoute(1, VersionedRouteHttpVerb.Post, "calculate-price")]
public class CalculatePriceRequest : IReturn<CalculatePriceResponse>
Properties
View SourceBookingDetails
Information about the booking that will be used to see if discounts apply to a booking.
Declaration
public BookingDetails BookingDetails { get; set; }
Property Type:
BookingDetails
View Source
Breaks
A list of the breaks
Declaration
public List<BookingBreak> Breaks { get; set; }
CancellationReasonCode
Why was the booking cancelled? null
if the booking is not cancelled.
Declaration
public string CancellationReasonCode { get; set; }
Property Type:
System.String
View Source
Options
Settings that control how pricing is applied to the booking.
Declaration
public PriceQueryOptions Options { get; set; }
Property Type:
PriceQueryOptions
View Source
PriceLockToken
Declaration
public string PriceLockToken { get; set; }
Property Type:
System.String
View Source
Products
A list of products to price.
Declaration
public List<LineToPrice> Products { get; set; }
SpecialOfferDiscountCodesToApply
Special offer discount codes to apply.
Declaration
public List<string> SpecialOfferDiscountCodesToApply { get; set; }
Property Type:
System.Collections.Generic.List<System.String>
Remarks
This will be ignored if ApplyBestSpecialOffer is true