API/Autodoc/Files/RuStorePaySubscriptionPeriod.gd.en.md


Source code

# @brief Interface representing a subscription period.
class_name RuStorePaySubscriptionPeriod extends RefCounted

# @brief Free trial period of a subscription.
class RuStorePayTrialPeriod extends RuStorePaySubscriptionPeriod:

    # @brief Duration of the period in ISO 8601 format.
    var duration: String

    # @brief ISO 4217 currency code.
    var currency: String

    # @brief Price in the smallest units of the currency.
    var price: int

# @brief Subscription period with a promotional offer.
class RuStorePayPromoPeriod extends RuStorePaySubscriptionPeriod:

    # @brief Duration of the period in ISO 8601 format.
    var duration: String

    # @brief ISO 4217 currency code.
    var currency: String

    # @brief Price in the smallest units of the currency.
    var price: int

# @brief Main period of a paid subscription.
class RuStorePayMainPeriod extends RuStorePaySubscriptionPeriod:

    # @brief Duration of the period in ISO 8601 format.
    var duration: String
    
    # @brief ISO 4217 currency code.
    var currency: String
    
    # @brief Price in the smallest units of the currency.
    var price: int

# @brief Grace period.
class RuStorePayGracePeriod extends RuStorePaySubscriptionPeriod:

    # @brief Duration of the period in ISO 8601 format.
    var duration: String

# @brief Period of waiting or temporary suspension of the subscription.
class RuStorePayHoldPeriod extends RuStorePaySubscriptionPeriod:

    # @brief Duration of the period in ISO 8601 format.
    var duration: String
Назад