pub struct NetSuiteJournalLine {Show 15 fields
pub line: u32,
pub account: u64,
pub account_name: Option<String>,
pub debit: Option<Decimal>,
pub credit: Option<Decimal>,
pub memo: Option<String>,
pub entity: Option<u64>,
pub entity_type: Option<String>,
pub department: Option<u64>,
pub class: Option<u64>,
pub location: Option<u64>,
pub eliminate: bool,
pub tax_code: Option<String>,
pub tax_amount: Option<Decimal>,
pub custom_fields: HashMap<String, String>,
}Expand description
NetSuite journal entry line.
Fields§
§line: u32Line number
account: u64Account (internal ID)
account_name: Option<String>Account name (for reference)
debit: Option<Decimal>Debit amount
credit: Option<Decimal>Credit amount
memo: Option<String>Line memo
entity: Option<u64>Entity (customer/vendor internal ID)
entity_type: Option<String>Entity type
department: Option<u64>Department
class: Option<u64>Class
location: Option<u64>Location
eliminate: boolEliminate intercompany
tax_code: Option<String>Tax code (if applicable)
tax_amount: Option<Decimal>Tax amount
custom_fields: HashMap<String, String>Custom fields for the line
Trait Implementations§
Source§impl Clone for NetSuiteJournalLine
impl Clone for NetSuiteJournalLine
Source§fn clone(&self) -> NetSuiteJournalLine
fn clone(&self) -> NetSuiteJournalLine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetSuiteJournalLine
impl Debug for NetSuiteJournalLine
Source§impl Default for NetSuiteJournalLine
impl Default for NetSuiteJournalLine
Source§fn default() -> NetSuiteJournalLine
fn default() -> NetSuiteJournalLine
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetSuiteJournalLine
impl<'de> Deserialize<'de> for NetSuiteJournalLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetSuiteJournalLine
impl RefUnwindSafe for NetSuiteJournalLine
impl Send for NetSuiteJournalLine
impl Sync for NetSuiteJournalLine
impl Unpin for NetSuiteJournalLine
impl UnwindSafe for NetSuiteJournalLine
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