bitwarden_api_api/models/
preview_individual_invoice_request_body.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PreviewIndividualInvoiceRequestBody {
17 #[serde(rename = "passwordManager")]
18 pub password_manager: Box<models::IndividualPasswordManagerRequestModel>,
19 #[serde(rename = "taxInformation")]
20 pub tax_information: Box<models::TaxInformationRequestModel>,
21}
22
23impl PreviewIndividualInvoiceRequestBody {
24 pub fn new(
25 password_manager: models::IndividualPasswordManagerRequestModel,
26 tax_information: models::TaxInformationRequestModel,
27 ) -> PreviewIndividualInvoiceRequestBody {
28 PreviewIndividualInvoiceRequestBody {
29 password_manager: Box::new(password_manager),
30 tax_information: Box::new(tax_information),
31 }
32 }
33}