Class: Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#invoice_id ⇒ String
Invoice ID from orderInvoice service that corresponds to the charge.
-
#refund_state ⇒ String
Whether refund was successful.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderpaymentsNotifyRefundRequest
constructor
A new instance of OrderpaymentsNotifyRefundRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ OrderpaymentsNotifyRefundRequest
Returns a new instance of OrderpaymentsNotifyRefundRequest
4629 4630 4631 |
# File 'generated/google/apis/content_v2/classes.rb', line 4629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#invoice_id ⇒ String
Invoice ID from orderInvoice service that corresponds to the charge.
Corresponds to the JSON property invoiceId
4622 4623 4624 |
# File 'generated/google/apis/content_v2/classes.rb', line 4622 def invoice_id @invoice_id end |
#refund_state ⇒ String
Whether refund was successful.
Corresponds to the JSON property refundState
4627 4628 4629 |
# File 'generated/google/apis/content_v2/classes.rb', line 4627 def refund_state @refund_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4634 4635 4636 4637 |
# File 'generated/google/apis/content_v2/classes.rb', line 4634 def update!(**args) @invoice_id = args[:invoice_id] if args.key?(:invoice_id) @refund_state = args[:refund_state] if args.key?(:refund_state) end |