pub struct IntercompanyConfig {
pub enabled: bool,
pub ic_transaction_rate: f64,
pub transfer_pricing_method: TransferPricingMethod,
pub markup_percent: f64,
pub generate_matched_pairs: bool,
pub transaction_type_distribution: ICTransactionTypeDistribution,
pub generate_eliminations: bool,
}Expand description
Intercompany transaction configuration.
Fields§
§enabled: boolEnable intercompany transaction generation
ic_transaction_rate: f64Rate of transactions that are intercompany
transfer_pricing_method: TransferPricingMethodTransfer pricing method
markup_percent: f64Transfer pricing markup percentage (for cost-plus)
generate_matched_pairs: boolGenerate matched IC pairs (offsetting entries)
transaction_type_distribution: ICTransactionTypeDistributionIC transaction type distribution
generate_eliminations: boolGenerate elimination entries for consolidation
Trait Implementations§
Source§impl Clone for IntercompanyConfig
impl Clone for IntercompanyConfig
Source§fn clone(&self) -> IntercompanyConfig
fn clone(&self) -> IntercompanyConfig
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 IntercompanyConfig
impl Debug for IntercompanyConfig
Source§impl Default for IntercompanyConfig
impl Default for IntercompanyConfig
Source§impl<'de> Deserialize<'de> for IntercompanyConfig
impl<'de> Deserialize<'de> for IntercompanyConfig
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 IntercompanyConfig
impl RefUnwindSafe for IntercompanyConfig
impl Send for IntercompanyConfig
impl Sync for IntercompanyConfig
impl Unpin for IntercompanyConfig
impl UnwindSafe for IntercompanyConfig
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