Click or drag to resize
EcommerceActivityLoggerLogPurchaseActivity Method
Logs purchase activity.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public void LogPurchaseActivity(
	int orderID,
	decimal totalPrice,
	string totalPriceInCorrectCurrency,
	bool loggingDisabledInAdministration,
	Nullable<int> contactID = null
)

Parameters

orderID
Type: SystemInt32
Order ID.
totalPrice
Type: SystemDecimal
Order total price in main currency.
totalPriceInCorrectCurrency
Type: SystemString
String representation of order total price in main currency.
loggingDisabledInAdministration
Type: SystemBoolean
True if activities should not be logged in administration.
contactID (Optional)
Type: SystemNullableInt32
If set overrides ActivityContactID of activity.

Implements

IEcommerceActivityLoggerLogPurchaseActivity(Int32, Decimal, String, Boolean, NullableInt32)
See Also