IEcommerceActivityLoggerLogPurchaseActivity Method |
Logs purchase activity.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax 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.
See Also