google_api_content v0.11.0 GoogleApi.Content.V2.Model.OrderinvoicesCreateRefundInvoiceRequest 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
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Content.V2.Model.OrderinvoicesCreateRefundInvoiceRequest{
invoiceId: String.t(),
operationId: String.t(),
refundOnlyOption:
GoogleApi.Content.V2.Model.OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption.t(),
returnOption:
GoogleApi.Content.V2.Model.OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption.t(),
shipmentInvoices: [GoogleApi.Content.V2.Model.ShipmentInvoice.t()]
}
t() :: %GoogleApi.Content.V2.Model.OrderinvoicesCreateRefundInvoiceRequest{ invoiceId: String.t(), operationId: String.t(), refundOnlyOption: GoogleApi.Content.V2.Model.OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption.t(), returnOption: GoogleApi.Content.V2.Model.OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption.t(), shipmentInvoices: [GoogleApi.Content.V2.Model.ShipmentInvoice.t()] }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.