Struct amazon_sp_fulfillment_inbound::models::create_inbound_shipment_plan_request::CreateInboundShipmentPlanRequest
source · [−]pub struct CreateInboundShipmentPlanRequest {
pub ship_from_address: Box<Address>,
pub label_prep_preference: LabelPrepPreference,
pub ship_to_country_code: Option<String>,
pub ship_to_country_subdivision_code: Option<String>,
pub inbound_shipment_plan_request_items: Vec<InboundShipmentPlanRequestItem>,
}Expand description
CreateInboundShipmentPlanRequest : The request schema for the createInboundShipmentPlan operation.
Fields
ship_from_address: Box<Address>label_prep_preference: LabelPrepPreferenceship_to_country_code: Option<String>The two-character country code for the country where the inbound shipment is to be sent. Note: Not required. Specifying both ShipToCountryCode and ShipToCountrySubdivisionCode returns an error. Values: ShipToCountryCode values for North America: * CA – Canada * MX - Mexico * US - United States ShipToCountryCode values for MCI sellers in Europe: * DE – Germany * ES – Spain * FR – France * GB – United Kingdom * IT – Italy Default: The country code for the seller’s home marketplace.
ship_to_country_subdivision_code: Option<String>The two-character country code, followed by a dash and then up to three characters that represent the subdivision of the country where the inbound shipment is to be sent. For example, "IN-MH". In full ISO 3166-2 format. Note: Not required. Specifying both ShipToCountryCode and ShipToCountrySubdivisionCode returns an error.
inbound_shipment_plan_request_items: Vec<InboundShipmentPlanRequestItem>Implementations
sourceimpl CreateInboundShipmentPlanRequest
impl CreateInboundShipmentPlanRequest
sourcepub fn new(
ship_from_address: Address,
label_prep_preference: LabelPrepPreference,
inbound_shipment_plan_request_items: Vec<InboundShipmentPlanRequestItem>
) -> CreateInboundShipmentPlanRequest
pub fn new(
ship_from_address: Address,
label_prep_preference: LabelPrepPreference,
inbound_shipment_plan_request_items: Vec<InboundShipmentPlanRequestItem>
) -> CreateInboundShipmentPlanRequest
The request schema for the createInboundShipmentPlan operation.
Trait Implementations
sourceimpl Clone for CreateInboundShipmentPlanRequest
impl Clone for CreateInboundShipmentPlanRequest
sourcefn clone(&self) -> CreateInboundShipmentPlanRequest
fn clone(&self) -> CreateInboundShipmentPlanRequest
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more