Class: Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest
- 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
-
#charge_state ⇒ String
Whether charge was successful.
-
#invoice_id ⇒ String
Deprecated.
-
#invoice_ids ⇒ Array<String>
Invoice IDs from the orderinvoices service that correspond to the charge.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderpaymentsNotifyChargeRequest
constructor
A new instance of OrderpaymentsNotifyChargeRequest.
-
#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) ⇒ OrderpaymentsNotifyChargeRequest
Returns a new instance of OrderpaymentsNotifyChargeRequest
5670 5671 5672 |
# File 'generated/google/apis/content_v2/classes.rb', line 5670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#charge_state ⇒ String
Whether charge was successful.
Corresponds to the JSON property chargeState
5658 5659 5660 |
# File 'generated/google/apis/content_v2/classes.rb', line 5658 def charge_state @charge_state end |
#invoice_id ⇒ String
Deprecated. Please use invoiceIds instead.
Corresponds to the JSON property invoiceId
5663 5664 5665 |
# File 'generated/google/apis/content_v2/classes.rb', line 5663 def invoice_id @invoice_id end |
#invoice_ids ⇒ Array<String>
Invoice IDs from the orderinvoices service that correspond to the charge.
Corresponds to the JSON property invoiceIds
5668 5669 5670 |
# File 'generated/google/apis/content_v2/classes.rb', line 5668 def invoice_ids @invoice_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5675 5676 5677 5678 5679 |
# File 'generated/google/apis/content_v2/classes.rb', line 5675 def update!(**args) @charge_state = args[:charge_state] if args.key?(:charge_state) @invoice_id = args[:invoice_id] if args.key?(:invoice_id) @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids) end |