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.



6381
6382
6383
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6381

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)


6364
6365
6366
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6364

def create_time
  @create_time
end

#process_timeString

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

Returns:

  • (String)


6369
6370
6371
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6369

def process_time
  @process_time
end

#refund_detailsGoogle::Apis::AndroidpublisherV3::RefundDetails

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



6374
6375
6376
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6374

def refund_details
  @refund_details
end

#stateString

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

Returns:

  • (String)


6379
6380
6381
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6379

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6386
6387
6388
6389
6390
6391
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6386

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