bitwarden_api_api/models/
preview_individual_invoice_request_body.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PreviewIndividualInvoiceRequestBody {
#[serde(rename = "passwordManager")]
pub password_manager: Box<models::IndividualPasswordManagerRequestModel>,
#[serde(rename = "taxInformation")]
pub tax_information: Box<models::TaxInformationRequestModel>,
}
impl PreviewIndividualInvoiceRequestBody {
pub fn new(
password_manager: models::IndividualPasswordManagerRequestModel,
tax_information: models::TaxInformationRequestModel,
) -> PreviewIndividualInvoiceRequestBody {
PreviewIndividualInvoiceRequestBody {
password_manager: Box::new(password_manager),
tax_information: Box::new(tax_information),
}
}
}