Class: Google::Apis::AndroidpublisherV3::RevocationContext

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

Revocation context of the purchases.subscriptionsv2.revoke API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RevocationContext

Returns a new instance of RevocationContext.



4858
4859
4860
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4858

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

Instance Attribute Details

#prorated_refundGoogle::Apis::AndroidpublisherV3::RevocationContextProratedRefund

Used to determine if the refund type in the RevocationContext is a prorated refund. Corresponds to the JSON property proratedRefund



4856
4857
4858
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4856

def prorated_refund
  @prorated_refund
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4863
4864
4865
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4863

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