logPurchaseRefund method
- @Deprecated('logPurchaseRefund() has been deprecated. Please use logRefund()')
Logs the standard purchase_refund
event. This event has been deprecated, please use refund
instead.
This event signifies that an item purchase was refunded. Note: If you
supply the value
parameter, you must also supply the currency
parameter so that revenue metrics can be computed accurately.
Implementation
@Deprecated('logPurchaseRefund() has been deprecated. Please use logRefund()')
Future<void> logPurchaseRefund({
String? currency,
double? value,
String? transactionId,
}) {
_requireValueAndCurrencyTogether(value, currency);
return _delegate.logEvent(
name: 'purchase_refund',
parameters: filterOutNulls(<String, Object?>{
_CURRENCY: currency,
_VALUE: value,
_TRANSACTION_ID: transactionId,
}),
);
}