docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AmazonAppStoreStoreExtensions

    Access Amazon store specific functionality.

    Inheritance
    object
    AmazonAppStoreStoreExtensions
    Implements
    IAmazonExtensions
    IStoreExtension
    IAmazonConfiguration
    IStoreConfiguration
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing
    Assembly: UnityEngine.Purchasing.Stores.dll
    Syntax
    public class AmazonAppStoreStoreExtensions : IAmazonExtensions, IStoreExtension, IAmazonConfiguration, IStoreConfiguration

    Constructors

    AmazonAppStoreStoreExtensions(AndroidJavaObject)

    Build the AmazonAppStoreExtensions with the instance of the AmazonAppStore java object

    Declaration
    public AmazonAppStoreStoreExtensions(AndroidJavaObject a)
    Parameters
    Type Name Description
    AndroidJavaObject a

    AmazonAppStore java object

    Properties

    amazonUserId

    Gets the current Amazon user ID (for other Amazon services).

    Declaration
    public string amazonUserId { get; }
    Property Value
    Type Description
    string

    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
    public 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
    public void WriteSandboxJSON(HashSet<ProductDefinition> products)
    Parameters
    Type Name Description
    HashSet<ProductDefinition> products

    Products to add to the testing app JSON.

    Implements

    IAmazonExtensions
    IStoreExtension
    IAmazonConfiguration
    IStoreConfiguration
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)