Interface IAmazonAppsExtendedProductService
A public interface for the Amazon App Store product service extension.
Namespace: UnityEngine .Purchasing
Assembly: Unity.Purchasing.dll
Syntax
public interface IAmazonAppsExtendedProductService : IProductServiceExtension
Methods
NotifyUnableToFulfillUnavailableProduct(string)
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
Declaration
void NotifyUnableToFulfillUnavailableProduct(string transactionID)
Parameters
Type | Name | Description |
---|---|---|
string | transactionID | Products transaction id |
WriteSandboxJSON(HashSet<ProductDefinition>)
To use for Amazon’s local Sandbox testing app, generate a JSON description of your product catalog on the device’s SD card.
Declaration
void WriteSandboxJSON(HashSet<ProductDefinition> products)
Parameters
Type | Name | Description |
---|---|---|
Hash |
products | Products to add to the testing app JSON. |