docs.unity3d.com
    Show / Hide Table of Contents

    Class RedeemAppleAppStorePurchaseArgs

    Arguments for a RedeemAppleAppStorePurchaseAsync call.

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

    Constructors

    RedeemAppleAppStorePurchaseArgs(String, String, Int32, 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

    Int32 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
    Int32

    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
    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