stripe/resources/generated/address.rs
1// ======================================
2// This file was automatically generated.
3// ======================================
4
5use serde::{Deserialize, Serialize};
6
7/// The resource representing a Stripe "Address".
8#[derive(Clone, Debug, Default, Deserialize, Serialize)]
9pub struct Address {
10 /// City, district, suburb, town, or village.
11 pub city: Option<String>,
12
13 /// Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
14 pub country: Option<String>,
15
16 /// Address line 1 (e.g., street, PO Box, or company name).
17 pub line1: Option<String>,
18
19 /// Address line 2 (e.g., apartment, suite, unit, or building).
20 pub line2: Option<String>,
21
22 /// ZIP or postal code.
23 pub postal_code: Option<String>,
24
25 /// State, county, province, or region.
26 pub state: Option<String>,
27}