vapi_client/models/
invoice_plan.rs

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