Class: Google::Apis::AndroidpublisherV3::PartialRefundEvent

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 the partial refund events for this order.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PartialRefundEvent

Returns a new instance of PartialRefundEvent.



6478
6479
6480
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6478

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

Instance Attribute Details

#create_timeString

The time when the partial refund was created. Corresponds to the JSON property createTime

Returns:

  • (String)


6461
6462
6463
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6461

def create_time
  @create_time
end

#process_timeString

The time when the partial refund was processed. Corresponds to the JSON property processTime

Returns:

  • (String)


6466
6467
6468
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6466

def process_time
  @process_time
end

#refund_detailsGoogle::Apis::AndroidpublisherV3::RefundDetails

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



6471
6472
6473
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6471

def refund_details
  @refund_details
end

#stateString

The state of the partial refund. Corresponds to the JSON property state

Returns:

  • (String)


6476
6477
6478
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6476

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6483
6484
6485
6486
6487
6488
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6483

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @process_time = args[:process_time] if args.key?(:process_time)
  @refund_details = args[:refund_details] if args.key?(:refund_details)
  @state = args[:state] if args.key?(:state)
end