Click or drag to resize
CalculationRequest Class
Input data necessary to perform calculation.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceCalculationRequest

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public class CalculationRequest

The CalculationRequest type exposes the following members.

Constructors
  NameDescription
Public methodCalculationRequest
Top
Properties
  NameDescription
Public propertyBillingAddress
Billing address for the resulting order.
Public propertyCalculationDate
Date and time when discounts and taxes are to be valid.
Remarks
For most price calculations, the value is equal to the current time. When calculating prices for existing orders, the values is equal to the date and time when the order was created.
Public propertyCouponCodes
Collection of coupon codes affecting the calculation.
Public propertyCurrency
Currency in what the calculation is to be performed.
Public propertyCustomer
Customer for whom the calculation happens.
Public propertyItems
Items to be calculated.
Public propertyOrderId
Gets the order ID in case that calculation runs for already created order.
Public propertyPaymentOption
The method of the payment.
Public propertyRequestCustomData
Calculation request custom data.
Public propertyShippingAddress
Shipping address for the resulting order.
Public propertyShippingOption
Shipping method for the resulting order.
Public propertySite
Site on which the calculation occurs.
Public propertyTotalItemsWeight
Sum of all items' weight.
Public propertyUser
User for whom the calculation happens.
Top
See Also