purchaseEvent static method
Creates E-Commerce PurchaseEvent events. Use it to inform about the completion of the purchase.
Implementation
/// Use it to inform about the completion of the purchase.
static ECommerceEvent purchaseEvent(ECommerceOrder order) {
return ECommerceConstructors.purchaseEvent(order);
}