docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RedeemAppleAppStorePurchaseArgs

    Arguments for a RedeemAppleAppStorePurchaseAsync call.

    Inheritance
    object
    RedeemAppleAppStorePurchaseArgs
    Purchases.RedeemAppleAppStorePurchaseArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Economy
    Assembly: Unity.Services.Economy.dll
    Syntax
    public class RedeemAppleAppStorePurchaseArgs

    Constructors

    RedeemAppleAppStorePurchaseArgs(string, string, int, string)

    Takes a realMoneyPurchaseId. This is the configuration ID of the purchase to make. Takes a receipt. This is the receipt data as returned from the Apple App Store. Takes a localCost. This is the cost of the purchase as an integer in the minor currency format, e.g. $1.99 USD would be 199 Takes a localCurrency. ISO-4217 code of the currency used in the purchase.

    Declaration
    public RedeemAppleAppStorePurchaseArgs(string realMoneyPurchaseId, string receipt, int localCost, string localCurrency)
    Parameters
    Type Name Description
    string realMoneyPurchaseId

    Configuration ID of the purchase to be made

    string receipt

    Receipt data as returned from the Apple App Store

    int localCost

    Cost of the purchase as an integer in the minor currency format, e.g. $1.99 USD would be 199

    string localCurrency

    ISO-4217 code of the currency used in the purchase

    Properties

    LocalCost

    The cost of the purchase as an integer in the minor currency format, e.g. $1.99 USD would be 199

    Declaration
    public int LocalCost { get; set; }
    Property Value
    Type Description
    int

    LocalCurrency

    ISO-4217 code of the currency used in the purchase.

    Declaration
    public string LocalCurrency { get; set; }
    Property Value
    Type Description
    string

    RealMoneyPurchaseId

    Configuration ID of the purchase to make.

    Declaration
    public string RealMoneyPurchaseId { get; set; }
    Property Value
    Type Description
    string

    Receipt

    The receipt data as returned from the Apple App Store.

    Declaration
    public string Receipt { get; set; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 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)