class Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest
Attributes
- required
-
The ID of the invoice.
Corresponds to the JSON property `invoiceId` @return [String]
- required
-
Invoice summary.
Corresponds to the JSON property `invoiceSummary` @return [Google::Apis::ContentV2_1::InvoiceSummary]
- required
-
Invoice details per line item.
Corresponds to the JSON property `lineItemInvoices` @return [Array<Google::Apis::ContentV2_1::ShipmentInvoiceLineItemInvoice>]
- required
-
The ID of the operation, unique across all operations for a given
order. Corresponds to the JSON property `operationId` @return [String]
- required
-
ID of the shipment group. It is assigned by the merchant in the `
shipLineItems` method and is used to group multiple line items that have the same kind of shipping charges. Corresponds to the JSON property `shipmentGroupId` @return [String]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 7063 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 7068 def update!(**args) @invoice_id = args[:invoice_id] if args.key?(:invoice_id) @invoice_summary = args[:invoice_summary] if args.key?(:invoice_summary) @line_item_invoices = args[:line_item_invoices] if args.key?(:line_item_invoices) @operation_id = args[:operation_id] if args.key?(:operation_id) @shipment_group_id = args[:shipment_group_id] if args.key?(:shipment_group_id) end