pub struct OrdersCustomBatchRequestEntry {Show 14 fields
pub order_id: Option<String>,
pub update_line_item_shipping_details: Option<OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails>,
pub ship_line_items: Option<OrdersCustomBatchRequestEntryShipLineItems>,
pub update_shipment: Option<OrdersCustomBatchRequestEntryUpdateShipment>,
pub merchant_id: Option<String>,
pub set_line_item_metadata: Option<OrdersCustomBatchRequestEntrySetLineItemMetadata>,
pub merchant_order_id: Option<String>,
pub cancel_line_item: Option<OrdersCustomBatchRequestEntryCancelLineItem>,
pub batch_id: Option<u32>,
pub refund: Option<OrdersCustomBatchRequestEntryRefund>,
pub cancel: Option<OrdersCustomBatchRequestEntryCancel>,
pub operation_id: Option<String>,
pub method: Option<String>,
pub return_line_item: Option<OrdersCustomBatchRequestEntryReturnLineItem>,
}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.
update_line_item_shipping_details: Option<OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails>Required for updateLineItemShippingDate method.
ship_line_items: Option<OrdersCustomBatchRequestEntryShipLineItems>Required for shipLineItems method.
update_shipment: Option<OrdersCustomBatchRequestEntryUpdateShipment>Required for updateShipment method.
merchant_id: Option<String>The ID of the managing account.
set_line_item_metadata: Option<OrdersCustomBatchRequestEntrySetLineItemMetadata>Required for setLineItemMetadata method.
merchant_order_id: Option<String>The merchant order id. Required for updateMerchantOrderId and getByMerchantOrderId methods.
cancel_line_item: Option<OrdersCustomBatchRequestEntryCancelLineItem>Required for cancelLineItem method.
batch_id: Option<u32>An entry ID, unique within the batch request.
refund: Option<OrdersCustomBatchRequestEntryRefund>Required for refund method.
cancel: Option<OrdersCustomBatchRequestEntryCancel>Required for cancel method.
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.
method: Option<String>The method to apply.
return_line_item: Option<OrdersCustomBatchRequestEntryReturnLineItem>Required for returnLineItem method.
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