Show / Hide Table of Contents

Class PriceAndQueryRequest

Query for products and price a basket in a single api call.

Inheritance
System.Object
PriceAndQueryRequest
Implements
IReturn<PriceAndQueryResponse>
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 Source

BasketItems

The items to price.

Declaration
public List<LineToPrice> BasketItems { get; set; }
Property Type: System.Collections.Generic.List<LineToPrice>
View Source

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; }
Property Type: System.Collections.Generic.List<BookingBreak>
View Source

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; }
Property Type: System.Collections.Generic.List<LimitedProductQuery>
View Source

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

See Also

PriceAndQueryResponse
  • View Source
Back to top Copyright © 2017 EC English