Class: Google::Apis::AndroidpublisherV3::RefundExternalTransactionRequest

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

A request to refund an existing external transaction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RefundExternalTransactionRequest

Returns a new instance of RefundExternalTransactionRequest.



4538
4539
4540
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4538

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

Instance Attribute Details

#full_refundGoogle::Apis::AndroidpublisherV3::FullRefund

A full refund of the remaining amount of a transaction. Corresponds to the JSON property fullRefund



4526
4527
4528
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4526

def full_refund
  @full_refund
end

#partial_refundGoogle::Apis::AndroidpublisherV3::PartialRefund

A partial refund of a transaction. Corresponds to the JSON property partialRefund



4531
4532
4533
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4531

def partial_refund
  @partial_refund
end

#refund_timeString

Required. The time that the transaction was refunded. Corresponds to the JSON property refundTime

Returns:

  • (String)


4536
4537
4538
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4536

def refund_time
  @refund_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4543
4544
4545
4546
4547
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4543

def update!(**args)
  @full_refund = args[:full_refund] if args.key?(:full_refund)
  @partial_refund = args[:partial_refund] if args.key?(:partial_refund)
  @refund_time = args[:refund_time] if args.key?(:refund_time)
end