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. Acceptable values are: - “template1
” - “template1a
” - “template1b
” - “template2
” - “template3
”
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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>,
impl RequestValue for OrdersCreateTestOrderRequest
Auto Trait Implementations§
impl Freeze for OrdersCreateTestOrderRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more