docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AppleReceiptParser

    This class with parse the Apple receipt data received in byte[] into a AppleReceipt object Note: when building for non-Apple platforms, this will not execute code.

    Inheritance
    object
    AppleReceiptParser
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing.Security
    Assembly: Unity.Purchasing.SecurityStub.dll
    Syntax
    public class AppleReceiptParser

    Methods

    Parse(byte[])

    Parse the Apple receipt data into a AppleReceipt object

    Declaration
    public AppleReceipt Parse(byte[] receiptData)
    Parameters
    Type Name Description
    byte[] receiptData

    Apple receipt data

    Returns
    Type Description
    AppleReceipt

    The converted AppleReceipt object from the Apple receipt data

    Exceptions
    Type Condition
    NotImplementedException

    Not implemented for this platform.

    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)