Class: Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

Response for the purchases.subscriptions.defer API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubscriptionPurchasesDeferResponse

Returns a new instance of SubscriptionPurchasesDeferResponse.



6218
6219
6220
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6218

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#new_expiry_time_millisFixnum

The new expiry time for the subscription in milliseconds since the Epoch. Corresponds to the JSON property newExpiryTimeMillis

Returns:

  • (Fixnum)


6216
6217
6218
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6216

def new_expiry_time_millis
  @new_expiry_time_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6223
6224
6225
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6223

def update!(**args)
  @new_expiry_time_millis = args[:new_expiry_time_millis] if args.key?(:new_expiry_time_millis)
end