using System.Collections.Generic;
using UnityEngine.Purchasing;
namespace UnityEngine.Purchasing
{
///
/// THIS IS A FAKE, NO CODE WILL BE EXECUTED!
///
/// Access Amazon store specific functionality.
///
public class FakeAmazonExtensions : IAmazonExtensions, IAmazonConfiguration
{
///
/// THIS IS A FAKE, NO CODE WILL BE EXECUTED!
///
/// To use for Amazon’s local Sandbox testing app, generate a JSON description of your product catalog on the device’s SD card.
///
/// Products to add to the testing app JSON.
public void WriteSandboxJSON(HashSet products)
{
}
///
/// THIS IS A FAKE, NO CODE WILL BE EXECUTED!
///
/// Amazon makes it possible to notify them of a product that cannot be fulfilled.
///
/// This method calls Amazon's notifyFulfillment(transactionID, FulfillmentResult.UNAVAILABLE);
/// https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/implementing-iap-2.0
///
/// Products transaction id
public void NotifyUnableToFulfillUnavailableProduct(string transactionID)
{
}
///
/// THIS IS A FAKE, NO CODE WILL BE EXECUTED!
///
/// Gets the current Amazon user ID (for other Amazon services).
///
public string amazonUserId => "fakeid";
}
}