Uses of Class
com.broadleafcommerce.subscriptionoperation.domain.SubscriptionItemAdjustmentPriceDetail
Packages that use SubscriptionItemAdjustmentPriceDetail
Package
Description
-
Uses of SubscriptionItemAdjustmentPriceDetail in com.broadleafcommerce.subscriptionoperation.domain
Methods in com.broadleafcommerce.subscriptionoperation.domain with type parameters of type SubscriptionItemAdjustmentPriceDetailModifier and TypeMethodDescriptionprotected <T extends SubscriptionItemAdjustmentPriceDetail>
intSubscriptionItemPriceDetail.getItemAdjustmentQuantity(T itemAdjustmentDetail, @NonNull String priceDetailType) The effective quantity of the items that are receiving the adjustment/discount.Methods in com.broadleafcommerce.subscriptionoperation.domain that return types with arguments of type SubscriptionItemAdjustmentPriceDetailModifier and TypeMethodDescriptionSubscriptionItemPriceDetail.getAdjustmentPriceDetails()SubscriptionItemPriceDetail.getAdjustmentPriceDetailsByAdjustmentRef()The map ofSubscriptionItemAdjustmentPriceDetailby adjustment reference, containing the details about how the discount affects the prorated unit amount, credited amount, and prior unbilled amount.Method parameters in com.broadleafcommerce.subscriptionoperation.domain with type arguments of type SubscriptionItemAdjustmentPriceDetailModifier and TypeMethodDescriptionvoidSubscriptionItemPriceDetail.setAdjustmentPriceDetailsByAdjustmentRef(Map<String, SubscriptionItemAdjustmentPriceDetail> adjustmentPriceDetailsByAdjustmentRef) The map ofSubscriptionItemAdjustmentPriceDetailby adjustment reference, containing the details about how the discount affects the prorated unit amount, credited amount, and prior unbilled amount. -
Uses of SubscriptionItemAdjustmentPriceDetail in com.broadleafcommerce.subscriptionoperation.service
Methods in com.broadleafcommerce.subscriptionoperation.service with type parameters of type SubscriptionItemAdjustmentPriceDetailModifier and TypeMethodDescriptionprotected <T extends SubscriptionItemAdjustmentPriceDetail>
javax.money.MonetaryAmountDefaultSubscriptionPricingService.getAdjustmentAmount(T itemAdjustmentPriceDetail, @NonNull String priceDetailType, @NonNull SubscriptionPricingContext pricingContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the adjustment amount from the givenSubscriptionItemAdjustmentPriceDetailandpriceDetailType.protected <T extends SubscriptionItemAdjustmentPriceDetail>
intDefaultSubscriptionPricingService.getItemAdjustmentQuantity(T itemAdjustmentDetail, @NonNull String priceDetailType) Determines the quantity to be used for the givenSubscriptionItemAdjustmentPriceDetailtotal discount calculation.Methods in com.broadleafcommerce.subscriptionoperation.service that return SubscriptionItemAdjustmentPriceDetailModifier and TypeMethodDescriptionprotected SubscriptionItemAdjustmentPriceDetailDefaultSubscriptionPricingService.buildItemAdjustmentPriceDetail(@NonNull String adjustmentRef, String subscriptionItemAdjustmentRef, Integer existingItemAdjustmentQuantity, Integer currentItemAdjustmentQuantity, @NonNull SubscriptionPricingContext pricingContext) Methods in com.broadleafcommerce.subscriptionoperation.service that return types with arguments of type SubscriptionItemAdjustmentPriceDetailModifier and TypeMethodDescriptionprotected Function<SubscriptionItemAdjustmentPriceDetail,javax.money.MonetaryAmount> DefaultSubscriptionPricingService.getDiscountAmountGetter(String priceDetailType) Methods in com.broadleafcommerce.subscriptionoperation.service with parameters of type SubscriptionItemAdjustmentPriceDetailModifier and TypeMethodDescriptionprotected javax.money.MonetaryAmountDefaultSubscriptionPricingService.determineChargeForPreviouslyDiscountedPeriods(@NonNull SubscriptionItemAdjustmentPriceDetail adjustmentDetail, @NonNull SubscriptionPricingContext pricingContext, @NonNull SubscriptionItemAdjustment adjustment, Integer period, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines the amount to charge the customer for the previously received discounts in previous periods ifCancellationPolicyDetail.isChargeForPreviouslyReceivedDiscountAmounts()is true.protected javax.money.MonetaryAmountDefaultSubscriptionPricingService.determineChargeForPreviouslyDiscountedPeriodsForCurrentPeriod(@NonNull SubscriptionItemAdjustmentPriceDetail adjustmentDetail, @NonNull SubscriptionPricingContext pricingContext, @NonNull SubscriptionItemAdjustment adjustment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines the amount to charge the customer for the previously received discounts in the current period.protected javax.money.MonetaryAmountDefaultSubscriptionPricingService.determineDiscountForRemainderOfTerm(@NonNull SubscriptionItemAdjustmentPriceDetail adjustmentDetail, @NonNull SubscriptionPricingContext pricingContext, @NonNull SubscriptionItemAdjustment adjustment, Integer period, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines the discounts to be applied to the remainder of the terms charge ifyou are being charged for the remainder of the terms, unlessfull price is charged for the remainder of terms.protected javax.money.MonetaryAmountDefaultSubscriptionPricingService.determineDiscountForRemainderOfTermCurrentPeriod(@NonNull SubscriptionItemAdjustmentPriceDetail adjustmentDetail, @NonNull SubscriptionPricingContext pricingContext, @NonNull SubscriptionItemAdjustment adjustment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines the discounts to be applied to the remainder of the terms charge for the current period ifyou are being charged for the remainder of the terms, unlessfull price is charged for the remainder of terms.