class Google::Apis::ContentV2::ShipmentInvoice

Attributes

invoice_summary[RW]
required

Invoice summary.

Corresponds to the JSON property `invoiceSummary` @return [Google::Apis::ContentV2::InvoiceSummary]

line_item_invoices[RW]
required

Invoice details per line item.

Corresponds to the JSON property `lineItemInvoices` @return [Array<Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice>]

shipment_group_id[RW]
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

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 10544
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 10549
def update!(**args)
  @invoice_summary = args[:invoice_summary] if args.key?(:invoice_summary)
  @line_item_invoices = args[:line_item_invoices] if args.key?(:line_item_invoices)
  @shipment_group_id = args[:shipment_group_id] if args.key?(:shipment_group_id)
end