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 AppMetricaECommerceEvent purchaseEvent(AppMetricaECommerceOrder order) {
  return ECommerceConstructors.purchaseEvent(order);
}