amazon_spapi/models/fulfillment_outbound_2020_07_01/feature.rs
1/*
2 * Selling Partner APIs for Fulfillment Outbound
3 *
4 * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.
5 *
6 * The version of the OpenAPI document: 2020-07-01
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// Feature : A Multi-Channel Fulfillment feature.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Feature {
17 /// The feature name.
18 #[serde(rename = "featureName")]
19 pub feature_name: String,
20 /// The feature description.
21 #[serde(rename = "featureDescription")]
22 pub feature_description: String,
23 /// When true, indicates that the seller is eligible to use the feature.
24 #[serde(rename = "sellerEligible", skip_serializing_if = "Option::is_none")]
25 pub seller_eligible: Option<bool>,
26}
27
28impl Feature {
29 /// A Multi-Channel Fulfillment feature.
30 pub fn new(feature_name: String, feature_description: String) -> Feature {
31 Feature {
32 feature_name,
33 feature_description,
34 seller_eligible: None,
35 }
36 }
37}
38