Struct walmart_partner_api::Client
[−]
[src]
pub struct Client { /* fields omitted */ }
Methods
impl Client
[src]
pub fn new(consumer_id: &str, private_key: &str) -> Result<Client, Error>
[src]
pub fn with_http_client(
consumer_id: &str,
private_key: &str,
http: Client
) -> Result<Client, Error>
[src]
consumer_id: &str,
private_key: &str,
http: Client
) -> Result<Client, Error>
pub fn request_json<P>(
&self,
method: Method,
path: &str,
params: P
) -> Result<RequestBuilder, Error> where
P: ExtendUrlParams,
[src]
&self,
method: Method,
path: &str,
params: P
) -> Result<RequestBuilder, Error> where
P: ExtendUrlParams,
pub fn request_xml<P>(
&self,
method: Method,
path: &str,
params: P
) -> Result<RequestBuilder, Error> where
P: ExtendUrlParams,
[src]
&self,
method: Method,
path: &str,
params: P
) -> Result<RequestBuilder, Error> where
P: ExtendUrlParams,
impl Client
[src]
pub fn get_all_feed_statuses(
&self,
query: &GetAllFeedStatusesQuery
) -> Result<FeedStatuses, Error>
[src]
&self,
query: &GetAllFeedStatusesQuery
) -> Result<FeedStatuses, Error>
pub fn get_feed_and_item_status(
&self,
feed_id: &str,
query: &GetFeedAndItemStatusQuery
) -> Result<PartnerFeedResponse, Error>
[src]
&self,
feed_id: &str,
query: &GetFeedAndItemStatusQuery
) -> Result<PartnerFeedResponse, Error>
pub fn bulk_upload<R: Read + Send + 'static>(
&self,
feed_type: &str,
feed: R
) -> Result<FeedAck, Error>
[src]
&self,
feed_type: &str,
feed: R
) -> Result<FeedAck, Error>
impl Client
[src]
pub fn get_all_released_orders(
&self,
params: &ReleasedQueryParams
) -> Result<OrderList, Error>
[src]
&self,
params: &ReleasedQueryParams
) -> Result<OrderList, Error>
pub fn get_all_orders(&self, params: &QueryParams) -> Result<OrderList, Error>
[src]
pub fn get_all_orders_by_next_cursor(
&self,
next_cursor: &str
) -> Result<OrderList, Error>
[src]
&self,
next_cursor: &str
) -> Result<OrderList, Error>
pub fn get_order(&self, purchase_order_id: &str) -> Result<Order, Error>
[src]
pub fn ack_order(&self, purchase_order_id: &str) -> Result<Order, Error>
[src]
pub fn ship_order_line(
&self,
purchase_order_id: &str,
params: &ShipParams
) -> Result<Order, Error>
[src]
&self,
purchase_order_id: &str,
params: &ShipParams
) -> Result<Order, Error>
impl Client
[src]
pub fn get_item_inventory(&self, sku: &str) -> Result<Inventory, Error>
[src]
pub fn update_item_inventory(
&self,
inventory: &Inventory
) -> Result<Inventory, Error>
[src]
&self,
inventory: &Inventory
) -> Result<Inventory, Error>