API/Autodoc/Files/RuStoreProductSubscription.gd.en.md
@brief Subscription information.
class_name RuStoreProductSubscription extends RefCounted
@brief Subscription period.
var subscriptionPeriod: RuStoreSubscriptionPeriod = null
@brief Free trial period.
var freeTrialPeriod: RuStoreSubscriptionPeriod = null
@brief Grace period.
var gracePeriod: RuStoreSubscriptionPeriod = null
@brief Formatted introductory price of the subscription, including currency symbol, in the language of RuStoreProduct.language.
var introductoryPrice: String = ""
@brief Introductory price in minimal currency units (e.g., cents).
var introductoryPriceAmount: String = ""
@brief Billing period of the introductory price.
var introductoryPricePeriod: RuStoreSubscriptionPeriod = null
func _init(json: String = ""): if json != "": var obj = JSON.parse_string(json)
if obj.has("subscriptionPeriod"):
subscriptionPeriod = RuStoreSubscriptionPeriod.new(str(obj["subscriptionPeriod"]))
if obj.has("freeTrialPeriod"):
freeTrialPeriod = RuStoreSubscriptionPeriod.new(obj["freeTrialPeriod"])
if obj.has("gracePeriod"):
gracePeriod = RuStoreSubscriptionPeriod.new(obj["gracePeriod"])
if obj.has("introductoryPrice"):
introductoryPrice = obj["introductoryPrice"]
if obj.has("introductoryPriceAmount"):
introductoryPriceAmount = obj["introductoryPriceAmount"]
if obj.has("introductoryPricePeriod"):
introductoryPricePeriod = RuStoreSubscriptionPeriod.new(obj["introductoryPricePeriod"])
- Страницы
- ERuStoreProductStatus.gd.en
- ERuStoreProductStatus.gd
- ERuStoreProductType.gd.en
- ERuStoreProductType.gd
- ERuStorePurchaseState.gd.en
- ERuStorePurchaseState.gd
- ERuStoreTheme.gd.en
- ERuStoreTheme.gd
- RuStoreBillingJsonParser.gd.en
- RuStoreBillingJsonParser.gd
- RuStoreBillingUserAuthorizationStatus.gd.en
- RuStoreBillingUserAuthorizationStatus.gd
- RuStoreError.gd.en
- RuStoreError.gd
- RuStoreFeatureAvailabilityResult.gd.en
- RuStoreFeatureAvailabilityResult.gd
- RuStoreGodotBilling.en
- RuStoreGodotBilling.gd.en
- RuStoreGodotBilling.gd
- RuStoreGodotBilling
- RuStoreGodotCore.en
- RuStoreGodotCore
- RuStorePaymentResult.gd.en
- RuStorePaymentResult.gd
- RuStoreProduct.gd.en
- RuStoreProduct.gd
- RuStoreProductSubscription.gd.en
- RuStoreProductSubscription.gd
- RuStorePurchase.gd.en
- RuStorePurchase.gd
- RuStorePurchaseAvailabilityResult.gd.en
- RuStorePurchaseAvailabilityResult.gd
- RuStoreSubscriptionPeriod.gd.en
- RuStoreSubscriptionPeriod.gd
- addons.en
- addons
- docs.en
- docs
- godot_example.en
- godot_example
- ERuStoreProductStatus.gd.en
- ERuStoreProductStatus.gd
- ERuStoreProductType.gd.en
- ERuStoreProductType.gd
- ERuStorePurchaseState.gd.en
- ERuStorePurchaseState.gd
- ERuStoreTheme.gd.en
- ERuStoreTheme.gd
- RuStoreBillingJsonParser.gd.en
- RuStoreBillingJsonParser.gd
- RuStoreBillingUserAuthorizationStatus.gd.en
- RuStoreBillingUserAuthorizationStatus.gd
- RuStoreError.gd.en
- RuStoreError.gd
- RuStoreFeatureAvailabilityResult.gd.en
- RuStoreFeatureAvailabilityResult.gd
- RuStoreGodotBilling.en
- RuStoreGodotBilling.gd.en
- RuStoreGodotBilling.gd
- RuStoreGodotBilling
- RuStoreGodotCore.en
- RuStoreGodotCore
- RuStorePaymentResult.gd.en
- RuStorePaymentResult.gd
- RuStoreProduct.gd.en
- RuStoreProduct.gd
- RuStoreProductSubscription.gd.en
- RuStoreProductSubscription.gd
- RuStorePurchase.gd.en
- RuStorePurchase.gd
- RuStorePurchaseAvailabilityResult.gd.en
- RuStorePurchaseAvailabilityResult.gd
- RuStoreSubscriptionPeriod.gd.en
- RuStoreSubscriptionPeriod.gd
- addons.en
- addons
- docs.en
- docs
- godot_example.en
- godot_example