1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Tariff {
/// Currency is the ISO code every amount on this quote is denominated in.
#[serde(rename = "currency", skip_serializing_if = "Option::is_none")]
pub currency: Option<String>,
/// DueNowCents is what is charged to begin: every non-recurring line.
#[serde(rename = "dueNowCents", skip_serializing_if = "Option::is_none")]
pub due_now_cents: Option<i32>,
/// Jurisdiction is the state of formation the filing fee belongs to.
#[serde(rename = "jurisdiction", skip_serializing_if = "Option::is_none")]
pub jurisdiction: Option<String>,
/// Lines are the charges, in the order a reader should see them.
#[serde(rename = "lines", skip_serializing_if = "Option::is_none")]
pub lines: Option<Vec<models::Charge>>,
/// Recurring is how often RecurringCents repeats — \"yearly\" for an agent of record. Empty when nothing on this quote recurs.
#[serde(rename = "recurring", skip_serializing_if = "Option::is_none")]
pub recurring: Option<String>,
/// RecurringCents is what repeats, and Recurring says how often.
#[serde(rename = "recurringCents", skip_serializing_if = "Option::is_none")]
pub recurring_cents: Option<i32>,
/// Structure is the entity this prices: c-corp, llc or dao-llc.
#[serde(rename = "structure", skip_serializing_if = "Option::is_none")]
pub structure: Option<String>,
}
impl Tariff {
pub fn new() -> Tariff {
Tariff {
currency: None,
due_now_cents: None,
jurisdiction: None,
lines: None,
recurring: None,
recurring_cents: None,
structure: None,
}
}
}