/*
* The Selling Partner API for Amazon Warehousing and Distribution
*
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
*
* The version of the OpenAPI document: 2024-05-09
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// OrderIneligibilityReason : Represents one ineligibility reason for the order (there can be multiple reasons).
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OrderIneligibilityReason {
/// Code for the order ineligibility.
#[serde(rename = "code")]
pub code: String,
/// Description detailing the ineligibility reason of the order.
#[serde(rename = "description")]
pub description: String,
}
impl OrderIneligibilityReason {
/// Represents one ineligibility reason for the order (there can be multiple reasons).
pub fn new(code: String, description: String) -> OrderIneligibilityReason {
OrderIneligibilityReason {
code,
description,
}
}
}