pub struct OrdersCustomBatchRequestEntry {Show 17 fields
pub order_id: Option<String>,
pub reject_return_line_item: Option<OrdersCustomBatchRequestEntryRejectReturnLineItem>,
pub update_line_item_shipping_details: Option<OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails>,
pub in_store_refund_line_item: Option<OrdersCustomBatchRequestEntryInStoreRefundLineItem>,
pub update_shipment: Option<OrdersCustomBatchRequestEntryUpdateShipment>,
pub cancel_line_item: Option<OrdersCustomBatchRequestEntryCancelLineItem>,
pub refund: Option<OrdersCustomBatchRequestEntryRefund>,
pub cancel: Option<OrdersCustomBatchRequestEntryCancel>,
pub merchant_id: Option<String>,
pub return_line_item: Option<OrdersCustomBatchRequestEntryReturnLineItem>,
pub merchant_order_id: Option<String>,
pub return_refund_line_item: Option<OrdersCustomBatchRequestEntryReturnRefundLineItem>,
pub ship_line_items: Option<OrdersCustomBatchRequestEntryShipLineItems>,
pub set_line_item_metadata: Option<OrdersCustomBatchRequestEntrySetLineItemMetadata>,
pub batch_id: Option<u32>,
pub method: Option<String>,
pub operation_id: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§order_id: Option<String>The ID of the order. Required for all methods beside getByMerchantOrderId.
reject_return_line_item: Option<OrdersCustomBatchRequestEntryRejectReturnLineItem>Required for rejectReturnLineItem method.
update_line_item_shipping_details: Option<OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails>Required for updateLineItemShippingDate method.
in_store_refund_line_item: Option<OrdersCustomBatchRequestEntryInStoreRefundLineItem>Required for inStoreReturnLineItem method.
update_shipment: Option<OrdersCustomBatchRequestEntryUpdateShipment>Required for updateShipment method.
cancel_line_item: Option<OrdersCustomBatchRequestEntryCancelLineItem>Required for cancelLineItem method.
refund: Option<OrdersCustomBatchRequestEntryRefund>Required for refund method.
cancel: Option<OrdersCustomBatchRequestEntryCancel>Required for cancel method.
merchant_id: Option<String>The ID of the managing account.
return_line_item: Option<OrdersCustomBatchRequestEntryReturnLineItem>Required for returnLineItem method.
merchant_order_id: Option<String>The merchant order id. Required for updateMerchantOrderId and getByMerchantOrderId methods.
return_refund_line_item: Option<OrdersCustomBatchRequestEntryReturnRefundLineItem>Required for returnRefundLineItem method.
ship_line_items: Option<OrdersCustomBatchRequestEntryShipLineItems>Required for shipLineItems method.
set_line_item_metadata: Option<OrdersCustomBatchRequestEntrySetLineItemMetadata>Required for setLineItemMetadata method.
batch_id: Option<u32>An entry ID, unique within the batch request.
method: Option<String>The method to apply.
operation_id: Option<String>The ID of the operation. Unique across all operations for a given order. Required for all methods beside get and getByMerchantOrderId.
Trait Implementations§
source§impl Clone for OrdersCustomBatchRequestEntry
impl Clone for OrdersCustomBatchRequestEntry
source§fn clone(&self) -> OrdersCustomBatchRequestEntry
fn clone(&self) -> OrdersCustomBatchRequestEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OrdersCustomBatchRequestEntry
impl Default for OrdersCustomBatchRequestEntry
source§fn default() -> OrdersCustomBatchRequestEntry
fn default() -> OrdersCustomBatchRequestEntry
source§impl<'de> Deserialize<'de> for OrdersCustomBatchRequestEntry
impl<'de> Deserialize<'de> for OrdersCustomBatchRequestEntry
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>,
impl Part for OrdersCustomBatchRequestEntry
Auto Trait Implementations§
impl Freeze for OrdersCustomBatchRequestEntry
impl RefUnwindSafe for OrdersCustomBatchRequestEntry
impl Send for OrdersCustomBatchRequestEntry
impl Sync for OrdersCustomBatchRequestEntry
impl Unpin for OrdersCustomBatchRequestEntry
impl UnwindSafe for OrdersCustomBatchRequestEntry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more