pub struct CompanyInfo {Show 18 fields
pub id: Option<String>,
pub sync_token: Option<String>,
pub meta_data: Option<MetaData>,
pub company_addr: Option<Addr>,
pub company_name: Option<String>,
pub company_start_date: Option<NaiveDate>,
pub country: Option<String>,
pub customer_communication_addr: Option<Addr>,
pub domain: Option<String>,
pub email: Option<Email>,
pub fiscal_year_start_month: Option<String>,
pub legal_addr: Option<Addr>,
pub legal_name: Option<String>,
pub name_value: Option<Vec<NtRef>>,
pub primary_phone: Option<PhoneNumber>,
pub sparse: Option<bool>,
pub supported_languages: Option<String>,
pub web_addr: Option<WebAddr>,
}Expand description
CompanyInfo
Represents the company profile and contact settings for a QuickBooks Online company.
Update semantics:
QBFullUpdatable::can_full_update()returns true whensync_token,company_name, andcompany_addrare present.
API reference: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/companyinfo
Fields§
§id: Option<String>The unique ID of the entity
sync_token: Option<String>The unique sync token of the entity, used for concurrency control
meta_data: Option<MetaData>Metadata about the entity
company_addr: Option<Addr>Company address information
company_name: Option<String>Name of the company
company_start_date: Option<NaiveDate>Date the company was started in YYYY-MM-DD format
country: Option<String>Country of the company
customer_communication_addr: Option<Addr>Address used for customer communications
domain: Option<String>Domain of the company. Typically QBO for QuickBooks Online
email: Option<Email>Company email information
fiscal_year_start_month: Option<String>Month when the fiscal year starts
legal_addr: Option<Addr>Legal address of the company
legal_name: Option<String>Legal name of the company
name_value: Option<Vec<NtRef>>Custom name-value pairs for the company
primary_phone: Option<PhoneNumber>Primary phone number for the company
sparse: Option<bool>Indicates if the entity is a sparse object
supported_languages: Option<String>Languages supported by the company
web_addr: Option<WebAddr>Web address (website URL) of the company
Trait Implementations§
Source§impl Clone for CompanyInfo
impl Clone for CompanyInfo
Source§fn clone(&self) -> CompanyInfo
fn clone(&self) -> CompanyInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more