mirror of
https://github.com/bitwarden/server.git
synced 2025-04-24 06:25:09 -05:00
14 lines
400 B
C#
14 lines
400 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Bit.Billing.Models;
|
|
|
|
namespace Bit.Core.Services
|
|
{
|
|
public interface IAppleIapService
|
|
{
|
|
Task<AppleReceiptStatus> GetVerifiedReceiptStatusAsync(string receiptData);
|
|
Task SaveReceiptAsync(AppleReceiptStatus receiptStatus, Guid userId);
|
|
Task<Tuple<string, Guid?>> GetReceiptAsync(string originalTransactionId);
|
|
}
|
|
}
|