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 Money
BroadleafCurrencyUtils.getMoney
(BigDecimal amount) static Money
BroadleafCurrencyUtils.getMoney
(BigDecimal amount, BroadleafCurrency currency) static Money
BroadleafCurrencyUtils.getMoney
(BroadleafCurrency currency) static Money
BroadleafCurrencyUtils.getUnitAmount
(BroadleafCurrency blCurrency) Returns the unit amount (e.g. .01 for US and all other 2 decimal currencies)static Money
BroadleafCurrencyUtils.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 int
BroadleafCurrencyUtils.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 Currency
BroadleafCurrencyUtils.getCurrency
(Money money) static Money
BroadleafCurrencyUtils.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 Money
CurrencyConversionService.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 Money
static Money
Money.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 Money
Money.trimUnnecessaryScaleToCurrency
(Money money) Money.zero()
static Money
static Money
Methods in org.broadleafcommerce.common.money with parameters of type MoneyModifier and TypeMethodDescriptionstatic Money
int
CurrencyConversionService.convertCurrency
(Money source, Currency destinationCurrency, int destinationScale) Converts the given Money into the destination.boolean
Money.greaterThan
(Money other) boolean
Money.greaterThanOrEqual
(Money other) boolean
boolean
Money.lessThanOrEqual
(Money other) static Money
static Money
static BigDecimal
static Currency
Money.toCurrency
(Money money) static Money
Money.trimUnnecessaryScaleToCurrency
(Money money) -
Uses of Money in org.broadleafcommerce.common.payment.dto
Fields in org.broadleafcommerce.common.payment.dto declared as MoneyModifier and TypeFieldDescriptionprotected Money
PaymentResponseDTO.amount
If 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 String
BLCMoneyFormatUtils.formatPrice
(Money price) Reformats the given price field for front-end display.static String
BLCMoneyFormatUtils.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 Money
ProductImpl.getRetailPriceInternal()
protected Money
SkuImpl.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 Money
ProductImpl.getSalePriceInternal()
Methods in org.broadleafcommerce.core.catalog.domain with parameters of type MoneyModifier and TypeMethodDescriptionvoid
Sets the amount to charge for this surchargevoid
void
Sets the purchase cost for this Sku.void
void
Sku.setListPrice
(Money listPrice) Deprecated.void
SkuImpl.setListPrice
(Money listPrice) Deprecated.void
ProductOptionValue.setPriceAdjustment
(Money priceAdjustment) Gets the price adjustment associated with this value.void
ProductOptionValueImpl.setPriceAdjustment
(Money priceAdjustment) void
Sku.setRetailPrice
(Money retailPrice) Sets the retail price for the Sku.void
SkuImpl.setRetailPrice
(Money retailPrice) void
Sku.setSalePrice
(Money salePrice) Sets the the Sale Price of the Sku.void
SkuBundleItem.setSalePrice
(Money salePrice) Deprecated.Allows for overriding the related Product's sale price.void
SkuBundleItemImpl.setSalePrice
(Money salePrice) Deprecated.void
SkuImpl.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 Money
DynamicSkuPrices.priceAdjustment
protected Money
DefaultDynamicSkuPricingInvocationHandler.retailPrice
protected Money
DynamicSkuPrices.retailPrice
protected Money
DefaultDynamicSkuPricingInvocationHandler.salePrice
protected Money
DynamicSkuPrices.salePrice
Methods 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.void
DynamicSkuPrices.setPriceAdjustment
(Money priceAdjustment) void
DynamicSkuPrices.setRetailPrice
(Money retailPrice) void
DynamicSkuPrices.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 Money
OrderItemAdjustmentImpl.retailValue
protected Money
OrderItemPriceDetailAdjustmentImpl.retailValue
protected Money
OrderItemAdjustmentImpl.salesValue
protected Money
OrderItemPriceDetailAdjustmentImpl.salesValue
Methods 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 TypeMethodDescriptionvoid
CandidateFulfillmentGroupOffer.setDiscountedPrice
(Money discountedPrice) void
CandidateFulfillmentGroupOfferImpl.setDiscountedPrice
(Money discountedPrice) void
CandidateItemOffer.setDiscountedPrice
(Money discountedPrice) void
CandidateItemOfferImpl.setDiscountedPrice
(Money discountedPrice) void
CandidateOrderOffer.setDiscountedPrice
(Money discountedPrice) void
CandidateOrderOfferImpl.setDiscountedPrice
(Money discountedPrice) void
Offer.setOrderMinSubTotal
(Money orderMinSubTotal) void
OfferImpl.setOrderMinSubTotal
(Money orderMinSubTotal) void
Offer.setQualifyingItemSubTotal
(Money qualifyingItemSubtotal) void
OfferImpl.setQualifyingItemSubTotal
(Money qualifyingItemSubTotal) void
OrderItemAdjustment.setRetailPriceValue
(Money retailPriceValue) void
OrderItemAdjustmentImpl.setRetailPriceValue
(Money retailPriceValue) void
OrderItemPriceDetailAdjustment.setRetailPriceValue
(Money retailPriceValue) void
OrderItemPriceDetailAdjustmentImpl.setRetailPriceValue
(Money retailPriceValue) void
OrderItemAdjustment.setSalesPriceValue
(Money salesPriceValue) void
OrderItemAdjustmentImpl.setSalesPriceValue
(Money salesPriceValue) void
OrderItemPriceDetailAdjustment.setSalesPriceValue
(Money salesPriceValue) void
OrderItemPriceDetailAdjustmentImpl.setSalesPriceValue
(Money salesPriceValue) void
Offer.setTargetMinSubTotal
(Money targetMinSubTotal) void
OfferImpl.setTargetMinSubTotal
(Money targetMinSubTotal) void
void
void
void
void
void
void
-
Uses of Money in org.broadleafcommerce.core.offer.service
Methods in org.broadleafcommerce.core.offer.service with parameters of type MoneyModifier and TypeMethodDescriptionprotected boolean
OfferServiceUtilitiesImpl.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 TypeMethodDescriptionvoid
void
FulfillmentGroupOfferPotential.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 Money
PromotableFulfillmentGroupImpl.adjustedPrice
protected Money
PromotableOrderItemPriceDetailImpl.adjustedTotal
protected Money
PromotableFulfillmentGroupAdjustmentImpl.adjustmentValue
protected Money
PromotableOrderAdjustmentImpl.adjustmentValue
protected Money
PromotableOrderItemPriceDetailAdjustmentImpl.adjustmentValue
protected Money
PromotableCandidateItemOfferImpl.originalPrice
protected Money
PromotableCandidateItemOfferImpl.potentialSavings
protected Money
PromotableCandidateOrderOfferImpl.potentialSavings
protected Money
PromotableCandidateItemOfferImpl.potentialSavingsQtyOne
protected Money
PromotableFulfillmentGroupAdjustmentImpl.retailAdjustmentValue
protected Money
PromotableOrderItemPriceDetailAdjustmentImpl.retailAdjustmentValue
protected Money
PromotableFulfillmentGroupAdjustmentImpl.saleAdjustmentValue
protected Money
PromotableOrderItemPriceDetailAdjustmentImpl.saleAdjustmentValue
Methods in org.broadleafcommerce.core.offer.service.discount.domain that return MoneyModifier and TypeMethodDescriptionprotected Money
PromotableOrderItemPriceDetailImpl.buildPreciseMoneyFromAdjustment
(Money original, Money adjustment) protected Money
PromotableOrderItemPriceDetailImpl.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 Money
PromotableFulfillmentGroupImpl.calculateRetailAdjustmentPrice()
PromotableOrderItemPriceDetailImpl.calculateRetailAdjustmentUnitPrice()
protected Money
PromotableFulfillmentGroupImpl.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 Money
PromotableFulfillmentGroupAdjustmentImpl.computeAdjustmentValue
(Money currentPriceDetailValue) PromotableOfferUtility.computeAdjustmentValue
(PromotableCandidateFulfillmentGroupOffer promotableCandidateFulfillmentGroupOffer, PromotableFulfillmentGroup promotableFulfillmentGroup, boolean allowSalePrice) PromotableOfferUtility.computeAdjustmentValue
(PromotableCandidateItemOffer promotableCandidateItemOffer, PromotableOrderItemPriceDetail orderItemPriceDetail, boolean allowSalePrice) protected Money
PromotableOfferUtilityImpl.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 Money
PromotableCandidateFulfillmentGroupOfferImpl.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 Money
PromotableFulfillmentGroupImpl.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 Money
PromotableOrderItemPriceDetailImpl.buildPreciseMoneyFromAdjustment
(Money original, Money adjustment) protected Money
PromotableFulfillmentGroupAdjustmentImpl.computeAdjustmentValue
(Money currentPriceDetailValue) protected Money
PromotableOfferUtilityImpl.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) void
PromotableCandidateItemOffer.setOriginalPrice
(Money originalPrice) void
PromotableCandidateItemOfferImpl.setOriginalPrice
(Money originalPrice) void
PromotableCandidateItemOffer.setPotentialSavings
(Money savings) void
PromotableCandidateItemOfferImpl.setPotentialSavings
(Money potentialSavings) void
PromotableCandidateItemOffer.setPotentialSavingsQtyOne
(Money potentialSavingsQtyOne) void
PromotableCandidateItemOfferImpl.setPotentialSavingsQtyOne
(Money potentialSavingsQtyOne) void
PromotableOrder.setTotalFufillmentCharges
(Money totalFulfillmentCharges) Sets the total fulfillmentCharges the order.void
PromotableOrderImpl.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 Money
ItemOfferProcessorImpl.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 BigDecimal
ItemOfferProcessorImpl.calculatePercent
(Money itemSubTotal, Money itemSavings) protected BigDecimal
ItemOfferProcessorImpl.calculateWeightedPercent
(PromotionDiscount discount, PromotableOrderItem item, Money itemSavings) protected boolean
AbstractBaseProcessor.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 Money
BundleOrderItemFeePriceImpl.convertToMoney
(BigDecimal amount) protected Money
BundleOrderItemImpl.convertToMoney
(BigDecimal amount) Deprecated.protected Money
DiscreteOrderItemFeePriceImpl.convertToMoney
(BigDecimal amount) protected Money
DiscreteOrderItemImpl.convertToMoney
(BigDecimal amount) protected Money
FulfillmentGroupItemImpl.convertToMoney
(BigDecimal amount) protected Money
OrderItemImpl.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 theOrder
at 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 thisOrder
which 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 theOrderPayment
already 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 TypeMethodDescriptionvoid
void
void
void
void
void
void
Sets the tax amountvoid
void
BundleOrderItem.setBaseRetailPrice
(Money baseRetailPrice) Deprecated.void
BundleOrderItemImpl.setBaseRetailPrice
(Money baseRetailPrice) Deprecated.void
DiscreteOrderItem.setBaseRetailPrice
(Money baseRetailPrice) void
DiscreteOrderItemImpl.setBaseRetailPrice
(Money baseRetailPrice) void
BundleOrderItem.setBaseSalePrice
(Money baseSalePrice) Deprecated.void
BundleOrderItemImpl.setBaseSalePrice
(Money baseSalePrice) Deprecated.void
DiscreteOrderItem.setBaseSalePrice
(Money baseSalePrice) void
DiscreteOrderItemImpl.setBaseSalePrice
(Money baseSalePrice) void
FulfillmentGroup.setFulfillmentPrice
(Money fulfillmentPrice) Sets the price to charge for this fulfillmentGroup.void
FulfillmentGroupImpl.setFulfillmentPrice
(Money fulfillmentPrice) void
FulfillmentGroup.setMerchandiseTotal
(Money merchandiseTotal) void
FulfillmentGroupImpl.setMerchandiseTotal
(Money merchandiseTotal) void
Calling this method is the same as calling the following:void
void
FulfillmentGroupItem.setProratedOrderAdjustmentAmount
(Money amount) void
FulfillmentGroupItemImpl.setProratedOrderAdjustmentAmount
(Money proratedOrderAdjustment) void
FulfillmentGroup.setRetailFulfillmentPrice
(Money fulfillmentPrice) Sets the retail price for this fulfillmentGroup.void
FulfillmentGroupImpl.setRetailFulfillmentPrice
(Money retailFulfillmentPrice) void
OrderItem.setRetailPrice
(Money retailPrice) Calling this method will manually set the retailPrice.void
OrderItemImpl.setRetailPrice
(Money retailPrice) void
FulfillmentGroup.setRetailShippingPrice
(Money retailShippingPrice) Deprecated.- useFulfillmentGroup.setRetailFulfillmentPrice(Money)
instead.void
FulfillmentGroupImpl.setRetailShippingPrice
(Money retailShippingPrice) void
FulfillmentGroup.setSaleFulfillmentPrice
(Money fulfillmentPrice) Sets the sale price for this fulfillmentGroup.void
FulfillmentGroupImpl.setSaleFulfillmentPrice
(Money saleFulfillmentPrice) void
OrderItem.setSalePrice
(Money salePrice) Calling this method will manually set the salePrice.void
OrderItemImpl.setSalePrice
(Money salePrice) void
FulfillmentGroup.setSaleShippingPrice
(Money saleShippingPrice) Deprecated.- useFulfillmentGroup.setSaleFulfillmentPrice(Money)
instead.void
FulfillmentGroupImpl.setSaleShippingPrice
(Money saleShippingPrice) void
FulfillmentGroup.setShippingPrice
(Money shippingPrice) Deprecated.- useFulfillmentGroup.setRetailFulfillmentPrice(Money)
instead.void
FulfillmentGroupImpl.setShippingPrice
(Money shippingPrice) void
NullOrderImpl.setSubTotal
(Money subTotal) void
Order.setSubTotal
(Money subTotal) Sets the subtotal price for the order.void
OrderImpl.setSubTotal
(Money subTotal) void
void
void
void
Used inTotalActivity
to set the grand total of thisOrder
.void
void
FulfillmentGroup.setTotalFeeTax
(Money totalFeeTax) Sets the total fee tax for this fulfillment group, which is the sum of the taxes on all fulfillment group fees.void
FulfillmentGroupImpl.setTotalFeeTax
(Money totalFeeTax) void
NullOrderImpl.setTotalFulfillmentCharges
(Money totalFulfillmentCharges) void
Order.setTotalFulfillmentCharges
(Money totalFulfillmentCharges) Set the total fulfillment cost of thisOrder
.void
OrderImpl.setTotalFulfillmentCharges
(Money totalFulfillmentCharges) void
FulfillmentGroup.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.void
FulfillmentGroupImpl.setTotalFulfillmentGroupTax
(Money totalFulfillmentGroupTax) void
FulfillmentGroupItem.setTotalItemAmount
(Money amount) void
FulfillmentGroupItemImpl.setTotalItemAmount
(Money amount) void
FulfillmentGroup.setTotalItemTax
(Money totalItemTax) Sets the total item tax for this fulfillment group, which is the sum of the taxes on all fulfillment group items.void
FulfillmentGroupImpl.setTotalItemTax
(Money totalItemTax) void
FulfillmentGroupItem.setTotalItemTaxableAmount
(Money amount) void
FulfillmentGroupItemImpl.setTotalItemTaxableAmount
(Money taxableAmount) void
NullOrderImpl.setTotalShipping
(Money totalShipping) void
Order.setTotalShipping
(Money totalShipping) Deprecated.- UseOrder.setTotalFulfillmentCharges(Money)
instead.void
OrderImpl.setTotalShipping
(Money totalShipping) void
FulfillmentGroup.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).void
FulfillmentGroupFee.setTotalTax
(Money totalTax) Sets the total tax for this fee, which is the sum of all taxes for this fee.void
FulfillmentGroupFeeImpl.setTotalTax
(Money totalTax) void
FulfillmentGroupImpl.setTotalTax
(Money totalTax) void
FulfillmentGroupItem.setTotalTax
(Money totalTax) Sets the total tax for this item, which is the sum of all taxes for this item.void
FulfillmentGroupItemImpl.setTotalTax
(Money totalTax) void
NullOrderImpl.setTotalTax
(Money totalTax) void
Order.setTotalTax
(Money totalTax) Sets the total tax of this order, which is the sum of the taxes on all fulfillment groups.void
OrderImpl.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 Money
ConfigurableOrderItemRequest.displayPrice
protected Money
AbstractOrderItemRequest.retailPriceOverride
protected Money
BundleOrderItemRequest.retailPriceOverride
protected Money
ProductBundleOrderItemRequest.retailPriceOverride
protected Money
AbstractOrderItemRequest.salePriceOverride
protected Money
BundleOrderItemRequest.salePriceOverride
protected Money
ProductBundleOrderItemRequest.salePriceOverride
Methods 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 TypeMethodDescriptionvoid
ConfigurableOrderItemRequest.setDisplayPrice
(Money displayPrice) void
OrderItemRequestDTO.setOverrideRetailPrice
(Money overrideRetailPrice) void
OrderItemRequestDTO.setOverrideSalePrice
(Money overrideSalePrice) void
AbstractOrderItemRequest.setRetailPriceOverride
(Money retailPriceOverride) void
BundleOrderItemRequest.setRetailPriceOverride
(Money retailPriceOverride) void
ProductBundleOrderItemRequest.setRetailPriceOverride
(Money retailPriceOverride) void
AbstractOrderItemRequest.setSalePriceOverride
(Money salePriceOverride) void
BundleOrderItemRequest.setSalePriceOverride
(Money salePriceOverride) void
ProductBundleOrderItemRequest.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 TypeMethodDescriptionvoid
The amount that this payment is allotted for.void
void
Sets the amount of this transactionvoid
void
PaymentResponseItem.setRemainingBalance
(Money remainingBalance) void
PaymentResponseItem.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 anOrderPayment
with a singlePaymentTransactionType.UNCONFIRMED
PaymentTransaction
initialized 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.fulfillmentOptionPrices
Methods 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 TypeMethodDescriptionvoid
FulfillmentEstimationResponse.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 void
SimpleTaxProvider.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 Money
FulfillmentItemPricingActivity.calculateTotalPriceForAllFulfillmentItems
(Order order) Returns the total price for all fulfillment items.protected Money
FulfillmentItemPricingActivity.distributeOrderSavingsToItems
(Order order, BigDecimal totalAllItems) Distributes the order adjustments (if any) to the individual fulfillment group items.protected Money
FulfillmentItemPricingActivity.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 Money
FulfillmentItemPricingActivity.sumItemAmount
(List<FulfillmentGroupItem> items, Order order) protected Money
FulfillmentItemPricingActivity.sumTaxAmount
(List<FulfillmentGroupItem> items, Order order) Methods in org.broadleafcommerce.core.pricing.service.workflow with parameters of type MoneyModifier and TypeMethodDescriptionlong
FulfillmentItemPricingActivity.applyDifferenceToAmount
(FulfillmentGroupItem fgItem, long numApplicationsNeeded, Money unitAmount) long
FulfillmentItemPricingActivity.applyDifferenceToProratedAdj
(FulfillmentGroupItem fgItem, long numApplicationsNeeded, Money unitAmount) long
FulfillmentItemPricingActivity.applyTaxDifference
(FulfillmentGroupItem fgItem, long numApplicationsNeeded, Money unitAmount) long
FulfillmentItemPricingActivity.countNumberOfUnits
(Money difference) protected void
FulfillmentItemPricingActivity.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.