use crate::prelude::*;
#[derive(Debug, Clone, Serialize, Deserialize, Getters, Builder)]
pub struct L18nVendorInfo {
#[getset(get = "pub")]
address: String,
#[getset(get = "pub")]
bank: String,
#[getset(get = "pub")]
iban: String,
#[getset(get = "pub")]
bic: String,
#[getset(get = "pub")]
organisation_number: String,
#[getset(get = "pub")]
vat_number: String,
}
impl L18nVendorInfo {
pub fn english() -> Self {
Self::builder()
.address("Address".to_string())
.bank("Bank".to_string())
.iban("IBAN".to_string())
.bic("BIC".to_string())
.organisation_number("Org. No.".to_string())
.vat_number("VAT No.".to_string())
.build()
}
}