Skip to main content

Module model

Module model 

Source
Expand description

Core data model definitions for pricing operations.

Re-exports§

pub use currency::*;
pub use pricing::*;
pub use markup::*;
pub use adjustment::*;
pub use error::*;

Modules§

adjustment
Price adjustments such as tax, discount, and fixed fees that affect final selling price.
currency
Currency-related definitions and helpers, such as currency codes and exchange rates.
error
Represents possible errors that can occur during currency conversion.
markup
Markup strategies used in pricing, including fixed amount, percentage, and commission models.
pricing
Core pricing logic, including buying/selling prices, currency conversion, and pricing details.