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.



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

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)


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

def create_time
  @create_time
end

#process_timeString

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

Returns:

  • (String)


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

def process_time
  @process_time
end

#refund_detailsGoogle::Apis::AndroidpublisherV3::RefundDetails

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



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

def refund_details
  @refund_details
end

#stateString

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

Returns:

  • (String)


6482
6483
6484
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6482

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6489
6490
6491
6492
6493
6494
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6489

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