Struct bestbuy::client::BestbuyClient
[−]
[src]
pub struct BestbuyClient { /* fields omitted */ }
Methods
impl BestbuyClient
[src]
pub fn new(token: &str) -> Self
[src]
pub fn with_http_client(token: &str, http: Client) -> Self
[src]
pub fn request(&self, method: Method, path: &str) -> RequestBuilder
[src]
Trait Implementations
impl OrderApi for BestbuyClient
[src]
fn list_orders(
&self,
params: &ListOrdersParams,
sort: Option<ListOrdersSort>,
page: Option<Pagination>
) -> BestbuyResult<ListOrdersResponse>
[src]
&self,
params: &ListOrdersParams,
sort: Option<ListOrdersSort>,
page: Option<Pagination>
) -> BestbuyResult<ListOrdersResponse>
fn accept(&self, order_id: &str, accept: &OrderAccept) -> BestbuyResult<()>
[src]
fn update_tracking(
&self,
order_id: &str,
tracking: &OrderTracking
) -> BestbuyResult<()>
[src]
&self,
order_id: &str,
tracking: &OrderTracking
) -> BestbuyResult<()>
fn ship(&self, order_id: &str) -> BestbuyResult<()>
[src]
Update the shipment of the order which is in "SHIPPING" state to "SHIPPED" state Read more