Class: Google::Apis::AndroidpublisherV3::RefundExternalTransactionRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::RefundExternalTransactionRequest
- 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
-
#full_refund ⇒ Google::Apis::AndroidpublisherV3::FullRefund
A full refund of the remaining amount of a transaction.
-
#partial_refund ⇒ Google::Apis::AndroidpublisherV3::PartialRefund
A partial refund of a transaction.
-
#refund_time ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RefundExternalTransactionRequest
constructor
A new instance of RefundExternalTransactionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RefundExternalTransactionRequest
Returns a new instance of RefundExternalTransactionRequest.
3346 3347 3348 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3346 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_refund ⇒ Google::Apis::AndroidpublisherV3::FullRefund
A full refund of the remaining amount of a transaction.
Corresponds to the JSON property fullRefund
3334 3335 3336 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3334 def full_refund @full_refund end |
#partial_refund ⇒ Google::Apis::AndroidpublisherV3::PartialRefund
A partial refund of a transaction.
Corresponds to the JSON property partialRefund
3339 3340 3341 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3339 def partial_refund @partial_refund end |
#refund_time ⇒ String
Required. The time that the transaction was refunded.
Corresponds to the JSON property refundTime
3344 3345 3346 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3344 def refund_time @refund_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3351 3352 3353 3354 3355 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3351 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 |