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 Currency code ISO 4217.
    var currency: String

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

# @brief Subscription period with promo action.
class RuStorePayPromoPeriod extends RuStorePaySubscriptionPeriod:

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

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

    # @brief Price in the smallest currency units.
    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 Currency code ISO 4217.
    var currency: String
    
    # @brief Price in the smallest currency units.
    var price: int

# @brief Grace period.
class RuStorePayGracePeriod extends RuStorePaySubscriptionPeriod:

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

# @brief Waiting period or temporary suspension of subscription.
class RuStorePayHoldPeriod extends RuStorePaySubscriptionPeriod:

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

Назад