/*
* Zernio API
*
* API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
*
* The version of the OpenAPI document: 1.0.4
* Contact: support@zernio.com
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SubmitPhoneNumberKycRequestAddress {
#[serde(rename = "requirementId", skip_serializing_if = "Option::is_none")]
pub requirement_id: Option<String>,
#[serde(rename = "country_code", skip_serializing_if = "Option::is_none")]
pub country_code: Option<String>,
#[serde(rename = "business_name", skip_serializing_if = "Option::is_none")]
pub business_name: Option<String>,
#[serde(rename = "first_name", skip_serializing_if = "Option::is_none")]
pub first_name: Option<String>,
#[serde(rename = "last_name", skip_serializing_if = "Option::is_none")]
pub last_name: Option<String>,
#[serde(rename = "street_address", skip_serializing_if = "Option::is_none")]
pub street_address: Option<String>,
/// Address complement: apartment, suite, unit, or the quadra/lote used in some countries. Optional. Does not substitute for a building number on street_address.
#[serde(rename = "extended_address", skip_serializing_if = "Option::is_none")]
pub extended_address: Option<String>,
#[serde(rename = "locality", skip_serializing_if = "Option::is_none")]
pub locality: Option<String>,
#[serde(
rename = "administrative_area",
skip_serializing_if = "Option::is_none"
)]
pub administrative_area: Option<String>,
#[serde(rename = "postal_code", skip_serializing_if = "Option::is_none")]
pub postal_code: Option<String>,
}
impl SubmitPhoneNumberKycRequestAddress {
pub fn new() -> SubmitPhoneNumberKycRequestAddress {
SubmitPhoneNumberKycRequestAddress {
requirement_id: None,
country_code: None,
business_name: None,
first_name: None,
last_name: None,
street_address: None,
extended_address: None,
locality: None,
administrative_area: None,
postal_code: None,
}
}
}