/*
* 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};
/// Carrier : The carrier for the inbound shipment.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Carrier {
/// The carrier code. For example, USPS or DHLEX.
#[serde(rename = "alphaCode", skip_serializing_if = "Option::is_none")]
pub alpha_code: Option<String>,
/// The name of the carrier.
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
}
impl Carrier {
/// The carrier for the inbound shipment.
pub fn new() -> Carrier {
Carrier {
alpha_code: None,
name: None,
}
}
}