-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
DEFERRED
replacement mode (#1751)
Deferred replacement mode was removed in V7 of the SDK. This brings it back.
- Loading branch information
Showing
6 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
api-tester/src/main/java/com/revenuecat/apitester/java/GoogleReplacementModeAPI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.revenuecat.apitester.java; | ||
|
||
import com.revenuecat.purchases.models.GoogleReplacementMode; | ||
|
||
@SuppressWarnings({"unused"}) | ||
final class GoogleReplacementModeAPI { | ||
static void check(final GoogleReplacementMode mode) { | ||
switch (mode) { | ||
case WITHOUT_PRORATION: | ||
case WITH_TIME_PRORATION: | ||
case CHARGE_FULL_PRICE: | ||
case CHARGE_PRORATED_PRICE: | ||
case DEFERRED: | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters