Class: Google::Apis::AndroidpublisherV3::RefundEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::RefundEvent
- 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
Details of when the order was fully refunded.
Instance Attribute Summary collapse
-
#event_time ⇒ String
The time when the order was fully refunded.
-
#refund_details ⇒ Google::Apis::AndroidpublisherV3::RefundDetails
Details for a partial or full refund.
-
#refund_reason ⇒ String
The reason the order was refunded.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RefundEvent
constructor
A new instance of RefundEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RefundEvent
Returns a new instance of RefundEvent.
7140 7141 7142 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_time ⇒ String
The time when the order was fully refunded.
Corresponds to the JSON property eventTime
7128 7129 7130 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7128 def event_time @event_time end |
#refund_details ⇒ Google::Apis::AndroidpublisherV3::RefundDetails
Details for a partial or full refund.
Corresponds to the JSON property refundDetails
7133 7134 7135 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7133 def refund_details @refund_details end |
#refund_reason ⇒ String
The reason the order was refunded.
Corresponds to the JSON property refundReason
7138 7139 7140 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7138 def refund_reason @refund_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7145 7146 7147 7148 7149 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7145 def update!(**args) @event_time = args[:event_time] if args.key?(:event_time) @refund_details = args[:refund_details] if args.key?(:refund_details) @refund_reason = args[:refund_reason] if args.key?(:refund_reason) end |