amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for Services
 *
 * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// ItemDelivery : Delivery information for the item.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ItemDelivery {
    /// The date and time of the latest Estimated Delivery Date (EDD) of all the items with an EDD. In ISO 8601 format.
    #[serde(rename = "estimatedDeliveryDate", skip_serializing_if = "Option::is_none")]
    pub estimated_delivery_date: Option<String>,
    #[serde(rename = "itemDeliveryPromise", skip_serializing_if = "Option::is_none")]
    pub item_delivery_promise: Option<Box<models::services::ItemDeliveryPromise>>,
}

impl ItemDelivery {
    /// Delivery information for the item.
    pub fn new() -> ItemDelivery {
        ItemDelivery {
            estimated_delivery_date: None,
            item_delivery_promise: None,
        }
    }
}