Class PriceAndQueryRequest
Query for products and price a basket in a single api call.
Inheritance
System.Object
PriceAndQueryRequest
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, "price-and-query")]
public class PriceAndQueryRequest : IReturn<PriceAndQueryResponse>
Properties
View SourceBasketItems
The items to price.
Declaration
public List<LineToPrice> BasketItems { get; set; }
BookingDetails
Details about a booking that can be used to work out discounts.
Declaration
public BookingDetails BookingDetails { get; set; }
Property Type:
BookingDetails
View Source
Breaks
A list of the breaks
Declaration
public List<BookingBreak> Breaks { get; set; }
Options
Pricing options.
Declaration
public PriceQueryOptions Options { get; set; }
Property Type:
PriceQueryOptions
View Source
Queries
Product queries to run.
Declaration
public List<LimitedProductQuery> Queries { get; set; }
SpecialOfferDiscountCodesToApply
Apply the following special offers.
Declaration
public List<string> SpecialOfferDiscountCodesToApply { get; set; }
Property Type:
System.Collections.Generic.List<System.String>
Remarks
This will be ignored if ApplyBestSpecialOffer is true