Class: Google::Apis::ContentV2_1::OrderpaymentsNotifyRefundRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderpaymentsNotifyRefundRequest
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#invoice_ids ⇒ Array<String>
Invoice IDs from the orderinvoices service that correspond to the refund.
-
#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
4882 4883 4884 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 4882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#invoice_ids ⇒ Array<String>
Invoice IDs from the orderinvoices service that correspond to the refund.
Corresponds to the JSON property invoiceIds
4875 4876 4877 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 4875 def invoice_ids @invoice_ids end |
#refund_state ⇒ String
Whether refund was successful.
Corresponds to the JSON property refundState
4880 4881 4882 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 4880 def refund_state @refund_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4887 4888 4889 4890 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 4887 def update!(**args) @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids) @refund_state = args[:refund_state] if args.key?(:refund_state) end |