vapi_client/models/
invoice_plan.rs

1/*
2 * Vapi API
3 *
4 * API for building voice assistants
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12use utoipa::ToSchema;
13
14
15use crate::models;
16
17#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize, ToSchema)]
18pub struct InvoicePlan {
19    /// This is the name of the company.
20    #[serde(rename = "companyName", skip_serializing_if = "Option::is_none")]
21    pub company_name: Option<String>,
22    /// This is the address of the company.
23    #[serde(rename = "companyAddress", skip_serializing_if = "Option::is_none")]
24    pub company_address: Option<String>,
25    /// This is the tax ID of the company.
26    #[serde(rename = "companyTaxId", skip_serializing_if = "Option::is_none")]
27    pub company_tax_id: Option<String>,
28    /// This is the preferred invoicing email of the company. If not specified, defaults to the subscription's email.
29    #[serde(rename = "companyEmail", skip_serializing_if = "Option::is_none")]
30    pub company_email: Option<String>,
31}
32
33impl InvoicePlan {
34    pub fn new() -> InvoicePlan {
35        InvoicePlan {
36            company_name: None,
37            company_address: None,
38            company_tax_id: None,
39            company_email: None,
40        }
41    }
42}