pub struct APGeneratorConfig {
pub avg_invoice_amount: Decimal,
pub amount_variation: Decimal,
pub on_time_payment_rate: Decimal,
pub avg_days_to_payment: u32,
pub debit_memo_rate: Decimal,
pub tax_rate: Decimal,
pub three_way_match_rate: Decimal,
pub default_terms: PaymentTerms,
}Expand description
Configuration for AP generation.
Fields§
§avg_invoice_amount: DecimalAverage invoice amount.
amount_variation: DecimalInvoice amount variation.
on_time_payment_rate: DecimalPercentage of invoices paid on time.
avg_days_to_payment: u32Average days to payment.
debit_memo_rate: DecimalDebit memo rate.
tax_rate: DecimalDefault tax rate.
three_way_match_rate: DecimalThree-way match rate.
default_terms: PaymentTermsDefault payment terms.
Trait Implementations§
Source§impl Clone for APGeneratorConfig
impl Clone for APGeneratorConfig
Source§fn clone(&self) -> APGeneratorConfig
fn clone(&self) -> APGeneratorConfig
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 APGeneratorConfig
impl Debug for APGeneratorConfig
Auto Trait Implementations§
impl Freeze for APGeneratorConfig
impl RefUnwindSafe for APGeneratorConfig
impl Send for APGeneratorConfig
impl Sync for APGeneratorConfig
impl Unpin for APGeneratorConfig
impl UnwindSafe for APGeneratorConfig
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