Class: Google::Apis::AndroidpublisherV3::RevocationContext
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::RevocationContext
- 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
-
#prorated_refund ⇒ Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund
Used to determine if the refund type in the RevocationContext is a prorated refund.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RevocationContext
constructor
A new instance of RevocationContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RevocationContext
Returns a new instance of RevocationContext.
5024 5025 5026 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5024 def initialize(**args) update!(**args) end |
Instance Attribute Details
#prorated_refund ⇒ Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund
Used to determine if the refund type in the RevocationContext is a prorated
refund.
Corresponds to the JSON property proratedRefund
5022 5023 5024 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5022 def prorated_refund @prorated_refund end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5029 5030 5031 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5029 def update!(**args) @prorated_refund = args[:prorated_refund] if args.key?(:prorated_refund) end |