Modifier and Type | Method and Description |
---|---|
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.
|
static Money |
BroadleafCurrencyUtils.getUnitAmount(Money difference)
Returns the unit amount (e.g.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
static Currency |
BroadleafCurrencyUtils.getCurrency(Money money) |
static Money |
BroadleafCurrencyUtils.getUnitAmount(Money difference)
Returns the unit amount (e.g.
|
Modifier and Type | Field and Description |
---|---|
static Money |
Money.ZERO |
Modifier and Type | Method and Description |
---|---|
Money |
Money.abs() |
static Money |
Money.abs(Money money) |
Money |
Money.add(Money other) |
Money |
CurrencyConversionService.convertCurrency(Money source,
Currency destinationCurrency,
int destinationScale)
Converts the given Money into the destination.
|
Money |
Money.divide(BigDecimal divisor) |
Money |
Money.divide(BigDecimal divisor,
RoundingMode roundingMode) |
Money |
Money.divide(double amount) |
Money |
Money.divide(double amount,
RoundingMode roundingMode) |
Money |
Money.divide(int amount) |
Money |
Money.divide(int amount,
RoundingMode roundingMode) |
Money |
Money.max(Money other) |
static Money |
Money.max(Money left,
Money right) |
Money |
Money.min(Money other) |
static Money |
Money.min(Money left,
Money right) |
Money |
Money.multiply(BigDecimal multiplier) |
Money |
Money.multiply(double amount) |
Money |
Money.multiply(int amount) |
Money |
Money.negate() |
Money |
Money.subtract(Money other) |
Money |
Money.zero() |
static Money |
Money.zero(Currency currency) |
static Money |
Money.zero(String currencyCode) |
Modifier and Type | Method and Description |
---|---|
static Money |
Money.abs(Money money) |
Money |
Money.add(Money other) |
int |
Money.compareTo(Money other) |
Money |
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 |
Money.lessThan(Money other) |
boolean |
Money.lessThanOrEqual(Money other) |
Money |
Money.max(Money other) |
static Money |
Money.max(Money left,
Money right) |
Money |
Money.min(Money other) |
static Money |
Money.min(Money left,
Money right) |
Money |
Money.subtract(Money other) |
static BigDecimal |
Money.toAmount(Money money) |
static Currency |
Money.toCurrency(Money money) |
Modifier and Type | Method and Description |
---|---|
Money |
SkuFeeImpl.getAmount() |
Money |
SkuFee.getAmount()
Gets the amount to charge for this surcharge
|
Money |
ProductBundleImpl.getBundleItemsRetailPrice() |
Money |
ProductBundle.getBundleItemsRetailPrice() |
Money |
ProductBundleImpl.getBundleItemsSalePrice() |
Money |
ProductBundle.getBundleItemsSalePrice() |
Money |
SkuBundleItemImpl.getDynamicSalePrice(Sku sku,
BigDecimal salePrice) |
Money |
SkuImpl.getListPrice() |
Money |
Sku.getListPrice()
Deprecated.
|
Money |
ProductOptionValueImpl.getPriceAdjustment() |
Money |
ProductOptionValue.getPriceAdjustment()
Gets the price adjustment associated with this value.
|
Money |
SkuImpl.getProductOptionValueAdjustments() |
Money |
Sku.getProductOptionValueAdjustments()
This is the sum total of the priceAdjustments from the associated ProductOptionValues
|
Money |
SkuImpl.getRetailPrice() |
Money |
SkuBundleItemImpl.getRetailPrice() |
Money |
SkuBundleItem.getRetailPrice() |
Money |
Sku.getRetailPrice()
Returns the Retail Price of the Sku.
|
Money |
ProductBundleImpl.getRetailPrice() |
Money |
SkuImpl.getSalePrice() |
Money |
SkuBundleItemImpl.getSalePrice() |
Money |
SkuBundleItem.getSalePrice() |
Money |
Sku.getSalePrice()
Returns the Sale Price of the Sku.
|
Money |
ProductBundleImpl.getSalePrice() |
Modifier and Type | Method and Description |
---|---|
void |
SkuFeeImpl.setAmount(Money amount) |
void |
SkuFee.setAmount(Money amount)
Sets the amount to charge for this surcharge
|
void |
SkuImpl.setListPrice(Money listPrice) |
void |
Sku.setListPrice(Money listPrice)
Deprecated.
|
void |
ProductOptionValueImpl.setPriceAdjustment(Money priceAdjustment) |
void |
ProductOptionValue.setPriceAdjustment(Money priceAdjustment)
Gets the price adjustment associated with this value.
|
void |
SkuImpl.setRetailPrice(Money retailPrice) |
void |
Sku.setRetailPrice(Money retailPrice)
Sets the retail price for the Sku.
|
void |
SkuImpl.setSalePrice(Money salePrice) |
void |
SkuBundleItemImpl.setSalePrice(Money salePrice) |
void |
SkuBundleItem.setSalePrice(Money salePrice)
Allows for overriding the related Product's sale price.
|
void |
Sku.setSalePrice(Money salePrice)
Sets the the Sale Price of the Sku.
|
Modifier and Type | Field and Description |
---|---|
protected Money |
DynamicSkuPrices.priceAdjustment |
protected Money |
DynamicSkuPrices.retailPrice |
protected Money |
DynamicSkuPrices.salePrice |
Modifier and Type | Method and Description |
---|---|
Money |
DynamicSkuPrices.getPriceAdjustment() |
Money |
DynamicSkuPrices.getRetailPrice() |
Money |
DynamicSkuPrices.getSalePrice() |
Modifier and Type | Method and Description |
---|---|
DynamicSkuPrices |
DynamicSkuPricingService.getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl,
Money priceAdjustment,
HashMap skuPricingConsiderationContext)
Execute dynamic pricing on the price of a product option value.
|
DynamicSkuPrices |
DefaultDynamicSkuPricingServiceImpl.getPriceAdjustment(ProductOptionValueImpl productOptionValueImpl,
Money priceAdjustment,
HashMap skuPricingConsiderationContext) |
void |
DynamicSkuPrices.setPriceAdjustment(Money priceAdjustment) |
void |
DynamicSkuPrices.setRetailPrice(Money retailPrice) |
void |
DynamicSkuPrices.setSalePrice(Money salePrice) |
Constructor and Description |
---|
DefaultDynamicSkuPricingInvocationHandler(Sku sku,
Money adjustments)
Used to add ProductOptionValue price adjustments to the proxy Sku
|
Modifier and Type | Field and Description |
---|---|
protected Money |
OrderItemPriceDetailAdjustmentImpl.retailValue |
protected Money |
OrderItemAdjustmentImpl.retailValue |
protected Money |
OrderItemPriceDetailAdjustmentImpl.salesValue |
protected Money |
OrderItemAdjustmentImpl.salesValue |
Modifier and Type | Method and Description |
---|---|
Money |
CandidateOrderOfferImpl.getDiscountedPrice() |
Money |
CandidateOrderOffer.getDiscountedPrice() |
Money |
CandidateItemOfferImpl.getDiscountedPrice() |
Money |
CandidateItemOffer.getDiscountedPrice() |
Money |
CandidateFulfillmentGroupOfferImpl.getDiscountedPrice() |
Money |
CandidateFulfillmentGroupOffer.getDiscountedPrice() |
Money |
OfferImpl.getQualifyingItemSubTotal() |
Money |
Offer.getQualifyingItemSubTotal()
Indicates the amount of items that must be purchased for this offer to
be considered for this order.
|
Money |
OrderItemPriceDetailAdjustmentImpl.getRetailPriceValue() |
Money |
OrderItemPriceDetailAdjustment.getRetailPriceValue()
Value of this adjustment relative to the retail price.
|
Money |
OrderItemAdjustmentImpl.getRetailPriceValue() |
Money |
OrderItemAdjustment.getRetailPriceValue()
Value of this adjustment relative to the retail price.
|
Money |
OrderItemPriceDetailAdjustmentImpl.getSalesPriceValue() |
Money |
OrderItemPriceDetailAdjustment.getSalesPriceValue()
Value of this adjustment relative to the sale price.
|
Money |
OrderItemAdjustmentImpl.getSalesPriceValue() |
Money |
OrderItemAdjustment.getSalesPriceValue()
Value of this adjustment relative to the sale price.
|
Money |
OrderItemPriceDetailAdjustmentImpl.getValue() |
Money |
OrderItemAdjustmentImpl.getValue() |
Money |
OrderAdjustmentImpl.getValue() |
Money |
FulfillmentGroupAdjustmentImpl.getValue() |
Money |
Adjustment.getValue() |
Modifier and Type | Method and Description |
---|---|
void |
CandidateOrderOfferImpl.setDiscountedPrice(Money discountedPrice) |
void |
CandidateOrderOffer.setDiscountedPrice(Money discountedPrice) |
void |
CandidateItemOfferImpl.setDiscountedPrice(Money discountedPrice) |
void |
CandidateItemOffer.setDiscountedPrice(Money discountedPrice) |
void |
CandidateFulfillmentGroupOfferImpl.setDiscountedPrice(Money discountedPrice) |
void |
CandidateFulfillmentGroupOffer.setDiscountedPrice(Money discountedPrice) |
void |
OfferImpl.setQualifyingItemSubTotal(Money qualifyingItemSubTotal) |
void |
Offer.setQualifyingItemSubTotal(Money qualifyingItemSubtotal) |
void |
OrderItemPriceDetailAdjustmentImpl.setRetailPriceValue(Money retailPriceValue) |
void |
OrderItemPriceDetailAdjustment.setRetailPriceValue(Money retailPriceValue) |
void |
OrderItemAdjustmentImpl.setRetailPriceValue(Money retailPriceValue) |
void |
OrderItemAdjustment.setRetailPriceValue(Money retailPriceValue) |
void |
OrderItemPriceDetailAdjustmentImpl.setSalesPriceValue(Money salesPriceValue) |
void |
OrderItemPriceDetailAdjustment.setSalesPriceValue(Money salesPriceValue) |
void |
OrderItemAdjustmentImpl.setSalesPriceValue(Money salesPriceValue) |
void |
OrderItemAdjustment.setSalesPriceValue(Money salesPriceValue) |
void |
OrderItemPriceDetailAdjustmentImpl.setValue(Money value) |
void |
OrderItemAdjustmentImpl.setValue(Money value) |
void |
OrderAdjustmentImpl.setValue(Money value) |
void |
FulfillmentGroupAdjustmentImpl.setValue(Money value) |
void |
FulfillmentGroupAdjustment.setValue(Money value) |
void |
Adjustment.setValue(Money value) |
Modifier and Type | Field and Description |
---|---|
protected Money |
FulfillmentGroupOfferPotential.totalSavings |
Modifier and Type | Method and Description |
---|---|
Money |
FulfillmentGroupOfferPotential.getTotalSavings() |
Modifier and Type | Method and Description |
---|---|
void |
FulfillmentGroupOfferPotential.setTotalSavings(Money totalSavings) |
Modifier and Type | Field and Description |
---|---|
protected Money |
PromotableFulfillmentGroupImpl.adjustedPrice |
protected Money |
PromotableOrderItemPriceDetailImpl.adjustedTotal |
protected Money |
PromotableOrderItemPriceDetailAdjustmentImpl.adjustmentValue |
protected Money |
PromotableOrderAdjustmentImpl.adjustmentValue |
protected Money |
PromotableFulfillmentGroupAdjustmentImpl.adjustmentValue |
protected Money |
PromotableCandidateOrderOfferImpl.potentialSavings |
protected Money |
PromotableCandidateItemOfferImpl.potentialSavings |
protected Money |
PromotableCandidateItemOfferImpl.potentialSavingsQtyOne |
protected Money |
PromotableOrderItemPriceDetailAdjustmentImpl.retailAdjustmentValue |
protected Money |
PromotableFulfillmentGroupAdjustmentImpl.retailAdjustmentValue |
protected Money |
PromotableOrderItemPriceDetailAdjustmentImpl.saleAdjustmentValue |
protected Money |
PromotableFulfillmentGroupAdjustmentImpl.saleAdjustmentValue |
Modifier and Type | Method and Description |
---|---|
protected Money |
PromotableOrderItemPriceDetailImpl.calculateAdjustmentsUnitValue() |
Money |
PromotableOrderImpl.calculateItemAdjustmentTotal() |
Money |
PromotableOrder.calculateItemAdjustmentTotal()
Calculates the total adjustment to be received from the item adjustments.
|
Money |
PromotableOrderItemPriceDetailImpl.calculateItemUnitPriceWithAdjustments(boolean allowSalePrice) |
Money |
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.
|
Money |
PromotableOrderImpl.calculateOrderAdjustmentTotal() |
Money |
PromotableOrder.calculateOrderAdjustmentTotal()
Calculates the total adjustment to be received from the order adjustments.
|
Money |
PromotableFulfillmentGroupImpl.calculatePriceWithAdjustments(boolean useSalePrice) |
Money |
PromotableFulfillmentGroup.calculatePriceWithAdjustments(boolean useSalePrice)
Calculates the price with adjustments.
|
Money |
PromotableFulfillmentGroupImpl.calculatePriceWithoutAdjustments() |
Money |
PromotableFulfillmentGroup.calculatePriceWithoutAdjustments()
Returns the price of this fulfillment group if no adjustments were applied.
|
protected Money |
PromotableFulfillmentGroupImpl.calculateRetailAdjustmentPrice() |
Money |
PromotableOrderItemPriceDetailImpl.calculateRetailAdjustmentUnitPrice() |
protected Money |
PromotableFulfillmentGroupImpl.calculateSaleAdjustmentPrice() |
Money |
PromotableOrderItemPriceDetailImpl.calculateSaleAdjustmentUnitPrice() |
Money |
PromotableCandidateItemOfferImpl.calculateSavingsForOrderItem(PromotableOrderItem orderItem,
int qtyToReceiveSavings) |
Money |
PromotableCandidateItemOffer.calculateSavingsForOrderItem(PromotableOrderItem orderItem,
int qtyToReceiveSavings)
Public only for unit testing - not intended to be called
|
Money |
PromotableOrderImpl.calculateSubtotalWithAdjustments() |
Money |
PromotableOrder.calculateSubtotalWithAdjustments()
Returns the price of the order with adjustments.
|
Money |
PromotableOrderImpl.calculateSubtotalWithoutAdjustments() |
Money |
PromotableOrder.calculateSubtotalWithoutAdjustments()
Returns the price of the order without adjustments.
|
Money |
PromotableOrderItemPriceDetailImpl.calculateTotalAdjustmentValue() |
Money |
PromotableOrderItemPriceDetail.calculateTotalAdjustmentValue()
Returns the total adjustment value as the sum of the adjustments times the
quantity represented by this PriceDetail
|
Money |
PromotableOrderItemImpl.calculateTotalAdjustmentValue() |
Money |
PromotableOrderItem.calculateTotalAdjustmentValue()
Returns the value of all adjustments.
|
Money |
PromotableOrderItemImpl.calculateTotalWithAdjustments() |
Money |
PromotableOrderItem.calculateTotalWithAdjustments()
Returns the final total for this item taking into account the finalized
adjustments.
|
Money |
PromotableOrderItemImpl.calculateTotalWithoutAdjustments() |
Money |
PromotableOrderItem.calculateTotalWithoutAdjustments()
Returns the total for this item if not adjustments applied.
|
protected Money |
PromotableFulfillmentGroupAdjustmentImpl.computeAdjustmentValue(Money currentPriceDetailValue) |
static Money |
PromotableOfferUtility.computeAdjustmentValue(Money currentPriceDetailValue,
BigDecimal offerUnitValue,
OfferHolder offerHolder,
PromotionRounding rounding) |
Money |
PromotableCandidateFulfillmentGroupOfferImpl.computeDiscountedAmount() |
Money |
PromotableCandidateFulfillmentGroupOffer.computeDiscountedAmount() |
Money |
PromotableOrderItemPriceDetailAdjustmentImpl.getAdjustmentValue() |
Money |
PromotableOrderItemPriceDetailAdjustment.getAdjustmentValue()
Returns the value of this adjustment.
|
Money |
PromotableOrderAdjustmentImpl.getAdjustmentValue() |
Money |
PromotableOrderAdjustment.getAdjustmentValue()
Returns the value of this adjustment
|
Money |
PromotableFulfillmentGroupAdjustmentImpl.getAdjustmentValue() |
Money |
PromotableFulfillmentGroupAdjustment.getAdjustmentValue()
Returns the value of this adjustment
|
protected Money |
PromotableCandidateFulfillmentGroupOfferImpl.getBasePrice() |
Money |
PromotableOrderItemImpl.getCurrentBasePrice() |
Money |
PromotableOrderItem.getCurrentBasePrice()
Returns the basePrice of the item (baseSalePrice or baseRetailPrice)
|
Money |
PromotableCandidateFulfillmentGroupOfferImpl.getDiscountedAmount() |
Money |
PromotableCandidateFulfillmentGroupOffer.getDiscountedAmount() |
Money |
PromotableCandidateFulfillmentGroupOfferImpl.getDiscountedPrice() |
Money |
PromotableCandidateFulfillmentGroupOffer.getDiscountedPrice() |
Money |
PromotableFulfillmentGroupImpl.getFinalizedPriceWithAdjustments() |
Money |
PromotableFulfillmentGroup.getFinalizedPriceWithAdjustments()
Calculates the price with all adjustments.
|
Money |
PromotableOrderItemPriceDetailImpl.getFinalizedTotalWithAdjustments() |
Money |
PromotableOrderItemPriceDetail.getFinalizedTotalWithAdjustments()
Returns the final total for this item taking into account the finalized
adjustments.
|
Money |
PromotableCandidateOrderOfferImpl.getPotentialSavings() |
Money |
PromotableCandidateOrderOffer.getPotentialSavings() |
Money |
PromotableCandidateItemOfferImpl.getPotentialSavings() |
Money |
PromotableCandidateItemOffer.getPotentialSavings() |
Money |
PromotableCandidateItemOfferImpl.getPotentialSavingsQtyOne() |
Money |
PromotableCandidateItemOffer.getPotentialSavingsQtyOne() |
Money |
PromotableOrderItemImpl.getPriceBeforeAdjustments(boolean applyToSalePrice) |
Money |
PromotableOrderItem.getPriceBeforeAdjustments(boolean applyToSalePrice)
Return the salePriceBeforeAdjustments if the passed in param is true.
|
Money |
PromotableOrderItemPriceDetailAdjustmentImpl.getRetailAdjustmentValue() |
Money |
PromotableOrderItemPriceDetailAdjustment.getRetailAdjustmentValue()
Returns the value of this adjustment if only retail prices
can be used.
|
Money |
PromotableFulfillmentGroupAdjustmentImpl.getRetailAdjustmentValue() |
Money |
PromotableFulfillmentGroupAdjustment.getRetailAdjustmentValue()
Returns the value of this adjustment
|
Money |
PromotableOrderItemImpl.getRetailPriceBeforeAdjustments() |
Money |
PromotableOrderItem.getRetailPriceBeforeAdjustments()
Returns the retailPrice without adjustments
|
Money |
PromotableOrderItemPriceDetailAdjustmentImpl.getSaleAdjustmentValue() |
Money |
PromotableOrderItemPriceDetailAdjustment.getSaleAdjustmentValue()
Returns the value of this adjustment if sale prices
can be used.
|
Money |
PromotableFulfillmentGroupAdjustmentImpl.getSaleAdjustmentValue() |
Money |
PromotableFulfillmentGroupAdjustment.getSaleAdjustmentValue()
Returns the value of this adjustment
|
Money |
PromotableOrderItemImpl.getSalePriceBeforeAdjustments() |
Money |
PromotableOrderItem.getSalePriceBeforeAdjustments()
Returns the salePrice without adjustments
|
protected Money |
PromotableFulfillmentGroupImpl.getSalePriceBeforeAdjustments() |
Modifier and Type | Method and Description |
---|---|
protected Money |
PromotableFulfillmentGroupAdjustmentImpl.computeAdjustmentValue(Money currentPriceDetailValue) |
static Money |
PromotableOfferUtility.computeAdjustmentValue(Money currentPriceDetailValue,
BigDecimal offerUnitValue,
OfferHolder offerHolder,
PromotionRounding rounding) |
PromotableCandidateOrderOffer |
PromotableItemFactoryImpl.createPromotableCandidateOrderOffer(PromotableOrder promotableOrder,
Offer offer,
Money potentialSavings) |
PromotableCandidateOrderOffer |
PromotableItemFactory.createPromotableCandidateOrderOffer(PromotableOrder promotableOrder,
Offer offer,
Money potentialSavings) |
PromotableOrderAdjustment |
PromotableItemFactoryImpl.createPromotableOrderAdjustment(PromotableCandidateOrderOffer promotableCandidateOrderOffer,
PromotableOrder order,
Money adjustmentValue) |
PromotableOrderAdjustment |
PromotableItemFactory.createPromotableOrderAdjustment(PromotableCandidateOrderOffer promotableCandidateOrderOffer,
PromotableOrder order,
Money value) |
void |
PromotableCandidateItemOfferImpl.setPotentialSavings(Money potentialSavings) |
void |
PromotableCandidateItemOffer.setPotentialSavings(Money savings) |
void |
PromotableCandidateItemOfferImpl.setPotentialSavingsQtyOne(Money potentialSavingsQtyOne) |
void |
PromotableCandidateItemOffer.setPotentialSavingsQtyOne(Money potentialSavingsQtyOne) |
void |
PromotableOrderImpl.setTotalFufillmentCharges(Money totalFulfillmentCharges) |
void |
PromotableOrder.setTotalFufillmentCharges(Money totalFulfillmentCharges)
Sets the total fulfillmentCharges the order.
|
Constructor and Description |
---|
PromotableCandidateOrderOfferImpl(PromotableOrder promotableOrder,
Offer offer,
Money potentialSavings)
Instead of calculating the potential savings, you can specify an override of this value.
|
PromotableOrderAdjustmentImpl(PromotableCandidateOrderOffer promotableCandidateOrderOffer,
PromotableOrder promotableOrder,
Money adjustmentValue) |
Modifier and Type | Method and Description |
---|---|
Money |
OrderImpl.calculateSubTotal() |
Money |
Order.calculateSubTotal()
Returns the sum of the item totals.
|
Money |
NullOrderImpl.calculateSubTotal() |
protected Money |
OrderItemImpl.convertToMoney(BigDecimal amount) |
protected Money |
FulfillmentGroupItemImpl.convertToMoney(BigDecimal amount) |
protected Money |
DiscreteOrderItemImpl.convertToMoney(BigDecimal amount) |
protected Money |
DiscreteOrderItemFeePriceImpl.convertToMoney(BigDecimal amount) |
protected Money |
BundleOrderItemImpl.convertToMoney(BigDecimal amount) |
protected Money |
BundleOrderItemFeePriceImpl.convertToMoney(BigDecimal amount) |
Money |
OrderItemPriceDetailImpl.getAdjustmentValue() |
Money |
OrderItemPriceDetail.getAdjustmentValue()
Returns the value of all adjustments for a single quantity of the item.
|
Money |
OrderItemImpl.getAdjustmentValue() |
Money |
OrderItem.getAdjustmentValue()
Deprecated.
Delegates to
OrderItem.getAverageAdjustmentValue() instead but this method is of little
or no value in most practical applications unless only simple promotions are being used. |
Money |
TaxDetailImpl.getAmount() |
Money |
TaxDetail.getAmount()
Gets the tax amount
|
Money |
FulfillmentGroupFeeImpl.getAmount() |
Money |
FulfillmentGroupFee.getAmount() |
Money |
DiscreteOrderItemFeePriceImpl.getAmount() |
Money |
DiscreteOrderItemFeePrice.getAmount() |
Money |
BundleOrderItemFeePriceImpl.getAmount() |
Money |
BundleOrderItemFeePrice.getAmount() |
Money |
OrderItemImpl.getAverageAdjustmentValue() |
Money |
OrderItem.getAverageAdjustmentValue()
Returns the average unit item adjustments.
|
Money |
OrderItemImpl.getAveragePrice() |
Money |
OrderItem.getAveragePrice()
Returns the average unit display price for the item.
|
Money |
DiscreteOrderItemImpl.getBaseRetailPrice() |
Money |
DiscreteOrderItem.getBaseRetailPrice() |
Money |
BundleOrderItemImpl.getBaseRetailPrice() |
Money |
BundleOrderItem.getBaseRetailPrice() |
Money |
DiscreteOrderItemImpl.getBaseSalePrice() |
Money |
DiscreteOrderItem.getBaseSalePrice() |
Money |
BundleOrderItemImpl.getBaseSalePrice() |
Money |
BundleOrderItem.getBaseSalePrice() |
Money |
OrderImpl.getCapturedTotal() |
Money |
Order.getCapturedTotal()
Convenience method for determining how much of the order total has been captured.
|
Money |
NullOrderImpl.getCapturedTotal() |
Money |
OrderImpl.getFulfillmentGroupAdjustmentsValue() |
Money |
Order.getFulfillmentGroupAdjustmentsValue() |
Money |
NullOrderImpl.getFulfillmentGroupAdjustmentsValue() |
Money |
FulfillmentGroupImpl.getFulfillmentGroupAdjustmentsValue() |
Money |
FulfillmentGroup.getFulfillmentGroupAdjustmentsValue() |
Money |
FulfillmentGroupImpl.getFulfillmentPrice() |
Money |
FulfillmentGroup.getFulfillmentPrice()
Gets the price to charge for this fulfillmentGroup.
|
Money |
OrderImpl.getItemAdjustmentsValue() |
Money |
Order.getItemAdjustmentsValue()
Returns the discount value of all the applied item offers for this order.
|
Money |
NullOrderImpl.getItemAdjustmentsValue() |
Money |
FulfillmentGroupImpl.getMerchandiseTotal() |
Money |
FulfillmentGroup.getMerchandiseTotal() |
Money |
OrderImpl.getOrderAdjustmentsValue() |
Money |
Order.getOrderAdjustmentsValue()
Returns the discount value of all the applied order offers.
|
Money |
NullOrderImpl.getOrderAdjustmentsValue() |
Money |
OrderItemImpl.getPrice() |
Money |
OrderItem.getPrice()
Deprecated.
Delegates to
OrderItem.getAveragePrice() |
Money |
FulfillmentGroupItemImpl.getPrice() |
Money |
FulfillmentGroupItem.getPrice()
|
Money |
OrderItemImpl.getPriceBeforeAdjustments(boolean allowSalesPrice) |
Money |
OrderItem.getPriceBeforeAdjustments(boolean allowSalesPrice)
Returns the unit price of this item.
|
Money |
FulfillmentGroupItemImpl.getProratedOrderAdjustmentAmount() |
Money |
FulfillmentGroupItem.getProratedOrderAdjustmentAmount() |
Money |
OrderImpl.getRemainingTotal() |
Money |
Order.getRemainingTotal()
Convenience method for determining how much is left on the Order based on the payments that have already been
applied.
|
Money |
NullOrderImpl.getRemainingTotal() |
Money |
FulfillmentGroupImpl.getRetailFulfillmentPrice() |
Money |
FulfillmentGroup.getRetailFulfillmentPrice()
Returns the retail price for this fulfillmentGroup.
|
Money |
OrderItemImpl.getRetailPrice() |
Money |
OrderItem.getRetailPrice()
The retail price of the item that was added to the
Order at the time that this was added. |
Money |
FulfillmentGroupItemImpl.getRetailPrice() |
Money |
FulfillmentGroupItem.getRetailPrice() |
Money |
BundleOrderItemImpl.getRetailPrice() |
Money |
FulfillmentGroupImpl.getRetailShippingPrice() |
Money |
FulfillmentGroup.getRetailShippingPrice()
Deprecated.
- use
FulfillmentGroup.getRetailFulfillmentPrice() instead. Deprecated as the price might be for other
fulfillment types such as PickUpAtStore fees or download fees. |
Money |
FulfillmentGroupImpl.getSaleFulfillmentPrice() |
Money |
FulfillmentGroup.getSaleFulfillmentPrice()
Returns the sale price for this fulfillmentGroup.
|
Money |
OrderItemImpl.getSalePrice() |
Money |
OrderItem.getSalePrice()
Returns the salePrice for this item.
|
Money |
FulfillmentGroupItemImpl.getSalePrice() |
Money |
FulfillmentGroupItem.getSalePrice() |
Money |
BundleOrderItemImpl.getSalePrice() |
Money |
FulfillmentGroupImpl.getSaleShippingPrice() |
Money |
FulfillmentGroup.getSaleShippingPrice()
Deprecated.
- use
FulfillmentGroup.getSaleFulfillmentPrice() instead. |
Money |
FulfillmentGroupImpl.getShippingPrice() |
Money |
FulfillmentGroup.getShippingPrice()
Deprecated.
- use
FulfillmentGroup.getFulfillmentPrice() instead. |
Money |
OrderImpl.getSubTotal() |
Money |
Order.getSubTotal()
Returns the subtotal price for the order.
|
Money |
NullOrderImpl.getSubTotal() |
Money |
OrderItemImpl.getTaxablePrice() |
Money |
OrderItem.getTaxablePrice()
Deprecated.
If the item is taxable, returns
OrderItem.getAveragePrice()
It is recommended instead that tax calculation engines use the #getTotalTaxableAmount() which provides the taxable
total for all quantities of this item. This method suffers from penny rounding errors in some
situations. |
Money |
DiscreteOrderItem.getTaxablePrice() |
Money |
BundleOrderItemImpl.getTaxablePrice() |
Money |
BundleOrderItem.getTaxablePrice() |
Money |
OrderImpl.getTotal() |
Money |
Order.getTotal()
The grand total of this
Order which includes all shipping costs and taxes, as well as any adjustments from
promotions. |
Money |
NullOrderImpl.getTotal() |
Money |
FulfillmentGroupImpl.getTotal() |
Money |
FulfillmentGroup.getTotal() |
Money |
OrderItemPriceDetailImpl.getTotalAdjustedPrice() |
Money |
OrderItemPriceDetail.getTotalAdjustedPrice()
Returns the total adjustedPrice.
|
Money |
OrderImpl.getTotalAdjustmentsValue() |
Money |
Order.getTotalAdjustmentsValue()
Returns the total discount value for all applied item and order offers in the order.
|
Money |
NullOrderImpl.getTotalAdjustmentsValue() |
Money |
OrderItemPriceDetailImpl.getTotalAdjustmentValue() |
Money |
OrderItemPriceDetail.getTotalAdjustmentValue()
Returns getAdjustmentValue() * the quantity.
|
Money |
OrderItemImpl.getTotalAdjustmentValue() |
Money |
OrderItem.getTotalAdjustmentValue()
Returns the total for all item level adjustments.
|
Money |
FulfillmentGroupImpl.getTotalFeeTax() |
Money |
FulfillmentGroup.getTotalFeeTax()
Gets the total fee tax for this fulfillment group, which is the sum of the taxes on all fulfillment
group fees.
|
Money |
OrderImpl.getTotalFulfillmentCharges() |
Money |
Order.getTotalFulfillmentCharges()
Gets the total fulfillment costs that should be charged for this
Order . |
Money |
NullOrderImpl.getTotalFulfillmentCharges() |
Money |
FulfillmentGroupImpl.getTotalFulfillmentGroupTax() |
Money |
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.
|
Money |
FulfillmentGroupItemImpl.getTotalItemAmount() |
Money |
FulfillmentGroupItem.getTotalItemAmount() |
Money |
FulfillmentGroupImpl.getTotalItemTax() |
Money |
FulfillmentGroup.getTotalItemTax()
Gets the total item tax for this fulfillment group, which is the sum of the taxes on all fulfillment
group items.
|
Money |
FulfillmentGroupItemImpl.getTotalItemTaxableAmount() |
Money |
FulfillmentGroupItem.getTotalItemTaxableAmount() |
Money |
OrderItemImpl.getTotalPrice() |
Money |
OrderItem.getTotalPrice()
Returns the total price to be paid for this order item including item-level adjustments.
|
Money |
BundleOrderItemImpl.getTotalPrice() |
Money |
OrderItemImpl.getTotalPriceBeforeAdjustments(boolean allowSalesPrice) |
Money |
OrderItem.getTotalPriceBeforeAdjustments(boolean allowSalesPrice)
Returns the total price to be paid before adjustments.
|
Money |
OrderImpl.getTotalShipping() |
Money |
Order.getTotalShipping() |
Money |
NullOrderImpl.getTotalShipping() |
Money |
OrderImpl.getTotalTax() |
Money |
Order.getTotalTax()
Gets the total tax for this order, which is the sum of the taxes on all fulfillment
groups.
|
Money |
NullOrderImpl.getTotalTax() |
Money |
FulfillmentGroupItemImpl.getTotalTax() |
Money |
FulfillmentGroupItem.getTotalTax()
Gets the total tax for this item, which is the sum of all taxes for this item.
|
Money |
FulfillmentGroupImpl.getTotalTax() |
Money |
FulfillmentGroupFeeImpl.getTotalTax() |
Money |
FulfillmentGroupFee.getTotalTax()
Gets the total tax for this fee, which is the sum of all taxes for this fee.
|
Money |
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).
|
Modifier and Type | Method and Description |
---|---|
void |
TaxDetailImpl.setAmount(Money amount) |
void |
TaxDetail.setAmount(Money amount)
Sets the tax amount
|
void |
FulfillmentGroupFeeImpl.setAmount(Money amount) |
void |
FulfillmentGroupFee.setAmount(Money amount) |
void |
DiscreteOrderItemFeePriceImpl.setAmount(Money amount) |
void |
DiscreteOrderItemFeePrice.setAmount(Money amount) |
void |
BundleOrderItemFeePriceImpl.setAmount(Money amount) |
void |
BundleOrderItemFeePrice.setAmount(Money amount) |
void |
DiscreteOrderItemImpl.setBaseRetailPrice(Money baseRetailPrice) |
void |
DiscreteOrderItem.setBaseRetailPrice(Money baseRetailPrice) |
void |
BundleOrderItemImpl.setBaseRetailPrice(Money baseRetailPrice) |
void |
BundleOrderItem.setBaseRetailPrice(Money baseRetailPrice) |
void |
DiscreteOrderItemImpl.setBaseSalePrice(Money baseSalePrice) |
void |
DiscreteOrderItem.setBaseSalePrice(Money baseSalePrice) |
void |
BundleOrderItemImpl.setBaseSalePrice(Money baseSalePrice) |
void |
BundleOrderItem.setBaseSalePrice(Money baseSalePrice) |
void |
FulfillmentGroupImpl.setFulfillmentPrice(Money fulfillmentPrice) |
void |
FulfillmentGroup.setFulfillmentPrice(Money fulfillmentPrice)
Sets the price to charge for this fulfillmentGroup.
|
void |
FulfillmentGroupImpl.setMerchandiseTotal(Money merchandiseTotal) |
void |
FulfillmentGroup.setMerchandiseTotal(Money merchandiseTotal) |
void |
OrderItemImpl.setPrice(Money finalPrice) |
void |
OrderItem.setPrice(Money price)
Deprecated.
Calling this method is the same as calling the following:
OrderItem.setRetailPrice(Money)
OrderItem.setSalePrice(Money)
#setRetailPriceOverride(true)
#setSalePriceOverride(true)
#setDiscountingAllowed(false)
This has the effect of setting the price in a way that no discounts or adjustments can be made. |
void |
FulfillmentGroupItemImpl.setProratedOrderAdjustmentAmount(Money proratedOrderAdjustment) |
void |
FulfillmentGroupItem.setProratedOrderAdjustmentAmount(Money amount) |
void |
FulfillmentGroupImpl.setRetailFulfillmentPrice(Money retailFulfillmentPrice) |
void |
FulfillmentGroup.setRetailFulfillmentPrice(Money fulfillmentPrice)
Sets the retail price for this fulfillmentGroup.
|
void |
OrderItemImpl.setRetailPrice(Money retailPrice) |
void |
OrderItem.setRetailPrice(Money retailPrice)
Calling this method will manually set the retailPrice.
|
void |
FulfillmentGroupImpl.setRetailShippingPrice(Money retailShippingPrice) |
void |
FulfillmentGroup.setRetailShippingPrice(Money retailShippingPrice)
Deprecated.
- use
FulfillmentGroup.setRetailFulfillmentPrice(Money) instead. |
void |
FulfillmentGroupImpl.setSaleFulfillmentPrice(Money saleFulfillmentPrice) |
void |
FulfillmentGroup.setSaleFulfillmentPrice(Money fulfillmentPrice)
Sets the sale price for this fulfillmentGroup.
|
void |
OrderItemImpl.setSalePrice(Money salePrice) |
void |
OrderItem.setSalePrice(Money salePrice)
Calling this method will manually set the salePrice.
|
void |
FulfillmentGroupImpl.setSaleShippingPrice(Money saleShippingPrice) |
void |
FulfillmentGroup.setSaleShippingPrice(Money saleShippingPrice)
Deprecated.
- use
FulfillmentGroup.setSaleFulfillmentPrice(Money) instead. |
void |
FulfillmentGroupImpl.setShippingPrice(Money shippingPrice) |
void |
FulfillmentGroup.setShippingPrice(Money shippingPrice)
Deprecated.
- use
FulfillmentGroup.setRetailFulfillmentPrice(Money) instead. |
void |
OrderImpl.setSubTotal(Money subTotal) |
void |
Order.setSubTotal(Money subTotal)
Sets the subtotal price for the order.
|
void |
NullOrderImpl.setSubTotal(Money subTotal) |
void |
OrderImpl.setTotal(Money orderTotal) |
void |
Order.setTotal(Money orderTotal)
Used in
TotalActivity to set the grand total of this Order . |
void |
NullOrderImpl.setTotal(Money orderTotal) |
void |
FulfillmentGroupImpl.setTotal(Money orderTotal) |
void |
FulfillmentGroup.setTotal(Money orderTotal) |
void |
FulfillmentGroupImpl.setTotalFeeTax(Money totalFeeTax) |
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 |
OrderImpl.setTotalFulfillmentCharges(Money totalFulfillmentCharges) |
void |
Order.setTotalFulfillmentCharges(Money totalFulfillmentCharges)
Set the total fulfillment cost of this
Order . |
void |
NullOrderImpl.setTotalFulfillmentCharges(Money totalFulfillmentCharges) |
void |
FulfillmentGroupImpl.setTotalFulfillmentGroupTax(Money totalFulfillmentGroupTax) |
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 |
FulfillmentGroupItemImpl.setTotalItemAmount(Money amount) |
void |
FulfillmentGroupItem.setTotalItemAmount(Money amount) |
void |
FulfillmentGroupImpl.setTotalItemTax(Money totalItemTax) |
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 |
FulfillmentGroupItemImpl.setTotalItemTaxableAmount(Money taxableAmount) |
void |
FulfillmentGroupItem.setTotalItemTaxableAmount(Money amount) |
void |
OrderImpl.setTotalShipping(Money totalShipping) |
void |
Order.setTotalShipping(Money totalShipping)
Deprecated.
- Use
Order.setTotalFulfillmentCharges(Money) instead. |
void |
NullOrderImpl.setTotalShipping(Money totalShipping) |
void |
OrderImpl.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 |
NullOrderImpl.setTotalTax(Money totalTax) |
void |
FulfillmentGroupItemImpl.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 |
FulfillmentGroupImpl.setTotalTax(Money totalTax) |
void |
FulfillmentGroupFeeImpl.setTotalTax(Money totalTax) |
void |
FulfillmentGroupFee.setTotalTax(Money totalTax)
Sets the total tax for this fee, which is the sum of all taxes for this fee.
|
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).
|
Constructor and Description |
---|
TaxDetailImpl(TaxType type,
Money amount,
BigDecimal rate) |
Modifier and Type | Method and Description |
---|---|
Money |
FixedPriceFulfillmentOptionImpl.getPrice() |
Money |
FixedPriceFulfillmentOption.getPrice() |
Modifier and Type | Method and Description |
---|---|
void |
FixedPriceFulfillmentOptionImpl.setPrice(Money price) |
void |
FixedPriceFulfillmentOption.setPrice(Money price) |
Modifier and Type | Field and Description |
---|---|
protected Money |
ProductBundleOrderItemRequest.retailPriceOverride |
protected Money |
BundleOrderItemRequest.retailPriceOverride |
protected Money |
AbstractOrderItemRequest.retailPriceOverride |
protected Money |
ProductBundleOrderItemRequest.salePriceOverride |
protected Money |
BundleOrderItemRequest.salePriceOverride |
protected Money |
AbstractOrderItemRequest.salePriceOverride |
Modifier and Type | Method and Description |
---|---|
Money |
OrderItemRequestDTO.getOverrideRetailPrice() |
Money |
OrderItemRequestDTO.getOverrideSalePrice() |
Money |
ProductBundleOrderItemRequest.getRetailPriceOverride() |
Money |
BundleOrderItemRequest.getRetailPriceOverride() |
Money |
AbstractOrderItemRequest.getRetailPriceOverride() |
Money |
ProductBundleOrderItemRequest.getSalePriceOverride() |
Money |
BundleOrderItemRequest.getSalePriceOverride() |
Money |
AbstractOrderItemRequest.getSalePriceOverride() |
Modifier and Type | Method and Description |
---|---|
void |
OrderItemRequestDTO.setOverrideRetailPrice(Money overrideRetailPrice) |
void |
OrderItemRequestDTO.setOverrideSalePrice(Money overrideSalePrice) |
void |
ProductBundleOrderItemRequest.setRetailPriceOverride(Money retailPriceOverride) |
void |
BundleOrderItemRequest.setRetailPriceOverride(Money retailPriceOverride) |
void |
AbstractOrderItemRequest.setRetailPriceOverride(Money retailPriceOverride) |
void |
ProductBundleOrderItemRequest.setSalePriceOverride(Money salePriceOverride) |
void |
BundleOrderItemRequest.setSalePriceOverride(Money salePriceOverride) |
void |
AbstractOrderItemRequest.setSalePriceOverride(Money salePriceOverride) |
Constructor and Description |
---|
NonDiscreteOrderItemRequestDTO(String itemName,
Integer quantity,
Money overrideRetailPrice) |
Modifier and Type | Method and Description |
---|---|
Money |
PaymentInfoImpl.getAmount() |
Money |
PaymentInfoDetailImpl.getAmount() |
Money |
PaymentInfoDetail.getAmount() |
Money |
PaymentInfo.getAmount() |
Money |
PaymentResponseItemImpl.getAmountPaid()
Deprecated.
|
Money |
PaymentResponseItem.getAmountPaid()
Deprecated.
|
Money |
PaymentLogImpl.getAmountPaid() |
Money |
PaymentLog.getAmountPaid() |
Money |
PaymentInfoImpl.getDetailsAmountForType(PaymentInfoDetailType type) |
Money |
PaymentInfoImpl.getPaymentCapturedAmount() |
Money |
PaymentInfo.getPaymentCapturedAmount() |
Money |
PaymentInfoImpl.getPaymentCreditedAmount() |
Money |
PaymentInfo.getPaymentCreditedAmount() |
Money |
PaymentResponseItemImpl.getRemainingBalance() |
Money |
PaymentResponseItem.getRemainingBalance() |
Money |
PaymentInfoImpl.getReverseAuthAmount() |
Money |
PaymentInfo.getReverseAuthAmount() |
Money |
PaymentResponseItemImpl.getTransactionAmount() |
Money |
PaymentResponseItem.getTransactionAmount()
The amount that the system processed.
|
Modifier and Type | Method and Description |
---|---|
void |
PaymentInfoImpl.setAmount(Money amount) |
void |
PaymentInfoDetailImpl.setAmount(Money amount) |
void |
PaymentInfoDetail.setAmount(Money amount) |
void |
PaymentInfo.setAmount(Money amount) |
void |
PaymentResponseItemImpl.setAmountPaid(Money amountPaid)
Deprecated.
|
void |
PaymentResponseItem.setAmountPaid(Money amount)
Deprecated.
setTransactionAmount() instead.
|
void |
PaymentLogImpl.setAmountPaid(Money amountPaid) |
void |
PaymentLog.setAmountPaid(Money amountPaid) |
void |
PaymentResponseItemImpl.setRemainingBalance(Money remainingBalance) |
void |
PaymentResponseItem.setRemainingBalance(Money remainingBalance) |
void |
PaymentResponseItemImpl.setTransactionAmount(Money transactionAmount) |
void |
PaymentResponseItem.setTransactionAmount(Money amount)
Sets the transaction amount.
|
Modifier and Type | Field and Description |
---|---|
protected Money |
PaymentContextImpl.originalPaymentAmount |
protected Money |
PaymentContextImpl.remainingPaymentAmount |
protected Money |
PaymentContextImpl.remainingTransactionAmount |
protected Money |
PaymentContextImpl.transactionAmount |
Modifier and Type | Method and Description |
---|---|
Money |
PaymentContextImpl.getOriginalPaymentAmount()
Deprecated.
|
Money |
PaymentContext.getOriginalPaymentAmount()
Deprecated.
|
Money |
PaymentContextImpl.getRemainingPaymentAmount()
Deprecated.
|
Money |
PaymentContext.getRemainingPaymentAmount()
Deprecated.
|
Money |
PaymentContextImpl.getRemainingTransactionAmount() |
Money |
PaymentContext.getRemainingTransactionAmount()
Returns the remaining transaction amount that needs to be processed.
|
Money |
PaymentContextImpl.getTransactionAmount() |
Money |
PaymentContext.getTransactionAmount()
The amount that the system should attempt to process.
|
Modifier and Type | Method and Description |
---|---|
void |
PaymentContextImpl.setRemainingTransactionAmount(Money remainingTransactionAmount) |
void |
PaymentContext.setRemainingTransactionAmount(Money amount)
Sets the remaining transaction amount.
|
void |
PaymentContextImpl.setTransactionAmount(Money transactionAmount) |
void |
PaymentContext.setTransactionAmount(Money amount)
Sets the transaction amount
|
Constructor and Description |
---|
PaymentContextImpl(Money transactionAmount,
Money remainingTransactionAmount,
PaymentInfo paymentInfo,
Referenced referencedPaymentInfo,
String userName) |
Modifier and Type | Method and Description |
---|---|
protected Money |
AbstractModule.getAmountAvailableToCredit(PaymentContext paymentContext) |
protected Money |
AbstractModule.getAmountAvailableToDebit(PaymentContext paymentContext) |
protected Money |
AbstractModule.getAmountAvailableToReverseAuthorize(PaymentContext paymentContext) |
Modifier and Type | Method and Description |
---|---|
Money |
CombinedPaymentContextSeed.getOrderTotal() |
Money |
PaymentSeed.getTransactionAmount() |
Money |
CombinedPaymentContextSeed.getTransactionAmount() |
Constructor and Description |
---|
CombinedPaymentContextSeed(Map<PaymentInfo,Referenced> infos,
PaymentActionType actionType,
Money orderTotal,
PaymentResponse paymentResponse) |
CombinedPaymentContextSeed(Map<PaymentInfo,Referenced> infos,
PaymentActionType actionType,
Money orderTotal,
PaymentResponse paymentResponse,
Money transactionAmount) |
PaymentSeed(Order order,
Map<PaymentInfo,Referenced> infos,
PaymentResponse paymentResponse,
Money transactionAmount) |
Modifier and Type | Field and Description |
---|---|
protected Map<? extends FulfillmentOption,Money> |
FulfillmentEstimationResponse.fulfillmentOptionPrices |
Modifier and Type | Method and Description |
---|---|
Map<? extends FulfillmentOption,Money> |
FulfillmentEstimationResponse.getFulfillmentOptionPrices() |
Modifier and Type | Method and Description |
---|---|
void |
FulfillmentEstimationResponse.setFulfillmentOptionPrices(Map<? extends FulfillmentOption,Money> fulfillmentOptionPrices) |
Modifier and Type | Method and Description |
---|---|
protected 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 exists
|
Money |
FulfillmentItemPricingActivity.getUnitAmount(Money difference)
Returns the unit amount (e.g.
|
protected Money |
FulfillmentItemPricingActivity.sumItemAmount(List<FulfillmentGroupItem> items,
Order order) |
protected Money |
FulfillmentItemPricingActivity.sumTaxAmount(List<FulfillmentGroupItem> items,
Order order) |
Modifier and Type | Method and Description |
---|---|
long |
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.
|
Money |
FulfillmentItemPricingActivity.getUnitAmount(Money difference)
Returns the unit amount (e.g.
|
Modifier and Type | Field and Description |
---|---|
protected Money |
AdjustmentWrapper.adjustmentValue |
protected Money |
TaxDetailWrapper.amount |
protected Money |
ProductWrapper.bundleItemsRetailPrice |
protected Money |
ProductWrapper.bundleItemsSalePrice |
protected Money |
ProductOptionValueWrapper.priceAdjustment |
protected Money |
SkuWrapper.retailPrice |
protected Money |
SkuBundleItemWrapper.retailPrice |
protected Money |
ProductWrapper.retailPrice |
protected Money |
OrderItemWrapper.retailPrice |
protected Money |
SkuWrapper.salePrice |
protected Money |
SkuBundleItemWrapper.salePrice |
protected Money |
ProductWrapper.salePrice |
protected Money |
OrderItemWrapper.salePrice |
protected Money |
OrderWrapper.subTotal |
protected Money |
OrderWrapper.total |
protected Money |
FulfillmentGroupWrapper.total |
protected Money |
OrderItemPriceDetailWrapper.totalAdjustedPrice |
protected Money |
OrderItemPriceDetailWrapper.totalAdjustmentValue |
protected Money |
FulfillmentGroupItemWrapper.totalItemAmount |
protected Money |
OrderWrapper.totalShipping |
protected Money |
OrderWrapper.totalTax |
protected Money |
FulfillmentGroupItemWrapper.totalTax |
Copyright © 2014. All rights reserved.