java.lang.Object
com.github.rvesse.airline.examples.sendit.Package

public class Package extends Object
  • Field Details

    • weight

      @Option(name={"-w","--weight"}, title="WeightInKg", description="Specifies the packages weight in kilograms") public Double weight
    • width

      @Option(name="--width", title="Width", description="Specifies the packages width in millimeteres, if one dimension is specified all must be specified") public Integer width
    • height

      @Option(name="--height", title="Height", description="Specifies the packages height in millimeteres, if one dimension is specified all must be specified") public Integer height
    • depth

      @Option(name="--depth", title="Depth", description="Specifies the packages depth in millimeteres, if one dimension is specified all must be specified") public Integer depth
  • Constructor Details

    • Package

      public Package()
  • Method Details

    • calculateVolume

      public Integer calculateVolume()