Struct google_content2::api::OrderinvoicesCreateRefundInvoiceRequest [−][src]
pub struct OrderinvoicesCreateRefundInvoiceRequest {
pub invoice_id: Option<String>,
pub operation_id: Option<String>,
pub refund_only_option: Option<OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption>,
pub return_option: Option<OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption>,
pub shipment_invoices: Option<Vec<ShipmentInvoice>>,
}Expand description
There is no detailed description.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- createrefundinvoice orderinvoices (request)
Fields
invoice_id: Option<String>[required] The ID of the invoice.
operation_id: Option<String>[required] The ID of the operation, unique across all operations for a given order.
refund_only_option: Option<OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption>Option to create a refund-only invoice. Exactly one of refundOnlyOption or returnOption must be provided.
return_option: Option<OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption>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.
shipment_invoices: Option<Vec<ShipmentInvoice>>Invoice details for different shipment groups.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more