public class OrderUpdateParams extends ApiRequestParams
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderUpdateParams.Builder |
static class |
OrderUpdateParams.Shipping |
static class |
OrderUpdateParams.Status
The tracking number provided by the carrier.
|
ApiRequestParams.EnumParamEXTRA_PARAMS_KEY| Modifier and Type | Method and Description |
|---|---|
static OrderUpdateParams.Builder |
builder() |
java.lang.Object |
getCoupon()
A coupon code that represents a discount to be applied to this order.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.lang.Object |
getMetadata()
Set of key-value pairs that you can attach
to an object.
|
java.lang.Object |
getSelectedShippingMethod()
The shipping method to select for fulfilling this order.
|
OrderUpdateParams.Shipping |
getShipping()
Tracking information once the order has been fulfilled.
|
OrderUpdateParams.Status |
getStatus()
Current order status.
|
toMappublic static OrderUpdateParams.Builder builder()
public java.lang.Object getCoupon()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.public java.lang.Object getMetadata()
metadata.public java.lang.Object getSelectedShippingMethod()
ids of a shipping method in the shipping_methods array. If specified, will
overwrite the existing selected shipping method, updating items as necessary.public OrderUpdateParams.Shipping getShipping()
public OrderUpdateParams.Status getStatus()
created, paid, canceled, fulfilled, or returned. More detail in the Orders Guide.