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.



2250
2251
2252
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2250

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)


2248
2249
2250
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2248

def new_expiry_time_millis
  @new_expiry_time_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2255
2256
2257
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2255

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