1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/// Currency-related definitions and helpers, such as currency codes and exchange rates.
///
/// This module contains:
/// - `Currency`: Struct representing a currency (e.g., USD, IDR).
/// - `CurrencyConverter`: Utility for managing and converting exchange rates between currencies.
/// Core pricing logic, including buying/selling prices, currency conversion, and pricing details.
///
/// This module provides:
/// - `PricingDetail`: Main struct for managing price calculation flows.
/// - Support for applying markup and calculating final selling price.
/// Markup strategies used in pricing, including fixed amount, percentage, and commission models.
///
/// This module includes:
/// - `MarkupType`: Enum representing different markup mechanisms.
/// - Logic to calculate markup relative to the buy price and currencies.
/// Price adjustments such as tax, discount, and fixed fees that affect final selling price.
///
/// This module includes:
/// - `PriceAdjustment`: Enum representing raw, definable adjustments.
/// - `AppliedAdjustment`: Struct for finalized adjustment values after currency conversion.
/// - Application logic for transforming `PriceAdjustment` into `AppliedAdjustment`.
/// Represents possible errors that can occur during currency conversion.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;