amazon_spapi/models/shipping/account.rs
1/*
2 * Selling Partner API for Shipping
3 *
4 * Provides programmatic access to Amazon Shipping APIs. **Note:** If you are new to the Amazon Shipping API, refer to the latest version of <a href=\"https://developer-docs.amazon.com/amazon-shipping/docs/shipping-api-v2-reference\">Amazon Shipping API (v2)</a> on the <a href=\"https://developer-docs.amazon.com/amazon-shipping/\">Amazon Shipping Developer Documentation</a> site.
5 *
6 * The version of the OpenAPI document: v1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// Account : The account related data.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Account {
17 /// This is the Amazon Shipping account id generated during the Amazon Shipping onboarding process.
18 #[serde(rename = "accountId")]
19 pub account_id: String,
20}
21
22impl Account {
23 /// The account related data.
24 pub fn new(account_id: String) -> Account {
25 Account {
26 account_id,
27 }
28 }
29}
30