class Google::Apis::AndroidpublisherV2::SubscriptionDeferralInfo
A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.
Attributes
desired_expiry_time_millis[RW]
The desired next expiry time for the subscription in milliseconds since Epoch. The given time must be after the current expiry time for the subscription. Corresponds to the JSON property `desiredExpiryTimeMillis` @return [String]
expected_expiry_time_millis[RW]
The expected expiry time for the subscription. If the current expiry time for the subscription is not the value specified here, the deferral will not occur. Corresponds to the JSON property `expectedExpiryTimeMillis` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/androidpublisher_v2/classes.rb, line 1212 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/androidpublisher_v2/classes.rb, line 1217 def update!(**args) @desired_expiry_time_millis = args[:desired_expiry_time_millis] if args.key?(:desired_expiry_time_millis) @expected_expiry_time_millis = args[:expected_expiry_time_millis] if args.key?(:expected_expiry_time_millis) end