initial commit (migrated)
This commit is contained in:
commit
b594facb51
143 changed files with 11057 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
import 'package:fpdart/fpdart.dart';
|
||||
import 'package:in_app_purchase/in_app_purchase.dart';
|
||||
import 'package:kuwot/core/error/failure.dart';
|
||||
|
||||
abstract class InAppPurchaseRepository {
|
||||
Stream<List<PurchaseDetails>> get purchaseStream;
|
||||
|
||||
Future<Either<Failure, List<ProductDetails>>> getConsumableProducts();
|
||||
|
||||
Future<Either<Failure, bool>> purchaseConsumableProduct(
|
||||
ProductDetails product,
|
||||
);
|
||||
|
||||
Future<Either<Failure, void>> completePurchase(
|
||||
PurchaseDetails purchaseDetails,
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue