namespace AppsFlyerSDK
{
    public interface IAppsFlyerValidateReceipt
    {
        /// 
        /// The success callback for validateAndSendInAppPurchase API.
        /// For Android : the callback will return "Validate success".
        /// For iOS : the callback will return a JSON string from apples verifyReceipt API.
        /// 
        /// 
        void didFinishValidateReceipt(string result);
        /// 
        /// The error callback for validateAndSendInAppPurchase API.
        /// 
        /// A string describing the error.
        void didFinishValidateReceiptWithError(string error);
    }
}