/*
* The Selling Partner API for FBA inbound operations.
*
* The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon's fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
*
* The version of the OpenAPI document: 2024-03-20
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CarrierAppointment : Contains details for a transportation carrier appointment. This appointment is vended out by Amazon and is an indicator for when a transportation carrier is accepting shipments to be picked up.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CarrierAppointment {
/// The end timestamp of the appointment in UTC.
#[serde(rename = "endTime")]
pub end_time: String,
/// The start timestamp of the appointment in UTC.
#[serde(rename = "startTime")]
pub start_time: String,
}
impl CarrierAppointment {
/// Contains details for a transportation carrier appointment. This appointment is vended out by Amazon and is an indicator for when a transportation carrier is accepting shipments to be picked up.
pub fn new(end_time: String, start_time: String) -> CarrierAppointment {
CarrierAppointment {
end_time,
start_time,
}
}
}