amazon_spapi/models/merchant_fulfillment_v0/
additional_inputs.rs

1/*
2 * Selling Partner API for Merchant Fulfillment
3 *
4 * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon's Buy Shipping Services.
5 *
6 * The version of the OpenAPI document: v0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// AdditionalInputs : Maps the additional seller input to the definition. The key to the map is the field name.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AdditionalInputs {
17    /// The field name.
18    #[serde(rename = "AdditionalInputFieldName", skip_serializing_if = "Option::is_none")]
19    pub additional_input_field_name: Option<String>,
20    #[serde(rename = "SellerInputDefinition", skip_serializing_if = "Option::is_none")]
21    pub seller_input_definition: Option<Box<models::merchant_fulfillment_v0::SellerInputDefinition>>,
22}
23
24impl AdditionalInputs {
25    /// Maps the additional seller input to the definition. The key to the map is the field name.
26    pub fn new() -> AdditionalInputs {
27        AdditionalInputs {
28            additional_input_field_name: None,
29            seller_input_definition: None,
30        }
31    }
32}
33