1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 00:52:49 -05:00

iap pre-purchase check

This commit is contained in:
Kyle Spearrin
2019-09-19 08:46:26 -04:00
parent 9ddfe3e947
commit e9174ba9f4
4 changed files with 47 additions and 0 deletions

View File

@ -45,6 +45,7 @@ namespace Bit.Core.Services
Task SendDeleteConfirmationAsync(string email);
Task<Tuple<bool, string>> SignUpPremiumAsync(User user, string paymentToken,
PaymentMethodType paymentMethodType, short additionalStorageGb, UserLicense license);
Task IapCheckAsync(User user, PaymentMethodType paymentMethodType);
Task UpdateLicenseAsync(User user, UserLicense license);
Task<string> AdjustStorageAsync(User user, short storageAdjustmentGb);
Task ReplacePaymentMethodAsync(User user, string paymentToken, PaymentMethodType paymentMethodType);