Show / Hide Table of Contents

Class CalculatePriceRequest

A request to calculate a price for a booking.

Inheritance
System.Object
CalculatePriceRequest
Implements
IReturn<CalculatePriceResponse>
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 Source

BookingDetails

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

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

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

SpecialOfferDiscountCodesToApply

Special offer discount codes to apply.

Declaration
[Obsolete("Will be removing")]
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

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