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
Deprecated.
-
#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
5727 5728 5729 |
# File 'generated/google/apis/content_v2/classes.rb', line 5727 def initialize(**args) update!(**args) end |
Instance Attribute Details
#invoice_id ⇒ String
Deprecated. Please use invoiceIds instead.
Corresponds to the JSON property invoiceId
5715 5716 5717 |
# File 'generated/google/apis/content_v2/classes.rb', line 5715 def invoice_id @invoice_id end |
#invoice_ids ⇒ Array<String>
Invoice IDs from the orderinvoices service that correspond to the refund.
Corresponds to the JSON property invoiceIds
5720 5721 5722 |
# File 'generated/google/apis/content_v2/classes.rb', line 5720 def invoice_ids @invoice_ids end |
#refund_state ⇒ String
Whether refund was successful.
Corresponds to the JSON property refundState
5725 5726 5727 |
# File 'generated/google/apis/content_v2/classes.rb', line 5725 def refund_state @refund_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5732 5733 5734 5735 5736 |
# File 'generated/google/apis/content_v2/classes.rb', line 5732 def update!(**args) @invoice_id = args[:invoice_id] if args.key?(:invoice_id) @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids) @refund_state = args[:refund_state] if args.key?(:refund_state) end |