docs.unity3d.com
    Show / Hide Table of Contents

    Class FakeAmazonExtensions

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

    Access Amazon store specific functionality.

    Inheritance
    Object
    FakeAmazonExtensions
    Namespace: UnityEngine.Purchasing
    Syntax
    public class FakeAmazonExtensions : IAmazonExtensions, IStoreExtension, IAmazonConfiguration, IStoreConfiguration

    Properties

    amazonUserId

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

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

    Declaration
    public string amazonUserId { get; }
    Property Value
    Type Description
    String
    Implements
    IAmazonExtensions.amazonUserId

    Methods

    NotifyUnableToFulfillUnavailableProduct(String)

    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

    Declaration
    public void NotifyUnableToFulfillUnavailableProduct(string transactionID)
    Parameters
    Type Name Description
    String transactionID

    Products transaction id

    Implements
    IAmazonExtensions.NotifyUnableToFulfillUnavailableProduct(String)

    WriteSandboxJSON(HashSet<ProductDefinition>)

    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.

    Declaration
    public void WriteSandboxJSON(HashSet<ProductDefinition> products)
    Parameters
    Type Name Description
    HashSet<ProductDefinition> products

    Products to add to the testing app JSON.

    Implements
    IAmazonConfiguration.WriteSandboxJSON(HashSet<ProductDefinition>)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023