pub struct BatchRetrieveInventoryChangesRequest {
pub catalog_object_ids: Option<Vec<String>>,
pub location_ids: Option<Vec<String>>,
pub types: Option<Vec<InventoryChangeType>>,
pub states: Option<Vec<InventoryState>>,
pub updated_after: Option<DateTime>,
pub updated_before: Option<DateTime>,
pub cursor: Option<String>,
pub limit: Option<i32>,
}Expand description
This is a model struct for BatchRetrieveInventoryChangesRequest type.
Fields§
§catalog_object_ids: Option<Vec<String>>The filter to return results by CatalogObject ID. The filter is applicable only when set
location_ids: Option<Vec<String>>The filter to return results by Location ID. This filter is applicable only when set.
types: Option<Vec<InventoryChangeType>>The filter to return results by InventoryChangeType values other than TRANSFER. The default value is [PHYSICAL_COUNT, ADJUSTMENT].
states: Option<Vec<InventoryState>>The filter to return results by InventoryState. The filter is only applicable when set. Ignored are untracked states of NONE, SOLD, and UNLINKED_RETURN. The default is null.
updated_after: Option<DateTime>The filter to return results with their calculated_at value after the given time.
updated_before: Option<DateTime>The filter to return results with their created_at or calculated_at value strictly before the given time
cursor: Option<String>A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query.
limit: Option<i32>The number of records to return. Min 1, Max 1000
Trait Implementations§
Source§impl Clone for BatchRetrieveInventoryChangesRequest
impl Clone for BatchRetrieveInventoryChangesRequest
Source§fn clone(&self) -> BatchRetrieveInventoryChangesRequest
fn clone(&self) -> BatchRetrieveInventoryChangesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for BatchRetrieveInventoryChangesRequest
impl Default for BatchRetrieveInventoryChangesRequest
Source§fn default() -> BatchRetrieveInventoryChangesRequest
fn default() -> BatchRetrieveInventoryChangesRequest
Source§impl<'de> Deserialize<'de> for BatchRetrieveInventoryChangesRequest
impl<'de> Deserialize<'de> for BatchRetrieveInventoryChangesRequest
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>,
Source§impl PartialEq for BatchRetrieveInventoryChangesRequest
impl PartialEq for BatchRetrieveInventoryChangesRequest
Source§fn eq(&self, other: &BatchRetrieveInventoryChangesRequest) -> bool
fn eq(&self, other: &BatchRetrieveInventoryChangesRequest) -> bool
self and other values to be equal, and is used by ==.