pub struct Party {
pub name: String,
pub trading_name: Option<String>,
pub identifiers: Vec<Identifier>,
pub legal_registration: Option<Identifier>,
pub vat_identifier: Option<Identifier>,
pub tax_registration: Option<Identifier>,
pub electronic_address: Option<Identifier>,
pub party_taxes: Vec<PartyTax>,
pub additional_legal: Option<String>,
pub address: Option<PostalAddress>,
pub contact: Option<Contact>,
}Expand description
Party identifiers are four slots, not a leftover tax_id:
legal_registration— BT-30 / BT-47 (PINT-MY BRN, unschemed)vat_identifier— BT-31 / BT-48tax_registration— BT-32 (PINT-MY TIN, schemeGST)electronic_address— BT-34 / BT-49 (PINT-MY endpoint scheme0230)
Country (BT-40 / BT-55) lives on PostalAddress::country. Party::country
reads that field.
Fields§
§name: String§trading_name: Option<String>§identifiers: Vec<Identifier>§legal_registration: Option<Identifier>§vat_identifier: Option<Identifier>§tax_registration: Option<Identifier>§electronic_address: Option<Identifier>§party_taxes: Vec<PartyTax>§additional_legal: Option<String>§address: Option<PostalAddress>§contact: Option<Contact>Implementations§
Trait Implementations§
impl Eq for Party
impl StructuralPartialEq for Party
Auto Trait Implementations§
impl Freeze for Party
impl RefUnwindSafe for Party
impl Send for Party
impl Sync for Party
impl Unpin for Party
impl UnsafeUnpin for Party
impl UnwindSafe for Party
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more