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§
Source§impl Clone for OrderinvoicesCreateRefundInvoiceRequest
impl Clone for OrderinvoicesCreateRefundInvoiceRequest
Source§fn clone(&self) -> OrderinvoicesCreateRefundInvoiceRequest
fn clone(&self) -> OrderinvoicesCreateRefundInvoiceRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for OrderinvoicesCreateRefundInvoiceRequest
impl Default for OrderinvoicesCreateRefundInvoiceRequest
Source§fn default() -> OrderinvoicesCreateRefundInvoiceRequest
fn default() -> OrderinvoicesCreateRefundInvoiceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrderinvoicesCreateRefundInvoiceRequest
impl<'de> Deserialize<'de> for OrderinvoicesCreateRefundInvoiceRequest
Source§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
impl RequestValue for OrderinvoicesCreateRefundInvoiceRequest
Auto Trait Implementations§
impl Freeze for OrderinvoicesCreateRefundInvoiceRequest
impl RefUnwindSafe for OrderinvoicesCreateRefundInvoiceRequest
impl Send for OrderinvoicesCreateRefundInvoiceRequest
impl Sync for OrderinvoicesCreateRefundInvoiceRequest
impl Unpin for OrderinvoicesCreateRefundInvoiceRequest
impl UnwindSafe for OrderinvoicesCreateRefundInvoiceRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more