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.



7551
7552
7553
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7551

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)


7534
7535
7536
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7534

def create_time
  @create_time
end

#process_timeString

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

Returns:

  • (String)


7539
7540
7541
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7539

def process_time
  @process_time
end

#refund_detailsGoogle::Apis::AndroidpublisherV3::RefundDetails

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



7544
7545
7546
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7544

def refund_details
  @refund_details
end

#stateString

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

Returns:

  • (String)


7549
7550
7551
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7549

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7556
7557
7558
7559
7560
7561
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7556

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