Class: Google::Apis::AndroidpublisherV3::RefundEvent

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

Details of when the order was fully refunded.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RefundEvent

Returns a new instance of RefundEvent.



7179
7180
7181
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7179

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

Instance Attribute Details

#event_timeString

The time when the order was fully refunded. Corresponds to the JSON property eventTime

Returns:

  • (String)


7167
7168
7169
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7167

def event_time
  @event_time
end

#refund_detailsGoogle::Apis::AndroidpublisherV3::RefundDetails

Details for a partial or full refund. Corresponds to the JSON property refundDetails



7172
7173
7174
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7172

def refund_details
  @refund_details
end

#refund_reasonString

The reason the order was refunded. Corresponds to the JSON property refundReason

Returns:

  • (String)


7177
7178
7179
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7177

def refund_reason
  @refund_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7184
7185
7186
7187
7188
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7184

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