API/Autodoc/Files/FURuStorePayProductPurchaseResult.h.en.md


Classes

Name
struct FURuStorePayProductPurchaseResult — Result of a successful digital product purchase.

Source code

// Copyright Epic Games, Inc. All Rights Reserved.

#include "FURuStorePayProductPurchaseResult.generated.h"

USTRUCT(BlueprintType)
struct RUSTOREPAY_API FURuStorePayProductPurchaseResult
{
    GENERATED_USTRUCT_BODY()

    
    UPROPERTY(BlueprintReadOnly)
    URuStorePayOrderId* orderId; // nullable

    UPROPERTY(BlueprintReadOnly)
    URuStorePayPurchaseId* purchaseId;

    UPROPERTY(BlueprintReadOnly)
    URuStorePayProductId* productId;

    UPROPERTY(BlueprintReadOnly)
    EURuStorePayProductType productType;

    UPROPERTY(BlueprintReadOnly)
    URuStorePayInvoiceId* invoiceId;

    UPROPERTY(BlueprintReadOnly)
    EURuStorePayPurchaseType purchaseType;

    UPROPERTY(BlueprintReadOnly)
    URuStorePayQuantity* quantity;

    UPROPERTY(BlueprintReadOnly)
    bool sandbox;

    FURuStorePayProductPurchaseResult()
    {
        orderId = nullptr;
        purchaseId = NewObject<URuStorePayPurchaseId>(GetTransientPackage());
        productId = NewObject<URuStorePayProductId>(GetTransientPackage());
        productType = static_cast<EURuStorePayProductType>(0);
        invoiceId = NewObject<URuStorePayInvoiceId>(GetTransientPackage());
        purchaseType = static_cast<EURuStorePayPurchaseType>(0);
        quantity = NewObject<URuStorePayQuantity>(GetTransientPackage());
        sandbox = false;
    }
};
Назад