Show / Hide Table of Contents

Class QuantityToPrice

A start date and number of units

Inheritance
System.Object
QuantityToPrice
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
public class QuantityToPrice

Properties

View Source

Breaks

OBSOLETE: List of breaks on the product line.

Declaration
[Obsolete("Add breaks to booking")]
public List<DateRange> Breaks { get; set; }
Property Type: System.Collections.Generic.List<DateRange>
View Source

EndDate

The end date of the product. Must be null if NumberOfUnits is specified

Declaration
public Date? EndDate { get; set; }
Property Type: System.Nullable<Date>
View Source

NumberOfMinorUnits

The number of minor units. See NumberOfUnits for more details.

Declaration
public int? NumberOfMinorUnits { get; set; }
Property Type: System.Nullable<System.Int32>
View Source

NumberOfUnits

The number of units of the product tha will be required. Must be null if EndDate is specified

Declaration
public int? NumberOfUnits { get; set; }
Property Type: System.Nullable<System.Int32>
Remarks

The type of unit depends of the product itself

Product TypeUnit TypeMinor units meaning?
CourseWorking WeeksWorking Days
AccommodationCalendar WeeksCalendar Days
TransferNumber of transfers (usually 1)Must be zero
Add OnDepends on the add on. The GetProductsResponse returned by the products service has a field that identifies unit type. Must be zero

View Source

StartDate

The start date that the product will be required

Declaration
public Date? StartDate { get; set; }
Property Type: System.Nullable<Date>
View Source

UnitType

The unit type.

Declaration
public UnitType? UnitType { get; set; }
Property Type: System.Nullable<UnitType>
Remarks

If this is null then unit type will be assumed to be either Weeks or NumberOfItems depending on the product. This is to ensure backwards compatibility.

  • View Source
Back to top Copyright © 2017 EC English