VR4RoboticArm2/VR4RoboticArm/Library/PackageCache/com.meta.xr.sdk.platform/Scripts/Models/PaidOffer.cs
IonutMocanu 48cccc22ad Main2
2025-09-08 11:13:29 +03:00

46 lines
1.1 KiB
C#

// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
namespace Oculus.Platform.Models
{
using System;
using System.Collections;
using Oculus.Platform.Models;
using System.Collections.Generic;
using UnityEngine;
/// Contains the details about the paid offer associated with a
/// Models.BillingPlan.
public class PaidOffer
{
/// The Models.Price of the paid offer contains the currency code, the amount
/// in hundredths, and the formatted string representation.
public readonly Price Price;
/// An enum that specifies the term.
///
/// OfferTerm.Unknown: unknown
///
/// OfferTerm.WEEKLY: WEEKLY
///
/// OfferTerm.BIWEEKLY: BIWEEKLY
///
/// OfferTerm.MONTHLY: MONTHLY
///
/// OfferTerm.QUARTERLY: QUARTERLY
///
/// OfferTerm.SEMIANNUAL: SEMIANNUAL
///
/// OfferTerm.ANNUAL: ANNUAL
///
/// OfferTerm.BIANNUAL: BIANNUAL
public readonly OfferTerm SubscriptionTerm;
public PaidOffer(IntPtr o)
{
Price = new Price(CAPI.ovr_PaidOffer_GetPrice(o));
SubscriptionTerm = CAPI.ovr_PaidOffer_GetSubscriptionTerm(o);
}
}
}