mirror of
https://github.com/bitwarden/server
synced 2025-12-20 10:13:39 +00: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);
|
|
}
|
|
}
|