amazon_spapi/models/shipping_v2/get_additional_inputs_response.rs
1/*
2 * Amazon Shipping API
3 *
4 * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
5 *
6 * The version of the OpenAPI document: v2
7 * Contact: swa-api-core@amazon.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// GetAdditionalInputsResponse : The response schema for the getAdditionalInputs operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GetAdditionalInputsResponse {
17 /// The JSON schema to use to provide additional inputs when required to purchase a shipping offering.
18 #[serde(rename = "payload", skip_serializing_if = "Option::is_none")]
19 pub payload: Option<std::collections::HashMap<String, serde_json::Value>>,
20}
21
22impl GetAdditionalInputsResponse {
23 /// The response schema for the getAdditionalInputs operation.
24 pub fn new() -> GetAdditionalInputsResponse {
25 GetAdditionalInputsResponse {
26 payload: None,
27 }
28 }
29}
30