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.



6420
6421
6422
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6420

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)


6403
6404
6405
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6403

def create_time
  @create_time
end

#process_timeString

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

Returns:

  • (String)


6408
6409
6410
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6408

def process_time
  @process_time
end

#refund_detailsGoogle::Apis::AndroidpublisherV3::RefundDetails

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



6413
6414
6415
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6413

def refund_details
  @refund_details
end

#stateString

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

Returns:

  • (String)


6418
6419
6420
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6418

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6425
6426
6427
6428
6429
6430
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6425

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