GoogleApi.Content.V2.Model.OrderinvoicesCreateRefundInvoiceRequest (google_api_content v0.58.0) View Source

Attributes

  • invoiceId (type: String.t, default: nil) - [required] The ID of the invoice.
  • operationId (type: String.t, default: nil) - [required] The ID of the operation, unique across all operations for a given order.
  • refundOnlyOption (type: GoogleApi.Content.V2.Model.OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption.t, default: nil) - Option to create a refund-only invoice. Exactly one of refundOnlyOption or returnOption must be provided.
  • returnOption (type: GoogleApi.Content.V2.Model.OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption.t, default: nil) - Option to create an invoice for a refund and mark all items within the invoice as returned. Exactly one of refundOnlyOption or returnOption must be provided.
  • shipmentInvoices (type: list(GoogleApi.Content.V2.Model.ShipmentInvoice.t), default: nil) - Invoice details for different shipment groups.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V2.Model.OrderinvoicesCreateRefundInvoiceRequest{
  invoiceId: String.t() | nil,
  operationId: String.t() | nil,
  refundOnlyOption:
    GoogleApi.Content.V2.Model.OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption.t()
    | nil,
  returnOption:
    GoogleApi.Content.V2.Model.OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption.t()
    | nil,
  shipmentInvoices: [GoogleApi.Content.V2.Model.ShipmentInvoice.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.