View Source GoogleApi.Content.V21.Model.OrderinvoicesCreateRefundInvoiceRequest (google_api_content v0.67.1)

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.V21.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.V21.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.V21.Model.ShipmentInvoice.t), default: nil) - Invoice details for different shipment groups.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.