Uses of Class
org.broadleafcommerce.common.money.Money
Packages that use Money
Package
Description
-
Uses of Money in org.broadleafcommerce.common.currency.util
Methods in org.broadleafcommerce.common.currency.util that return MoneyModifier and TypeMethodDescriptionstatic MoneyBroadleafCurrencyUtils.getMoney(BigDecimal amount) static MoneyBroadleafCurrencyUtils.getMoney(BigDecimal amount, BroadleafCurrency currency) static MoneyBroadleafCurrencyUtils.getMoney(BroadleafCurrency currency) static MoneyBroadleafCurrencyUtils.getUnitAmount(BroadleafCurrency blCurrency) Returns the unit amount (e.g. .01 for US and all other 2 decimal currencies)static MoneyBroadleafCurrencyUtils.getUnitAmount(Money difference) Returns the unit amount (e.g. .01 for US and all other 2 decimal currencies)Methods in org.broadleafcommerce.common.currency.util with parameters of type MoneyModifier and TypeMethodDescriptionstatic intBroadleafCurrencyUtils.calculateRemainder(Money totalAmount, int quantity) Returns the remainder amount if the passed in totalAmount was divided by the quantity taking into account the normal unit of the currency (e.g. .01 for US).static CurrencyBroadleafCurrencyUtils.getCurrency(Money money) static MoneyBroadleafCurrencyUtils.getUnitAmount(Money difference) Returns the unit amount (e.g. .01 for US and all other 2 decimal currencies) -
Uses of Money in org.broadleafcommerce.common.money
Fields in org.broadleafcommerce.common.money declared as MoneyMethods in org.broadleafcommerce.common.money that return MoneyModifier and TypeMethodDescriptionMoney.abs()static MoneyCurrencyConversionService.convertCurrency(Money source, Currency destinationCurrency, int destinationScale) Converts the given Money into the destination.Money.divide(double amount) Money.divide(double amount, RoundingMode roundingMode) Money.divide(int amount) Money.divide(int amount, RoundingMode roundingMode) Money.divide(BigDecimal divisor) Money.divide(BigDecimal divisor, RoundingMode roundingMode) static Moneystatic MoneyMoney.multiply(double amount) Money.multiply(int amount) Money.multiply(BigDecimal multiplier) Money.multiply(BigDecimal multiplier, RoundingMode roundingMode) Money.multiplyWithRounding(int inInt, RoundingMode roundingMode) Money.negate()static MoneyMoney.trimUnnecessaryScaleToCurrency(Money money) Money.zero()static Moneystatic MoneyMethods in org.broadleafcommerce.common.money with parameters of type MoneyModifier and TypeMethodDescriptionstatic MoneyintCurrencyConversionService.convertCurrency(Money source, Currency destinationCurrency, int destinationScale) Converts the given Money into the destination.booleanMoney.greaterThan(Money other) booleanMoney.greaterThanOrEqual(Money other) booleanbooleanMoney.lessThanOrEqual(Money other) static Moneystatic Moneystatic BigDecimalstatic CurrencyMoney.toCurrency(Money money) static MoneyMoney.trimUnnecessaryScaleToCurrency(Money money) -
Uses of Money in org.broadleafcommerce.common.payment.dto
Fields in org.broadleafcommerce.common.payment.dto declared as MoneyModifier and TypeFieldDescriptionprotected MoneyPaymentResponseDTO.amountIf this was a Transaction request, it will be the amount that was sent back from the gatewayMethods in org.broadleafcommerce.common.payment.dto that return MoneyMethods in org.broadleafcommerce.common.payment.dto with parameters of type Money -
Uses of Money in org.broadleafcommerce.common.util
Methods in org.broadleafcommerce.common.util with parameters of type MoneyModifier and TypeMethodDescriptionstatic StringBLCMoneyFormatUtils.formatPrice(Money price) Reformats the given price field for front-end display.static StringBLCMoneyFormatUtils.formatPrice(Money price, Map<String, String> localeToChange) -
Uses of Money in org.broadleafcommerce.core.catalog.domain
Methods in org.broadleafcommerce.core.catalog.domain that return MoneyModifier and TypeMethodDescriptionSkuFee.getAmount()Gets the amount to charge for this surchargeSkuFeeImpl.getAmount()Sku.getBaseRetailPrice()Returns the basic retail price of the Sku.SkuImpl.getBaseRetailPrice()Sku.getBaseSalePrice()Returns the basic sale price of the Sku.SkuImpl.getBaseSalePrice()ProductBundle.getBundleItemsRetailPrice()Deprecated.ProductBundleImpl.getBundleItemsRetailPrice()Deprecated.ProductBundle.getBundleItemsSalePrice()Deprecated.ProductBundleImpl.getBundleItemsSalePrice()Deprecated.Sku.getCost()Returns the purchase cost of this Sku.SkuImpl.getCost()SkuBundleItemImpl.getDynamicSalePrice(Sku sku, BigDecimal salePrice) Deprecated.Sku.getListPrice()Deprecated.SkuImpl.getListPrice()Deprecated.Product.getMargin()added just for convenience, references defaultSku.marginProductImpl.getMargin()Sku.getMargin()Returns the margin of the Sku.SkuImpl.getMargin()Product.getPrice()Convenience method, references defaultSku.priceProductImpl.getPrice()Sku.getPrice()Resolves the price of the Sku.SkuImpl.getPrice()ProductOptionValue.getPriceAdjustment()Gets the price adjustment associated with this value.ProductOptionValueImpl.getPriceAdjustment()ProductOptionValue.getPriceAdjustmentSkipDynamicPricing()Retrieve the Product Option's price adjustment without dynamic pricing applied.ProductOptionValueImpl.getPriceAdjustmentSkipDynamicPricing()This is the sum total of the priceAdjustments from the associated ProductOptionValuesSkuImpl.getProductOptionValueAdjustments()Product.getRetailPrice()Convenience method, references to defaultSku.retailPriceProductBundle.getRetailPrice()Deprecated.Returns the retail price for this bundleProductBundleImpl.getRetailPrice()Deprecated.ProductImpl.getRetailPrice()Sku.getRetailPrice()Returns the Retail Price of the Sku.SkuBundleItem.getRetailPrice()Deprecated.SkuBundleItemImpl.getRetailPrice()Deprecated.SkuImpl.getRetailPrice()protected MoneyProductImpl.getRetailPriceInternal()protected MoneySkuImpl.getRetailPriceInternal()Product.getSalePrice()Convenience method, references defaultSku.salePriceProductBundle.getSalePrice()Deprecated.Returns the sale price for this bundleProductBundleImpl.getSalePrice()Deprecated.ProductImpl.getSalePrice()Sku.getSalePrice()Returns the Sale Price of the Sku.SkuBundleItem.getSalePrice()Deprecated.SkuBundleItemImpl.getSalePrice()Deprecated.SkuImpl.getSalePrice()protected MoneyProductImpl.getSalePriceInternal()Methods in org.broadleafcommerce.core.catalog.domain with parameters of type MoneyModifier and TypeMethodDescriptionvoidSets the amount to charge for this surchargevoidvoidSets the purchase cost for this Sku.voidvoidSku.setListPrice(Money listPrice) Deprecated.voidSkuImpl.setListPrice(Money listPrice) Deprecated.voidProductOptionValue.setPriceAdjustment(Money priceAdjustment) Gets the price adjustment associated with this value.voidProductOptionValueImpl.setPriceAdjustment(Money priceAdjustment) voidSku.setRetailPrice(Money retailPrice) Sets the retail price for the Sku.voidSkuImpl.setRetailPrice(Money retailPrice) voidSku.setSalePrice(Money salePrice) Sets the the Sale Price of the Sku.voidSkuBundleItem.setSalePrice(Money salePrice) Deprecated.Allows for overriding the related Product's sale price.voidSkuBundleItemImpl.setSalePrice(Money salePrice) Deprecated.voidSkuImpl.setSalePrice(Money salePrice) -
Uses of Money in org.broadleafcommerce.core.catalog.service.dynamic
Fields in org.broadleafcommerce.core.catalog.service.dynamic declared as MoneyModifier and TypeFieldDescriptionprotected MoneyDynamicSkuPrices.priceAdjustmentprotected MoneyDefaultDynamicSkuPricingInvocationHandler.retailPriceprotected MoneyDynamicSkuPrices.retailPriceprotected MoneyDefaultDynamicSkuPricingInvocationHandler.salePriceprotected MoneyDynamicSkuPrices.salePriceMethods in org.broadleafcommerce.core.catalog.service.dynamic that return MoneyModifier and TypeMethodDescriptionDynamicSkuPrices.getPrice()Returns the lower ofDynamicSkuPrices.getSalePrice()andDynamicSkuPrices.getRetailPrice().DynamicSkuPrices.getPriceAdjustment()DynamicSkuPrices.getPriceForQuantity(long quantity) The out of box implementation returnsDynamicSkuPrices.getPrice().DynamicSkuPrices.getRetailPrice()DynamicSkuPrices.getSalePrice()Methods in org.broadleafcommerce.core.catalog.service.dynamic with parameters of type MoneyModifier and TypeMethodDescriptionDefaultDynamicSkuPricingServiceImpl.getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl, Money priceAdjustment, HashMap skuPricingConsiderationContext) DynamicSkuPricingService.getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl, Money priceAdjustment, HashMap skuPricingConsiderationContext) Execute dynamic pricing on the price of a product option value.voidDynamicSkuPrices.setPriceAdjustment(Money priceAdjustment) voidDynamicSkuPrices.setRetailPrice(Money retailPrice) voidDynamicSkuPrices.setSalePrice(Money salePrice) Constructors in org.broadleafcommerce.core.catalog.service.dynamic with parameters of type MoneyModifierConstructorDescriptionDefaultDynamicSkuPricingInvocationHandler(Sku sku, Money adjustments) Used to add ProductOptionValue price adjustments to the proxy Sku -
Uses of Money in org.broadleafcommerce.core.offer.domain
Fields in org.broadleafcommerce.core.offer.domain declared as MoneyModifier and TypeFieldDescriptionprotected MoneyOrderItemAdjustmentImpl.retailValueprotected MoneyOrderItemPriceDetailAdjustmentImpl.retailValueprotected MoneyOrderItemAdjustmentImpl.salesValueprotected MoneyOrderItemPriceDetailAdjustmentImpl.salesValueMethods in org.broadleafcommerce.core.offer.domain that return MoneyModifier and TypeMethodDescriptionCandidateFulfillmentGroupOffer.getDiscountedPrice()CandidateFulfillmentGroupOfferImpl.getDiscountedPrice()CandidateItemOffer.getDiscountedPrice()CandidateItemOfferImpl.getDiscountedPrice()CandidateOrderOffer.getDiscountedPrice()CandidateOrderOfferImpl.getDiscountedPrice()Offer.getOrderMinSubTotal()OfferImpl.getOrderMinSubTotal()Offer.getQualifyingItemSubTotal()Indicates the amount of items that must be purchased for this offer to be considered for this order.OfferImpl.getQualifyingItemSubTotal()OrderItemAdjustment.getRetailPriceValue()Value of this adjustment relative to the retail price.OrderItemAdjustmentImpl.getRetailPriceValue()OrderItemPriceDetailAdjustment.getRetailPriceValue()Value of this adjustment relative to the retail price.OrderItemPriceDetailAdjustmentImpl.getRetailPriceValue()OrderItemAdjustment.getSalesPriceValue()Value of this adjustment relative to the sale price.OrderItemAdjustmentImpl.getSalesPriceValue()OrderItemPriceDetailAdjustment.getSalesPriceValue()Value of this adjustment relative to the sale price.OrderItemPriceDetailAdjustmentImpl.getSalesPriceValue()Offer.getTargetMinSubTotal()OfferImpl.getTargetMinSubTotal()Adjustment.getValue()FulfillmentGroupAdjustmentImpl.getValue()OrderAdjustmentImpl.getValue()OrderItemAdjustmentImpl.getValue()OrderItemPriceDetailAdjustmentImpl.getValue()ProratedOrderItemAdjustmentImpl.getValue()Methods in org.broadleafcommerce.core.offer.domain with parameters of type MoneyModifier and TypeMethodDescriptionvoidCandidateFulfillmentGroupOffer.setDiscountedPrice(Money discountedPrice) voidCandidateFulfillmentGroupOfferImpl.setDiscountedPrice(Money discountedPrice) voidCandidateItemOffer.setDiscountedPrice(Money discountedPrice) voidCandidateItemOfferImpl.setDiscountedPrice(Money discountedPrice) voidCandidateOrderOffer.setDiscountedPrice(Money discountedPrice) voidCandidateOrderOfferImpl.setDiscountedPrice(Money discountedPrice) voidOffer.setOrderMinSubTotal(Money orderMinSubTotal) voidOfferImpl.setOrderMinSubTotal(Money orderMinSubTotal) voidOffer.setQualifyingItemSubTotal(Money qualifyingItemSubtotal) voidOfferImpl.setQualifyingItemSubTotal(Money qualifyingItemSubTotal) voidOrderItemAdjustment.setRetailPriceValue(Money retailPriceValue) voidOrderItemAdjustmentImpl.setRetailPriceValue(Money retailPriceValue) voidOrderItemPriceDetailAdjustment.setRetailPriceValue(Money retailPriceValue) voidOrderItemPriceDetailAdjustmentImpl.setRetailPriceValue(Money retailPriceValue) voidOrderItemAdjustment.setSalesPriceValue(Money salesPriceValue) voidOrderItemAdjustmentImpl.setSalesPriceValue(Money salesPriceValue) voidOrderItemPriceDetailAdjustment.setSalesPriceValue(Money salesPriceValue) voidOrderItemPriceDetailAdjustmentImpl.setSalesPriceValue(Money salesPriceValue) voidOffer.setTargetMinSubTotal(Money targetMinSubTotal) voidOfferImpl.setTargetMinSubTotal(Money targetMinSubTotal) voidvoidvoidvoidvoidvoidvoid -
Uses of Money in org.broadleafcommerce.core.offer.service
Methods in org.broadleafcommerce.core.offer.service with parameters of type MoneyModifier and TypeMethodDescriptionprotected booleanOfferServiceUtilitiesImpl.orderMeetsProvidedSubtotalRequirement(Offer offer, HashMap<OfferItemCriteria, List<PromotableOrderItem>> promotableOrderItems, Money minSubTotal) -
Uses of Money in org.broadleafcommerce.core.offer.service.discount
Fields in org.broadleafcommerce.core.offer.service.discount declared as MoneyMethods in org.broadleafcommerce.core.offer.service.discount that return MoneyModifier and TypeMethodDescriptionPromotionQualifier.getPrice()FulfillmentGroupOfferPotential.getTotalSavings()Methods in org.broadleafcommerce.core.offer.service.discount with parameters of type MoneyModifier and TypeMethodDescriptionvoidvoidFulfillmentGroupOfferPotential.setTotalSavings(Money totalSavings) -
Uses of Money in org.broadleafcommerce.core.offer.service.discount.domain
Fields in org.broadleafcommerce.core.offer.service.discount.domain declared as MoneyModifier and TypeFieldDescriptionprotected MoneyPromotableFulfillmentGroupImpl.adjustedPriceprotected MoneyPromotableOrderItemPriceDetailImpl.adjustedTotalprotected MoneyPromotableFulfillmentGroupAdjustmentImpl.adjustmentValueprotected MoneyPromotableOrderAdjustmentImpl.adjustmentValueprotected MoneyPromotableOrderItemPriceDetailAdjustmentImpl.adjustmentValueprotected MoneyPromotableCandidateItemOfferImpl.originalPriceprotected MoneyPromotableCandidateItemOfferImpl.potentialSavingsprotected MoneyPromotableCandidateOrderOfferImpl.potentialSavingsprotected MoneyPromotableCandidateItemOfferImpl.potentialSavingsQtyOneprotected MoneyPromotableFulfillmentGroupAdjustmentImpl.retailAdjustmentValueprotected MoneyPromotableOrderItemPriceDetailAdjustmentImpl.retailAdjustmentValueprotected MoneyPromotableFulfillmentGroupAdjustmentImpl.saleAdjustmentValueprotected MoneyPromotableOrderItemPriceDetailAdjustmentImpl.saleAdjustmentValueMethods in org.broadleafcommerce.core.offer.service.discount.domain that return MoneyModifier and TypeMethodDescriptionprotected MoneyPromotableOrderItemPriceDetailImpl.buildPreciseMoneyFromAdjustment(Money original, Money adjustment) protected MoneyPromotableOrderItemPriceDetailImpl.calculateAdjustmentsUnitValue()PromotableOrder.calculateItemAdjustmentTotal()Calculates the total adjustment to be received from the item adjustments.PromotableOrderImpl.calculateItemAdjustmentTotal()PromotableOrderItemPriceDetail.calculateItemUnitPriceWithAdjustments(boolean allowSalePrice) Returns the price to be used for this priceDetail taking into account whether or not the sales price can be used.PromotableOrderItemPriceDetailImpl.calculateItemUnitPriceWithAdjustments(boolean allowSalePrice) PromotableOrderItemPriceDetailWrapper.calculateItemUnitPriceWithAdjustments(boolean allowSalePrice) PromotableOrder.calculateOrderAdjustmentTotal()Calculates the total adjustment to be received from the order adjustments.PromotableOrderImpl.calculateOrderAdjustmentTotal()PromotableFulfillmentGroup.calculatePriceWithAdjustments(boolean useSalePrice) Calculates the price with adjustments.PromotableFulfillmentGroupImpl.calculatePriceWithAdjustments(boolean useSalePrice) PromotableFulfillmentGroup.calculatePriceWithoutAdjustments()Returns the price of this fulfillment group if no adjustments were applied.PromotableFulfillmentGroupImpl.calculatePriceWithoutAdjustments()protected MoneyPromotableFulfillmentGroupImpl.calculateRetailAdjustmentPrice()PromotableOrderItemPriceDetailImpl.calculateRetailAdjustmentUnitPrice()protected MoneyPromotableFulfillmentGroupImpl.calculateSaleAdjustmentPrice()PromotableOrderItemPriceDetailImpl.calculateSaleAdjustmentUnitPrice()PromotableOfferUtility.calculateSavingsForOrderItem(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItem orderItem, int qtyToReceiveSavings) PromotableOfferUtilityImpl.calculateSavingsForOrderItem(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItem promotableOrderItem, int qtyToReceiveSavings) PromotableOrder.calculateSubtotalWithAdjustments()Returns the price of the order with adjustments.PromotableOrderImpl.calculateSubtotalWithAdjustments()PromotableOrder.calculateSubtotalWithoutAdjustments()Returns the price of the order without adjustments.PromotableOrderImpl.calculateSubtotalWithoutAdjustments()PromotableOrderItem.calculateTotalAdjustmentValue()Returns the value of all adjustments.PromotableOrderItemImpl.calculateTotalAdjustmentValue()PromotableOrderItemPriceDetail.calculateTotalAdjustmentValue()Returns the total adjustment value as the sum of the adjustments times the quantity represented by this PriceDetailPromotableOrderItemPriceDetailImpl.calculateTotalAdjustmentValue()PromotableOrderItemPriceDetailWrapper.calculateTotalAdjustmentValue()PromotableOrderItem.calculateTotalWithAdjustments()Returns the final total for this item taking into account the finalized adjustments.PromotableOrderItemImpl.calculateTotalWithAdjustments()PromotableOrderItem.calculateTotalWithoutAdjustments()Returns the total for this item if not adjustments applied.PromotableOrderItemImpl.calculateTotalWithoutAdjustments()protected MoneyPromotableFulfillmentGroupAdjustmentImpl.computeAdjustmentValue(Money currentPriceDetailValue) PromotableOfferUtility.computeAdjustmentValue(PromotableCandidateFulfillmentGroupOffer promotableCandidateFulfillmentGroupOffer, PromotableFulfillmentGroup promotableFulfillmentGroup, boolean allowSalePrice) PromotableOfferUtility.computeAdjustmentValue(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItemPriceDetail orderItemPriceDetail, boolean allowSalePrice) protected MoneyPromotableOfferUtilityImpl.computeAdjustmentValue(Money currentPriceDetailValue, BigDecimal offerUnitValue, BroadleafCurrency currency, OfferDiscountType discountType, PromotionRounding rounding) PromotableOfferUtilityImpl.computeAdjustmentValue(PromotableCandidateFulfillmentGroupOffer promotableCandidateFulfillmentGroupOffer, PromotableFulfillmentGroup promotableFulfillmentGroup, boolean allowSalePrice) PromotableOfferUtilityImpl.computeAdjustmentValue(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItemPriceDetail orderItemPriceDetail, boolean allowSalePrice) PromotableCandidateFulfillmentGroupOffer.computeDiscountedAmount()PromotableCandidateFulfillmentGroupOfferImpl.computeDiscountedAmount()PromotableOfferUtility.computeRetailAdjustmentValue(PromotableCandidateFulfillmentGroupOffer promotableCandidateFulfillmentGroupOffer, PromotableFulfillmentGroup promotableFulfillmentGroup) PromotableOfferUtility.computeRetailAdjustmentValue(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItemPriceDetail orderItemPriceDetail) PromotableOfferUtilityImpl.computeRetailAdjustmentValue(PromotableCandidateFulfillmentGroupOffer promotableCandidateFulfillmentGroupOffer, PromotableFulfillmentGroup promotableFulfillmentGroup) PromotableOfferUtilityImpl.computeRetailAdjustmentValue(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItemPriceDetail orderItemPriceDetail) PromotableOfferUtility.computeSalesAdjustmentValue(PromotableCandidateFulfillmentGroupOffer promotableCandidateFulfillmentGroupOffer, PromotableFulfillmentGroup promotableFulfillmentGroup) PromotableOfferUtility.computeSalesAdjustmentValue(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItemPriceDetail orderItemPriceDetail) PromotableOfferUtilityImpl.computeSalesAdjustmentValue(PromotableCandidateFulfillmentGroupOffer promotableCandidateFulfillmentGroupOffer, PromotableFulfillmentGroup promotableFulfillmentGroup) PromotableOfferUtilityImpl.computeSalesAdjustmentValue(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItemPriceDetail orderItemPriceDetail) PromotableFulfillmentGroupAdjustment.getAdjustmentValue()Returns the value of this adjustmentPromotableFulfillmentGroupAdjustmentImpl.getAdjustmentValue()PromotableOrderAdjustment.getAdjustmentValue()Returns the value of this adjustmentPromotableOrderAdjustmentImpl.getAdjustmentValue()PromotableOrderItemPriceDetailAdjustment.getAdjustmentValue()Returns the value of this adjustment.PromotableOrderItemPriceDetailAdjustmentImpl.getAdjustmentValue()protected MoneyPromotableCandidateFulfillmentGroupOfferImpl.getBasePrice()PromotableOrderItem.getCurrentBasePrice()Returns the basePrice of the item (baseSalePrice or baseRetailPrice)PromotableOrderItemImpl.getCurrentBasePrice()PromotableCandidateFulfillmentGroupOffer.getDiscountedAmount()PromotableCandidateFulfillmentGroupOfferImpl.getDiscountedAmount()PromotableCandidateFulfillmentGroupOffer.getDiscountedPrice()PromotableCandidateFulfillmentGroupOfferImpl.getDiscountedPrice()PromotableFulfillmentGroup.getFinalizedPriceWithAdjustments()Calculates the price with all adjustments.PromotableFulfillmentGroupImpl.getFinalizedPriceWithAdjustments()PromotableOrderItemPriceDetail.getFinalizedTotalWithAdjustments()Returns the final total for this item taking into account the finalized adjustments.PromotableOrderItemPriceDetailImpl.getFinalizedTotalWithAdjustments()PromotableOrderItemPriceDetailWrapper.getFinalizedTotalWithAdjustments()PromotableCandidateItemOffer.getOriginalPrice()PromotableCandidateItemOfferImpl.getOriginalPrice()PromotableCandidateItemOffer.getPotentialSavings()PromotableCandidateItemOfferImpl.getPotentialSavings()PromotableCandidateOrderOffer.getPotentialSavings()PromotableCandidateOrderOfferImpl.getPotentialSavings()PromotableCandidateItemOffer.getPotentialSavingsQtyOne()PromotableCandidateItemOfferImpl.getPotentialSavingsQtyOne()PromotableOrderItem.getPriceBeforeAdjustments(boolean applyToSalePrice) Return the salePriceBeforeAdjustments if the passed in param is true.PromotableOrderItemImpl.getPriceBeforeAdjustments(boolean applyToSalePrice) PromotableFulfillmentGroupAdjustment.getRetailAdjustmentValue()Returns the value of this adjustmentPromotableFulfillmentGroupAdjustmentImpl.getRetailAdjustmentValue()PromotableOrderItemPriceDetailAdjustment.getRetailAdjustmentValue()Returns the value of this adjustment if only retail prices can be used.PromotableOrderItemPriceDetailAdjustmentImpl.getRetailAdjustmentValue()PromotableOrderItem.getRetailPriceBeforeAdjustments()Returns the retailPrice without adjustmentsPromotableOrderItemImpl.getRetailPriceBeforeAdjustments()PromotableFulfillmentGroupAdjustment.getSaleAdjustmentValue()Returns the value of this adjustmentPromotableFulfillmentGroupAdjustmentImpl.getSaleAdjustmentValue()PromotableOrderItemPriceDetailAdjustment.getSaleAdjustmentValue()Returns the value of this adjustment if sale prices can be used.PromotableOrderItemPriceDetailAdjustmentImpl.getSaleAdjustmentValue()protected MoneyPromotableFulfillmentGroupImpl.getSalePriceBeforeAdjustments()PromotableOrderItem.getSalePriceBeforeAdjustments()Returns the salePrice without adjustmentsPromotableOrderItemImpl.getSalePriceBeforeAdjustments()Methods in org.broadleafcommerce.core.offer.service.discount.domain with parameters of type MoneyModifier and TypeMethodDescriptionprotected MoneyPromotableOrderItemPriceDetailImpl.buildPreciseMoneyFromAdjustment(Money original, Money adjustment) protected MoneyPromotableFulfillmentGroupAdjustmentImpl.computeAdjustmentValue(Money currentPriceDetailValue) protected MoneyPromotableOfferUtilityImpl.computeAdjustmentValue(Money currentPriceDetailValue, BigDecimal offerUnitValue, BroadleafCurrency currency, OfferDiscountType discountType, PromotionRounding rounding) PromotableItemFactory.createPromotableCandidateOrderOffer(PromotableOrder promotableOrder, Offer offer, Money potentialSavings) PromotableItemFactoryImpl.createPromotableCandidateOrderOffer(PromotableOrder promotableOrder, Offer offer, Money potentialSavings) PromotableItemFactory.createPromotableOrderAdjustment(PromotableCandidateOrderOffer promotableCandidateOrderOffer, PromotableOrder order, Money value) PromotableItemFactoryImpl.createPromotableOrderAdjustment(PromotableCandidateOrderOffer promotableCandidateOrderOffer, PromotableOrder order, Money adjustmentValue) voidPromotableCandidateItemOffer.setOriginalPrice(Money originalPrice) voidPromotableCandidateItemOfferImpl.setOriginalPrice(Money originalPrice) voidPromotableCandidateItemOffer.setPotentialSavings(Money savings) voidPromotableCandidateItemOfferImpl.setPotentialSavings(Money potentialSavings) voidPromotableCandidateItemOffer.setPotentialSavingsQtyOne(Money potentialSavingsQtyOne) voidPromotableCandidateItemOfferImpl.setPotentialSavingsQtyOne(Money potentialSavingsQtyOne) voidPromotableOrder.setTotalFufillmentCharges(Money totalFulfillmentCharges) Sets the total fulfillmentCharges the order.voidPromotableOrderImpl.setTotalFufillmentCharges(Money totalFulfillmentCharges) Constructors in org.broadleafcommerce.core.offer.service.discount.domain with parameters of type MoneyModifierConstructorDescriptionPromotableCandidateOrderOfferImpl(PromotableOrder promotableOrder, Offer offer, Money potentialSavings) Instead of calculating the potential savings, you can specify an override of this value.PromotableFulfillmentGroupAdjustmentImpl(PromotableCandidateFulfillmentGroupOffer promotableCandidateFulfillmentGroupOffer, PromotableFulfillmentGroup fulfillmentGroup, Money retailAdjustmentValue, Money saleAdjustmentValue) PromotableOrderAdjustmentImpl(PromotableCandidateOrderOffer promotableCandidateOrderOffer, PromotableOrder promotableOrder, Money adjustmentValue) PromotableOrderItemPriceDetailAdjustmentImpl(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItemPriceDetail orderItemPriceDetail, Money retailAdjustmentValue, Money saleAdjustmentValue) -
Uses of Money in org.broadleafcommerce.core.offer.service.processor
Methods in org.broadleafcommerce.core.offer.service.processor that return MoneyModifier and TypeMethodDescriptionprotected MoneyItemOfferProcessorImpl.calculatePotentialSavingsForOrderItem(PromotableCandidateItemOffer itemOffer, PromotableOrderItem item, int quantity) Provide an opportunity to for modules to override the potentialSavingsCalculationMethods in org.broadleafcommerce.core.offer.service.processor with parameters of type MoneyModifier and TypeMethodDescriptionprotected BigDecimalItemOfferProcessorImpl.calculatePercent(Money itemSubTotal, Money itemSavings) protected BigDecimalItemOfferProcessorImpl.calculateWeightedPercent(PromotionDiscount discount, PromotableOrderItem item, Money itemSavings) protected booleanAbstractBaseProcessor.hasPositiveValue(Money money) -
Uses of Money in org.broadleafcommerce.core.order.domain
Methods in org.broadleafcommerce.core.order.domain that return MoneyModifier and TypeMethodDescriptionNullOrderImpl.calculateSubTotal()Order.calculateSubTotal()Returns the sum of the item totals.OrderImpl.calculateSubTotal()protected MoneyBundleOrderItemFeePriceImpl.convertToMoney(BigDecimal amount) protected MoneyBundleOrderItemImpl.convertToMoney(BigDecimal amount) Deprecated.protected MoneyDiscreteOrderItemFeePriceImpl.convertToMoney(BigDecimal amount) protected MoneyDiscreteOrderItemImpl.convertToMoney(BigDecimal amount) protected MoneyFulfillmentGroupItemImpl.convertToMoney(BigDecimal amount) protected MoneyOrderItemImpl.convertToMoney(BigDecimal amount) OrderItem.getAdjustmentValue()Deprecated.OrderItemImpl.getAdjustmentValue()OrderItemPriceDetail.getAdjustmentValue()Returns the value of all adjustments for a single quantity of the item.OrderItemPriceDetailImpl.getAdjustmentValue()BundleOrderItemFeePrice.getAmount()BundleOrderItemFeePriceImpl.getAmount()DiscreteOrderItemFeePrice.getAmount()DiscreteOrderItemFeePriceImpl.getAmount()FulfillmentGroupFee.getAmount()FulfillmentGroupFeeImpl.getAmount()TaxDetail.getAmount()Gets the tax amountTaxDetailImpl.getAmount()OrderItem.getAverageAdjustmentValue()Returns the average unit item adjustments.OrderItemImpl.getAverageAdjustmentValue()OrderItem.getAveragePrice()Returns the average unit display price for the item.OrderItemImpl.getAveragePrice()BundleOrderItem.getBaseRetailPrice()Deprecated.BundleOrderItemImpl.getBaseRetailPrice()Deprecated.DiscreteOrderItem.getBaseRetailPrice()DiscreteOrderItemImpl.getBaseRetailPrice()BundleOrderItem.getBaseSalePrice()Deprecated.BundleOrderItemImpl.getBaseSalePrice()Deprecated.DiscreteOrderItem.getBaseSalePrice()DiscreteOrderItemImpl.getBaseSalePrice()FulfillmentGroup.getFulfillmentGroupAdjustmentsValue()FulfillmentGroupImpl.getFulfillmentGroupAdjustmentsValue()NullOrderImpl.getFulfillmentGroupAdjustmentsValue()OrderImpl.getFulfillmentGroupAdjustmentsValue()FulfillmentGroup.getFulfillmentPrice()Gets the price to charge for this fulfillmentGroup.FulfillmentGroupImpl.getFulfillmentPrice()OrderItemPriceDetail.getFutureCreditAdjustmentValue()Returns the value of future credit adjustments for a single quantity of the item.OrderItemPriceDetailImpl.getFutureCreditAdjustmentValue()FulfillmentGroup.getFutureCreditFulfillmentGroupAdjustmentsValue()Returns the discount value of the applied future credit offers for this fulfillment group.FulfillmentGroupImpl.getFutureCreditFulfillmentGroupAdjustmentsValue()NullOrderImpl.getFutureCreditFulfillmentGroupAdjustmentsValue()Returns the discount value of the applied future credit fulfillment offers for this order.OrderImpl.getFutureCreditFulfillmentGroupAdjustmentsValue()NullOrderImpl.getFutureCreditItemAdjustmentsValue()Returns the discount value of the applied future credit item offers for this order.OrderImpl.getFutureCreditItemAdjustmentsValue()NullOrderImpl.getFutureCreditOrderAdjustmentsValue()Returns the discount value of the applied future credit order offers originating.OrderImpl.getFutureCreditOrderAdjustmentsValue()OrderItem.getFutureCreditTotalAdjustmentValue()Returns the total for future credit item level adjustments.OrderItem.getFutureCreditTotalAdjustmentValue(boolean includeChildren) Returns the total for future credit item level adjustments.OrderItemImpl.getFutureCreditTotalAdjustmentValue()OrderItemImpl.getFutureCreditTotalAdjustmentValue(boolean includeChildren) OrderItemPriceDetail.getFutureCreditTotalAdjustmentValue()Returns getFutureCreditAdjustmentValue() * the quantity.OrderItemPriceDetailImpl.getFutureCreditTotalAdjustmentValue()NullOrderImpl.getItemAdjustmentsValue()Order.getItemAdjustmentsValue()Returns the discount value of all the applied item offers for this order.OrderImpl.getItemAdjustmentsValue()FulfillmentGroup.getMerchandiseTotal()FulfillmentGroupImpl.getMerchandiseTotal()NullOrderImpl.getOrderAdjustmentsValue()Order.getOrderAdjustmentsValue()Returns the discount value of all the applied order offers.OrderImpl.getOrderAdjustmentsValue()FulfillmentGroupItem.getPrice()FulfillmentGroupItemImpl.getPrice()OrderItem.getPrice()Deprecated.Delegates toOrderItem.getAveragePrice()OrderItemImpl.getPrice()OrderItem.getPriceBeforeAdjustments(boolean allowSalesPrice) Returns the unit price of this item.OrderItem.getPriceBeforeAdjustments(boolean allowSalesPrice, boolean includeChildren) OrderItemImpl.getPriceBeforeAdjustments(boolean allowSalesPrice) OrderItemImpl.getPriceBeforeAdjustments(boolean allowSalesPrice, boolean includeChildren) FulfillmentGroupItem.getProratedOrderAdjustmentAmount()FulfillmentGroupItemImpl.getProratedOrderAdjustmentAmount()FulfillmentGroup.getRetailFulfillmentPrice()Returns the retail price for this fulfillmentGroup.FulfillmentGroupImpl.getRetailFulfillmentPrice()BundleOrderItemImpl.getRetailPrice()Deprecated.FulfillmentGroupItem.getRetailPrice()FulfillmentGroupItemImpl.getRetailPrice()OrderItem.getRetailPrice()The retail price of the item that was added to theOrderat the time that this was added.OrderItemImpl.getRetailPrice()FulfillmentGroup.getRetailShippingPrice()Deprecated.- useFulfillmentGroup.getRetailFulfillmentPrice()instead.FulfillmentGroupImpl.getRetailShippingPrice()FulfillmentGroup.getSaleFulfillmentPrice()Returns the sale price for this fulfillmentGroup.FulfillmentGroupImpl.getSaleFulfillmentPrice()BundleOrderItemImpl.getSalePrice()Deprecated.FulfillmentGroupItem.getSalePrice()FulfillmentGroupItemImpl.getSalePrice()OrderItem.getSalePrice()Returns the salePrice for this item.OrderItemImpl.getSalePrice()FulfillmentGroup.getSaleShippingPrice()Deprecated.- useFulfillmentGroup.getSaleFulfillmentPrice()instead.FulfillmentGroupImpl.getSaleShippingPrice()FulfillmentGroup.getShippingPrice()Deprecated.- useFulfillmentGroup.getFulfillmentPrice()instead.FulfillmentGroupImpl.getShippingPrice()NullOrderImpl.getSubTotal()Order.getSubTotal()Returns the subtotal price for the order.OrderImpl.getSubTotal()BundleOrderItem.getTaxablePrice()Deprecated.BundleOrderItemImpl.getTaxablePrice()Deprecated.DiscreteOrderItem.getTaxablePrice()OrderItem.getTaxablePrice()Deprecated.If the item is taxable, returnsOrderItem.getAveragePrice()OrderItemImpl.getTaxablePrice()FulfillmentGroup.getTotal()FulfillmentGroupImpl.getTotal()NullOrderImpl.getTotal()Order.getTotal()The grand total of thisOrderwhich includes all shipping costs and taxes, as well as any adjustments from promotions.OrderImpl.getTotal()OrderItemPriceDetail.getTotalAdjustedPrice()Returns the total adjustedPrice.OrderItemPriceDetailImpl.getTotalAdjustedPrice()NullOrderImpl.getTotalAdjustmentsValue()Order.getTotalAdjustmentsValue()Returns the total discount value for all applied item and order offers in the order.OrderImpl.getTotalAdjustmentsValue()OrderItem.getTotalAdjustmentValue()Returns the total for all item level adjustments.OrderItem.getTotalAdjustmentValue(boolean includeChildren) Returns the total for all item level adjustments.OrderItemImpl.getTotalAdjustmentValue()OrderItemImpl.getTotalAdjustmentValue(boolean includeChildren) OrderItemPriceDetail.getTotalAdjustmentValue()Returns getAdjustmentValue() * the quantity.OrderItemPriceDetailImpl.getTotalAdjustmentValue()NullOrderImpl.getTotalAfterAppliedPayments()Order.getTotalAfterAppliedPayments()This is getTotal() minus the sum of all theOrderPaymentalready applied to this order.OrderImpl.getTotalAfterAppliedPayments()FulfillmentGroup.getTotalFeeTax()Gets the total fee tax for this fulfillment group, which is the sum of the taxes on all fulfillment group fees.FulfillmentGroupImpl.getTotalFeeTax()NullOrderImpl.getTotalFulfillmentCharges()Order.getTotalFulfillmentCharges()Gets the total fulfillment costs that should be charged for thisOrder.OrderImpl.getTotalFulfillmentCharges()FulfillmentGroup.getTotalFulfillmentGroupTax()Gets the total fulfillment group tax for this fulfillment group, which is the sum of the taxes on this fulfillment group itself (such as a shipping tax) only.FulfillmentGroupImpl.getTotalFulfillmentGroupTax()NullOrderImpl.getTotalFutureCreditAdjustmentsValue()Returns the total discount value for applied item, order, and fulfillment offers in the order originating from FUTURE_CREDIT Offers.OrderImpl.getTotalFutureCreditAdjustmentsValue()FulfillmentGroupItem.getTotalItemAmount()FulfillmentGroupItemImpl.getTotalItemAmount()FulfillmentGroup.getTotalItemTax()Gets the total item tax for this fulfillment group, which is the sum of the taxes on all fulfillment group items.FulfillmentGroupImpl.getTotalItemTax()FulfillmentGroupItem.getTotalItemTaxableAmount()FulfillmentGroupItemImpl.getTotalItemTaxableAmount()BundleOrderItemImpl.getTotalPrice()Deprecated.OrderItem.getTotalPrice()Returns the total price to be paid for this order item including item-level adjustments.OrderItem.getTotalPrice(boolean includeChildren) Returns the total price to be paid for this order item including item-level adjustments.OrderItemImpl.getTotalPrice()OrderItemImpl.getTotalPrice(boolean includeChildren) OrderItem.getTotalPriceBeforeAdjustments(boolean allowSalesPrice) Returns the total price to be paid before adjustments.OrderItemImpl.getTotalPriceBeforeAdjustments(boolean allowSalesPrice) NullOrderImpl.getTotalShipping()Order.getTotalShipping()OrderImpl.getTotalShipping()FulfillmentGroup.getTotalTax()Gets the total tax for this fulfillment group, which is the sum of the taxes on all fulfillment group items, fees, and taxes on this fulfillment group itself (such as a shipping tax).FulfillmentGroupFee.getTotalTax()Gets the total tax for this fee, which is the sum of all taxes for this fee.FulfillmentGroupFeeImpl.getTotalTax()FulfillmentGroupImpl.getTotalTax()FulfillmentGroupItem.getTotalTax()Gets the total tax for this item, which is the sum of all taxes for this item.FulfillmentGroupItemImpl.getTotalTax()NullOrderImpl.getTotalTax()Order.getTotalTax()Gets the total tax for this order, which is the sum of the taxes on all fulfillment groups.OrderImpl.getTotalTax()Methods in org.broadleafcommerce.core.order.domain with parameters of type MoneyModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidSets the tax amountvoidvoidBundleOrderItem.setBaseRetailPrice(Money baseRetailPrice) Deprecated.voidBundleOrderItemImpl.setBaseRetailPrice(Money baseRetailPrice) Deprecated.voidDiscreteOrderItem.setBaseRetailPrice(Money baseRetailPrice) voidDiscreteOrderItemImpl.setBaseRetailPrice(Money baseRetailPrice) voidBundleOrderItem.setBaseSalePrice(Money baseSalePrice) Deprecated.voidBundleOrderItemImpl.setBaseSalePrice(Money baseSalePrice) Deprecated.voidDiscreteOrderItem.setBaseSalePrice(Money baseSalePrice) voidDiscreteOrderItemImpl.setBaseSalePrice(Money baseSalePrice) voidFulfillmentGroup.setFulfillmentPrice(Money fulfillmentPrice) Sets the price to charge for this fulfillmentGroup.voidFulfillmentGroupImpl.setFulfillmentPrice(Money fulfillmentPrice) voidFulfillmentGroup.setMerchandiseTotal(Money merchandiseTotal) voidFulfillmentGroupImpl.setMerchandiseTotal(Money merchandiseTotal) voidCalling this method is the same as calling the following:voidvoidFulfillmentGroupItem.setProratedOrderAdjustmentAmount(Money amount) voidFulfillmentGroupItemImpl.setProratedOrderAdjustmentAmount(Money proratedOrderAdjustment) voidFulfillmentGroup.setRetailFulfillmentPrice(Money fulfillmentPrice) Sets the retail price for this fulfillmentGroup.voidFulfillmentGroupImpl.setRetailFulfillmentPrice(Money retailFulfillmentPrice) voidOrderItem.setRetailPrice(Money retailPrice) Calling this method will manually set the retailPrice.voidOrderItemImpl.setRetailPrice(Money retailPrice) voidFulfillmentGroup.setRetailShippingPrice(Money retailShippingPrice) Deprecated.- useFulfillmentGroup.setRetailFulfillmentPrice(Money)instead.voidFulfillmentGroupImpl.setRetailShippingPrice(Money retailShippingPrice) voidFulfillmentGroup.setSaleFulfillmentPrice(Money fulfillmentPrice) Sets the sale price for this fulfillmentGroup.voidFulfillmentGroupImpl.setSaleFulfillmentPrice(Money saleFulfillmentPrice) voidOrderItem.setSalePrice(Money salePrice) Calling this method will manually set the salePrice.voidOrderItemImpl.setSalePrice(Money salePrice) voidFulfillmentGroup.setSaleShippingPrice(Money saleShippingPrice) Deprecated.- useFulfillmentGroup.setSaleFulfillmentPrice(Money)instead.voidFulfillmentGroupImpl.setSaleShippingPrice(Money saleShippingPrice) voidFulfillmentGroup.setShippingPrice(Money shippingPrice) Deprecated.- useFulfillmentGroup.setRetailFulfillmentPrice(Money)instead.voidFulfillmentGroupImpl.setShippingPrice(Money shippingPrice) voidNullOrderImpl.setSubTotal(Money subTotal) voidOrder.setSubTotal(Money subTotal) Sets the subtotal price for the order.voidOrderImpl.setSubTotal(Money subTotal) voidvoidvoidvoidUsed inTotalActivityto set the grand total of thisOrder.voidvoidFulfillmentGroup.setTotalFeeTax(Money totalFeeTax) Sets the total fee tax for this fulfillment group, which is the sum of the taxes on all fulfillment group fees.voidFulfillmentGroupImpl.setTotalFeeTax(Money totalFeeTax) voidNullOrderImpl.setTotalFulfillmentCharges(Money totalFulfillmentCharges) voidOrder.setTotalFulfillmentCharges(Money totalFulfillmentCharges) Set the total fulfillment cost of thisOrder.voidOrderImpl.setTotalFulfillmentCharges(Money totalFulfillmentCharges) voidFulfillmentGroup.setTotalFulfillmentGroupTax(Money totalFulfillmentGroupTax) Sets the total fulfillment group tax for this fulfillment group, which is the sum of the taxes on this fulfillment group itself (such as a shipping tax) only.voidFulfillmentGroupImpl.setTotalFulfillmentGroupTax(Money totalFulfillmentGroupTax) voidFulfillmentGroupItem.setTotalItemAmount(Money amount) voidFulfillmentGroupItemImpl.setTotalItemAmount(Money amount) voidFulfillmentGroup.setTotalItemTax(Money totalItemTax) Sets the total item tax for this fulfillment group, which is the sum of the taxes on all fulfillment group items.voidFulfillmentGroupImpl.setTotalItemTax(Money totalItemTax) voidFulfillmentGroupItem.setTotalItemTaxableAmount(Money amount) voidFulfillmentGroupItemImpl.setTotalItemTaxableAmount(Money taxableAmount) voidNullOrderImpl.setTotalShipping(Money totalShipping) voidOrder.setTotalShipping(Money totalShipping) Deprecated.- UseOrder.setTotalFulfillmentCharges(Money)instead.voidOrderImpl.setTotalShipping(Money totalShipping) voidFulfillmentGroup.setTotalTax(Money totalTax) Sets the total tax for this fulfillment group, which is the sum of the taxes on all fulfillment group items, fees, and taxes on this fulfillment group itself (such as a shipping tax).voidFulfillmentGroupFee.setTotalTax(Money totalTax) Sets the total tax for this fee, which is the sum of all taxes for this fee.voidFulfillmentGroupFeeImpl.setTotalTax(Money totalTax) voidFulfillmentGroupImpl.setTotalTax(Money totalTax) voidFulfillmentGroupItem.setTotalTax(Money totalTax) Sets the total tax for this item, which is the sum of all taxes for this item.voidFulfillmentGroupItemImpl.setTotalTax(Money totalTax) voidNullOrderImpl.setTotalTax(Money totalTax) voidOrder.setTotalTax(Money totalTax) Sets the total tax of this order, which is the sum of the taxes on all fulfillment groups.voidOrderImpl.setTotalTax(Money totalTax) Constructors in org.broadleafcommerce.core.order.domain with parameters of type Money -
Uses of Money in org.broadleafcommerce.core.order.fulfillment.domain
Methods in org.broadleafcommerce.core.order.fulfillment.domain that return MoneyModifier and TypeMethodDescriptionFixedPriceFulfillmentOption.getPrice()FixedPriceFulfillmentOptionImpl.getPrice()Methods in org.broadleafcommerce.core.order.fulfillment.domain with parameters of type Money -
Uses of Money in org.broadleafcommerce.core.order.service.call
Fields in org.broadleafcommerce.core.order.service.call declared as MoneyModifier and TypeFieldDescriptionprotected MoneyConfigurableOrderItemRequest.displayPriceprotected MoneyAbstractOrderItemRequest.retailPriceOverrideprotected MoneyBundleOrderItemRequest.retailPriceOverrideprotected MoneyProductBundleOrderItemRequest.retailPriceOverrideprotected MoneyAbstractOrderItemRequest.salePriceOverrideprotected MoneyBundleOrderItemRequest.salePriceOverrideprotected MoneyProductBundleOrderItemRequest.salePriceOverrideMethods in org.broadleafcommerce.core.order.service.call that return MoneyModifier and TypeMethodDescriptionConfigurableOrderItemRequest.getDisplayPrice()OrderItemRequestDTO.getOverrideRetailPrice()OrderItemRequestDTO.getOverrideSalePrice()AbstractOrderItemRequest.getRetailPriceOverride()BundleOrderItemRequest.getRetailPriceOverride()ProductBundleOrderItemRequest.getRetailPriceOverride()AbstractOrderItemRequest.getSalePriceOverride()BundleOrderItemRequest.getSalePriceOverride()ProductBundleOrderItemRequest.getSalePriceOverride()Methods in org.broadleafcommerce.core.order.service.call with parameters of type MoneyModifier and TypeMethodDescriptionvoidConfigurableOrderItemRequest.setDisplayPrice(Money displayPrice) voidOrderItemRequestDTO.setOverrideRetailPrice(Money overrideRetailPrice) voidOrderItemRequestDTO.setOverrideSalePrice(Money overrideSalePrice) voidAbstractOrderItemRequest.setRetailPriceOverride(Money retailPriceOverride) voidBundleOrderItemRequest.setRetailPriceOverride(Money retailPriceOverride) voidProductBundleOrderItemRequest.setRetailPriceOverride(Money retailPriceOverride) voidAbstractOrderItemRequest.setSalePriceOverride(Money salePriceOverride) voidBundleOrderItemRequest.setSalePriceOverride(Money salePriceOverride) voidProductBundleOrderItemRequest.setSalePriceOverride(Money salePriceOverride) Constructors in org.broadleafcommerce.core.order.service.call with parameters of type MoneyModifierConstructorDescriptionNonDiscreteOrderItemRequestDTO(String itemName, Integer quantity, Money overrideRetailPrice) -
Uses of Money in org.broadleafcommerce.core.payment.domain
Methods in org.broadleafcommerce.core.payment.domain that return MoneyModifier and TypeMethodDescriptionOrderPayment.getAmount()The amount that this payment is allotted for.OrderPaymentImpl.getAmount()PaymentTransaction.getAmount()Gets the amount that this transaction is forPaymentTransactionImpl.getAmount()PaymentResponseItem.getRemainingBalance()OrderPayment.getSuccessfulTransactionAmountForType(PaymentTransactionType type) Returns all of the transactions on this payment that were successful for the given type.OrderPaymentImpl.getSuccessfulTransactionAmountForType(PaymentTransactionType type) PaymentResponseItem.getTransactionAmount()The amount that the system processed.OrderPayment.getTransactionAmountForType(PaymentTransactionType type) Looks through all of the transactions for this payment and adds up the amount for the given transaction type.OrderPaymentImpl.getTransactionAmountForType(PaymentTransactionType type) Methods in org.broadleafcommerce.core.payment.domain with parameters of type MoneyModifier and TypeMethodDescriptionvoidThe amount that this payment is allotted for.voidvoidSets the amount of this transactionvoidvoidPaymentResponseItem.setRemainingBalance(Money remainingBalance) voidPaymentResponseItem.setTransactionAmount(Money amount) Sets the transaction amount. -
Uses of Money in org.broadleafcommerce.core.payment.service
Methods in org.broadleafcommerce.core.payment.service with parameters of type MoneyModifier and TypeMethodDescriptionOrderPaymentService.createOrderPaymentFromCustomerPayment(Order order, CustomerPayment customerPayment, Money amount) Create anOrderPaymentwith a singlePaymentTransactionType.UNCONFIRMEDPaymentTransactioninitialized with the passed in amount and order.OrderPaymentServiceImpl.createOrderPaymentFromCustomerPayment(Order order, CustomerPayment customerPayment, Money amount) OrderToPaymentRequestDTOService.translatePaymentTransaction(Money transactionAmount, PaymentTransaction paymentTransaction) Utilizes thePaymentTransaction.getAdditionalFields()map to populate necessary request parameters on the resultingPaymentRequestDTO.OrderToPaymentRequestDTOService.translatePaymentTransaction(Money transactionAmount, PaymentTransaction paymentTransaction, boolean autoCalculateFinalPaymentTotals) Important: As of 4.0.1-GA+, there is a requirement to automatically populate the transaction amount on the DTO only if coming from a "checkout payment flow".OrderToPaymentRequestDTOServiceImpl.translatePaymentTransaction(Money transactionAmount, PaymentTransaction paymentTransaction) OrderToPaymentRequestDTOServiceImpl.translatePaymentTransaction(Money transactionAmount, PaymentTransaction paymentTransaction, boolean autoCalculateFinalPaymentTotals) -
Uses of Money in org.broadleafcommerce.core.pricing.service.fulfillment.provider
Fields in org.broadleafcommerce.core.pricing.service.fulfillment.provider with type parameters of type MoneyModifier and TypeFieldDescriptionprotected Map<? extends FulfillmentOption,Money> FulfillmentEstimationResponse.fulfillmentOptionPricesMethods in org.broadleafcommerce.core.pricing.service.fulfillment.provider that return types with arguments of type MoneyModifier and TypeMethodDescriptionMap<? extends FulfillmentOption,Money> FulfillmentEstimationResponse.getFulfillmentOptionPrices()Method parameters in org.broadleafcommerce.core.pricing.service.fulfillment.provider with type arguments of type MoneyModifier and TypeMethodDescriptionvoidFulfillmentEstimationResponse.setFulfillmentOptionPrices(Map<? extends FulfillmentOption, Money> fulfillmentOptionPrices) -
Uses of Money in org.broadleafcommerce.core.pricing.service.tax.provider
Methods in org.broadleafcommerce.core.pricing.service.tax.provider with parameters of type MoneyModifier and TypeMethodDescriptionprotected voidSimpleTaxProvider.applyTaxFactor(List<TaxDetail> taxes, BigDecimal taxFactor, Money taxMultiplier) -
Uses of Money in org.broadleafcommerce.core.pricing.service.workflow
Methods in org.broadleafcommerce.core.pricing.service.workflow that return MoneyModifier and TypeMethodDescriptionprotected MoneyFulfillmentItemPricingActivity.calculateTotalPriceForAllFulfillmentItems(Order order) Returns the total price for all fulfillment items.protected MoneyFulfillmentItemPricingActivity.distributeOrderSavingsToItems(Order order, BigDecimal totalAllItems) Distributes the order adjustments (if any) to the individual fulfillment group items.protected MoneyFulfillmentItemPricingActivity.getOrderSavingsToDistribute(Order order) Returns the order adjustment value or zero if none existsFulfillmentItemPricingActivity.getUnitAmount(Money difference) Returns the unit amount (e.g. .01 for US)protected MoneyFulfillmentItemPricingActivity.sumItemAmount(List<FulfillmentGroupItem> items, Order order) protected MoneyFulfillmentItemPricingActivity.sumTaxAmount(List<FulfillmentGroupItem> items, Order order) Methods in org.broadleafcommerce.core.pricing.service.workflow with parameters of type MoneyModifier and TypeMethodDescriptionlongFulfillmentItemPricingActivity.applyDifferenceToAmount(FulfillmentGroupItem fgItem, long numApplicationsNeeded, Money unitAmount) longFulfillmentItemPricingActivity.applyDifferenceToProratedAdj(FulfillmentGroupItem fgItem, long numApplicationsNeeded, Money unitAmount) longFulfillmentItemPricingActivity.applyTaxDifference(FulfillmentGroupItem fgItem, long numApplicationsNeeded, Money unitAmount) longFulfillmentItemPricingActivity.countNumberOfUnits(Money difference) protected voidFulfillmentItemPricingActivity.fixOrderSavingsRoundingIssues(Order order, Money totalOrderAdjustmentDistributed) It is possible due to rounding that the order adjustments do not match the total.FulfillmentItemPricingActivity.getUnitAmount(Money difference) Returns the unit amount (e.g. .01 for US) -
Uses of Money in org.broadleafcommerce.core.web.processor
Method parameters in org.broadleafcommerce.core.web.processor with type arguments of type MoneyModifier and TypeMethodDescriptionProductOptionsProcessorExtensionHandler.modifyPriceForOverrides(Sku targetSku, ExtensionResultHolder<Money> price, Long addOnXrefId)
OrderItem.getAverageAdjustmentValue()instead but this method is of little or no value in most practical applications unless only simple promotions are being used.