pub struct OrdersCreateTestOrderRequest {
pub country: Option<String>,
pub template_name: Option<String>,
pub test_order: Option<TestOrder>,
}
Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- createtestorder orders (request)
Fields§
§country: Option<String>
The CLDR territory code of the country of the test order to create. Affects the currency and addresses of orders created via template_name, or the addresses of orders created via test_order.
Acceptable values are:
- “US”
- “FR” Defaults to US.
template_name: Option<String>
The test order template to use. Specify as an alternative to testOrder as a shortcut for retrieving a template and then creating an order using that template.
test_order: Option<TestOrder>
The test order to create.
Trait Implementations§
source§impl Clone for OrdersCreateTestOrderRequest
impl Clone for OrdersCreateTestOrderRequest
source§fn clone(&self) -> OrdersCreateTestOrderRequest
fn clone(&self) -> OrdersCreateTestOrderRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OrdersCreateTestOrderRequest
impl Debug for OrdersCreateTestOrderRequest
source§impl Default for OrdersCreateTestOrderRequest
impl Default for OrdersCreateTestOrderRequest
source§fn default() -> OrdersCreateTestOrderRequest
fn default() -> OrdersCreateTestOrderRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrdersCreateTestOrderRequest
impl<'de> Deserialize<'de> for OrdersCreateTestOrderRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for OrdersCreateTestOrderRequest
Auto Trait Implementations§
impl RefUnwindSafe for OrdersCreateTestOrderRequest
impl Send for OrdersCreateTestOrderRequest
impl Sync for OrdersCreateTestOrderRequest
impl Unpin for OrdersCreateTestOrderRequest
impl UnwindSafe for OrdersCreateTestOrderRequest
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
Mutably borrows from an owned value. Read more