Package data


package data
Provides the classes necessary to create a package and handling data related to the package, measurement units, settings, and shipping rules.

This package includes classes for creating a package with dimensions and weight, converting between different measurement systems, managing application settings, and loading shipping rules from a file. It serves as the data layer for the application, providing the necessary functionality to store and manipulate data.

Classes in this package:

  • Currency - Represents a currency with a name, symbol and exchange rate to Euro. Also provides methods for converting amounts between currencies.
  • ErrorDisplayState - Represents the different states for displaying error messages.
  • MeasurementSystem - Represents a measurement system with a name, length unit symbol, and weight unit symbol. Also provides methods for converting between different measurement systems.
  • Packet - Represents a packet with dimensions and weight.
  • ShippingRule - Represents the rules for the cost of shipping a package based on its weight and dimensions.
  • Class
    Description
    The Currency enum represents different currencies and provides methods for converting between them.
    The ErrorDisplayState enum represents different states for displaying error messages and provides methods to get the display string and find a state by its display string.
    The MeasurementSystem enum represents different systems of measurement and provides methods to convert between them.
    The Packet class represents a package with specific dimensions (length and height) and weight
    The ShippingRule class represents a rule for shipping packages based on their dimensions and weight.