@ Nonnull public static IMutablePriceGraduation createSimple ( @ Nonnull final IMutablePrice aPrice ) { final PriceGraduation ret = new PriceGraduation ( aPrice . getCurrency ( ) ) ; ret . addItem ( new PriceGraduationItem ( 1 , aPrice . getNetAmount ( ) . getValue ( ) ) ) ; return ret ; }
Create a simple price graduation that contains one item with the minimum quantity of 1 .