Class: Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb 
Overview
A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.
Instance Attribute Summary collapse
- 
  
    
      #desired_expiry_time_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The desired next expiry time to assign to the subscription, in milliseconds since the Epoch.
 - 
  
    
      #expected_expiry_time_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The expected expiry time for the subscription.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SubscriptionDeferralInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SubscriptionDeferralInfo.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SubscriptionDeferralInfo
Returns a new instance of SubscriptionDeferralInfo
      1344 1345 1346  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1344 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#desired_expiry_time_millis ⇒ Fixnum
The desired next expiry time to assign to the subscription, in milliseconds
since the Epoch. The given time must be later/greater than the current expiry
time for the subscription.
Corresponds to the JSON property desiredExpiryTimeMillis
      1336 1337 1338  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1336 def desired_expiry_time_millis @desired_expiry_time_millis end  | 
  
#expected_expiry_time_millis ⇒ Fixnum
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
      1342 1343 1344  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1342 def expected_expiry_time_millis @expected_expiry_time_millis end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1349 1350 1351 1352  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1349 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  |