Reintroduce and deprecate "putSubtotal"
MODIFY
analytics/src/main/java/com/segment/analytics/Properties.java
analytics/src/main/java/com/segment/analytics/Properties.java
@@ -282,6 +282,14 @@ public class Properties extends ValueMap {
return putValue(SUBTOTAL_KEY, subtotal);
}
+ /**
+ * @deprecated use {@link #subtotal()}
+ */
+ @Deprecated
+ public double putSubtotal() {
+ return subtotal();
+ }
+
public double subtotal() {
return getDouble(SUBTOTAL_KEY, 0);
}

Reintroduce and deprecate "putSubtotal"