Class SubscriptionItemPriceDetail
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String name, Object value) Takes in any additional attributes passed in the request not matching any defined properties.protected booleanbooleanThe map ofSubscriptionItemAdjustmentPriceDetailby adjustment reference, containing the details about how the discount affects the prorated unit amount, credited amount, and prior unbilled amount.Return any additional attributes passed in the request not matching any defined properties.Map holding any additional attributes passed in the request not matching any defined properties.Reference to the subscriptionCartItem.javax.money.MonetaryAmountGathers the charge for previously received discounted periods based on the cancellation policy.javax.money.MonetaryAmountGathers the credited portion of the item subtotal, which is based on thegetCreditedUnitAmount().javax.money.MonetaryAmountGathers the credited discount amount, which is the total discount offered on the credited price.javax.money.MonetaryAmountFor edits, upgrades, and downgrades on a subscription that’s using anDefaultSubscriptionPaymentStrategy.PREPAIDpayment strategy, the customer has already paid the full amount for this billing cycle at the previous rate.javax.money.CurrencyUnitCurrency of this subscriptionAn item's quantity override value used for "due now" price calculations where the item's quantity decreased due to the subscription action.Gathers the item's quantity, considering thegetDueNowQuantityOverride()if it's non-null.protected IntegergetEffectiveQuantityForPricing(@NonNull String priceDetailType) Different prices use different item quantities in their calculations.The existing subscription item's id prior the subscription action (e.g.The existing subscription item's quantity prior the subscription action (e.g.javax.money.MonetaryAmountThe existing subscription item's unit price prior the subscription action (e.g.javax.money.MonetaryAmountThe unit price of the item (price of one) for the length of a full subscription period.protected <T extends SubscriptionItemAdjustmentPriceDetail>
intgetItemAdjustmentQuantity(T itemAdjustmentDetail, @NonNull String priceDetailType) The effective quantity of the items that are receiving the adjustment/discount.Name of the item identified bygetItemRefType()&getItemRef().Reference to the id of the item represented by this object.Type of item that this object represents.javax.money.MonetaryAmountGathers theitemSubtotal, which is equal togetProratedAmount()+getPriorUnbilledAmount()-getCreditedAmount().The item's parent existing quantity prior to the subscription action (e.g.Reference of the parent subscription item's backing item if this is a child subscription itemType of the parent subscription item's backing item if this is a child subscription itemThe item's parent quantity following the subscription action (e.g.javax.money.MonetaryAmountGathers the prior unbilled portion of the item subtotal, which is based on thegetPriorUnbilledUnitAmount().javax.money.MonetaryAmountGathers the prior unbilled discount amount, which is the total discount offered on the prior unbilled price.javax.money.MonetaryAmountPrior to an edit, upgrade, or downgrade on a subscription that’s using a Postpaid payment strategy, the system will have prior unbilled charges that will be part of the next invoice.javax.money.MonetaryAmountGathers the prorated portion of the item subtotal, which is based on thegetProratedUnitAmount().javax.money.MonetaryAmountGathers the prorated discount amount, which is the total discount offered on the prorated price which is prorated relative to the next invoice date.javax.money.MonetaryAmountThe subscription item price per unit, prorated relative to the next invoice date.javax.money.MonetaryAmountThe subscription item price per unit prorated for the period between the action date and the next invoice date regardless of the subscription action being taken or the payment strategy.javax.money.MonetaryAmountThe subscription item price per unit prorated for the period between the period start date and the action date and the regardless of the subscription action being taken or the payment strategy.The item's quantity following the subscription action (e.g.javax.money.MonetaryAmountGathers the remainder of terms discount amount, which is the total discount offered on the remainder of terms price.javax.money.MonetaryAmountThe unit amount to charge for the remainder of terms ifthe remainder of terms is being charged.inthashCode()voidsetAdjustmentPriceDetailsByAdjustmentRef(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.voidsetAttributes(Map<String, Object> attributes) Map holding any additional attributes passed in the request not matching any defined properties.voidsetCartItemId(String cartItemId) Reference to the subscriptionCartItem.voidsetCreditedUnitAmount(javax.money.MonetaryAmount creditedUnitAmount) For edits, upgrades, and downgrades on a subscription that’s using anDefaultSubscriptionPaymentStrategy.PREPAIDpayment strategy, the customer has already paid the full amount for this billing cycle at the previous rate.voidsetCurrency(javax.money.CurrencyUnit currency) Currency of this subscriptionvoidsetDueNowQuantityOverride(Integer dueNowQuantityOverride) An item's quantity override value used for "due now" price calculations where the item's quantity decreased due to the subscription action.voidsetExistingSubscriptionItemId(String existingSubscriptionItemId) The existing subscription item's id prior the subscription action (e.g.voidsetExistingSubscriptionItemQuantity(Integer existingSubscriptionItemQuantity) The existing subscription item's quantity prior the subscription action (e.g.voidsetExistingSubscriptionItemUnitPrice(javax.money.MonetaryAmount existingSubscriptionItemUnitPrice) The existing subscription item's unit price prior the subscription action (e.g.voidsetFullSubscriptionPeriodUnitAmount(javax.money.MonetaryAmount fullSubscriptionPeriodUnitAmount) The unit price of the item (price of one) for the length of a full subscription period.voidsetItemName(String itemName) Name of the item identified bygetItemRefType()&getItemRef().voidsetItemRef(String itemRef) Reference to the id of the item represented by this object.voidsetItemRefType(String itemRefType) Type of item that this object represents.voidsetParentExistingQuantity(Integer parentExistingQuantity) The item's parent existing quantity prior to the subscription action (e.g.voidsetParentItemRef(String parentItemRef) Reference of the parent subscription item's backing item if this is a child subscription itemvoidsetParentItemRefType(String parentItemRefType) Type of the parent subscription item's backing item if this is a child subscription itemvoidsetParentQuantity(Integer parentQuantity) The item's parent quantity following the subscription action (e.g.voidsetPriorUnbilledUnitAmount(javax.money.MonetaryAmount priorUnbilledUnitAmount) Prior to an edit, upgrade, or downgrade on a subscription that’s using a Postpaid payment strategy, the system will have prior unbilled charges that will be part of the next invoice.voidsetProratedUnitAmount(javax.money.MonetaryAmount proratedUnitAmount) The subscription item price per unit, prorated relative to the next invoice date.voidsetProratedUnitAmountBetweenActionAndNextBillDate(javax.money.MonetaryAmount proratedUnitAmountBetweenActionAndNextBillDate) The subscription item price per unit prorated for the period between the action date and the next invoice date regardless of the subscription action being taken or the payment strategy.voidsetProratedUnitAmountBetweenPeriodStartAndActionDate(javax.money.MonetaryAmount proratedUnitAmountBetweenPeriodStartAndActionDate) The subscription item price per unit prorated for the period between the period start date and the action date and the regardless of the subscription action being taken or the payment strategy.voidsetQuantity(Integer quantity) The item's quantity following the subscription action (e.g.voidsetRemainderOfTermsUnitAmount(javax.money.MonetaryAmount remainderOfTermsUnitAmount) The unit amount to charge for the remainder of terms ifthe remainder of terms is being charged.toString()
-
Constructor Details
-
SubscriptionItemPriceDetail
public SubscriptionItemPriceDetail()
-
-
Method Details
-
addAttribute
Takes in any additional attributes passed in the request not matching any defined properties.- Parameters:
name- Name of the additional attributevalue- Value of the additional attribute
-
getAttribute
Return any additional attributes passed in the request not matching any defined properties.- Returns:
- any additional attributes passed in the request not matching any defined properties.
-
getEffectiveQuantityForPricing
Gathers the item's quantity, considering thegetDueNowQuantityOverride()if it's non-null.- Returns:
- The
getDueNowQuantityOverride()if non-null. Otherwise, thegetQuantity().
-
getAdjustmentPriceDetails
-
getItemSubtotal
public javax.money.MonetaryAmount getItemSubtotal()Gathers theitemSubtotal, which is equal togetProratedAmount()+getPriorUnbilledAmount()-getCreditedAmount().Note: Keep in mind that the
getProratedAmount()is based on a unit price that's scaled based on the item's new quantity, whereas thegetPriorUnbilledAmount()&getCreditedAmount()are based on unit prices that are scaled based on the item's previous quantity.- Returns:
- the item subtotal.
-
getProratedAmount
public javax.money.MonetaryAmount getProratedAmount()Gathers the prorated portion of the item subtotal, which is based on thegetProratedUnitAmount(). This unit amount is scaled by thegetDueNowQuantityOverride()if it's present. Otherwise, the unit amount is scaled by thegetQuantity().It is calculated as follows: (
getProratedUnitAmount()*getEffectiveQuantityForPricing()) -getProratedDiscountAmount().- Returns:
- the prorated portion of the item subtotal.
-
getProratedDiscountAmount
public javax.money.MonetaryAmount getProratedDiscountAmount()Gathers the prorated discount amount, which is the total discount offered on the prorated price which is prorated relative to the next invoice date. For a new purchase, this reflects the full date range. For edits, upgrades, and downgrades, this reflects the prorated price between the action date and the end of the billing period.It is calculated as follows: (
SubscriptionItemAdjustmentPriceDetail.getProratedUnitDiscountAmount()*getItemAdjustmentQuantity(SubscriptionItemAdjustmentPriceDetail, String).- Returns:
- the prorated discounted amount.
-
getCreditedAmount
public javax.money.MonetaryAmount getCreditedAmount()Gathers the credited portion of the item subtotal, which is based on thegetCreditedUnitAmount(). This unit amount is scaled by thegetExistingSubscriptionItemQuantity().It is calculated as follows: (
getCreditedUnitAmount()*getEffectiveQuantityForPricing(String)) -getCreditedDiscountAmount().- Returns:
- the credited portion of the item subtotal.
-
getCreditedDiscountAmount
public javax.money.MonetaryAmount getCreditedDiscountAmount()Gathers the credited discount amount, which is the total discount offered on the credited price. It is mainly used in the prepaid flows.It is calculated as follows:
SubscriptionItemAdjustmentPriceDetail.getCreditedUnitDiscountAmount()*getItemAdjustmentQuantity(SubscriptionItemAdjustmentPriceDetail, String)- Returns:
- the credited discounted amount.
-
getPriorUnbilledAmount
public javax.money.MonetaryAmount getPriorUnbilledAmount()Gathers the prior unbilled portion of the item subtotal, which is based on thegetPriorUnbilledUnitAmount(). This unit amount is scaled by thegetExistingSubscriptionItemQuantity().It is calculated as follows: (
getPriorUnbilledUnitAmount()+getRemainderOfTermsUnitAmount()) *getEffectiveQuantityForPricing(String)+getChargeForPreviouslyReceivedDiscountedPeriods()-getPriorUnbilledDiscountAmount()-getRemainderOfTermsDiscountAmount().This is similar to the behavior of the
DefaultSubscriptionPricingService.calculatePriorUnbilledAmountTotal(List, SubscriptionPricingContext, ContextInfo)- Returns:
- the prior unbilled portion of the item subtotal.
-
getChargeForPreviouslyReceivedDiscountedPeriods
public javax.money.MonetaryAmount getChargeForPreviouslyReceivedDiscountedPeriods()Gathers the charge for previously received discounted periods based on the cancellation policy.It is calculated as follows:
SubscriptionItemAdjustmentPriceDetail.getUnitChargeForPreviouslyDiscountedPeriods()*getItemAdjustmentQuantity(SubscriptionItemAdjustmentPriceDetail, String)- Returns:
- the amount charged for previous discounts.
-
getPriorUnbilledDiscountAmount
public javax.money.MonetaryAmount getPriorUnbilledDiscountAmount()Gathers the prior unbilled discount amount, which is the total discount offered on the prior unbilled price.It is calculated as follows:
SubscriptionItemAdjustmentPriceDetail.getPriorUnbilledUnitDiscountAmount()*getItemAdjustmentQuantity(SubscriptionItemAdjustmentPriceDetail, String)- Returns:
- the prior unbilled discounted amount.
-
getRemainderOfTermsDiscountAmount
public javax.money.MonetaryAmount getRemainderOfTermsDiscountAmount()Gathers the remainder of terms discount amount, which is the total discount offered on the remainder of terms price.It is calculated as follows:
SubscriptionItemAdjustmentPriceDetail.getUnitDiscountAmountForRemainderOfTerms()*getItemAdjustmentQuantity(SubscriptionItemAdjustmentPriceDetail, String)- Returns:
- the remainder of terms discounted amount.
-
getItemAdjustmentQuantity
protected <T extends SubscriptionItemAdjustmentPriceDetail> int getItemAdjustmentQuantity(@NonNull T itemAdjustmentDetail, @NonNull @NonNull String priceDetailType) The effective quantity of the items that are receiving the adjustment/discount. For the prorated unit discount amount, it uses the quantity after the subscription action.- Parameters:
itemAdjustmentDetail- the item adjustment detail that contains the quantity informationpriceDetailType- the type of price detail being calculated, e.g. "PRORATED_UNIT_DISCOUNT_AMOUNT"- Returns:
- the effective quantity of discounted items based on the price detail type
-
getEffectiveQuantityForPricing
Different prices use different item quantities in their calculations. This method assists in getting the correct quantity to use when calculating the subtotal for that price type. For example, thegetProratedAmount()is based on a unit price that's scaled based on the item's new quantity, whereas thegetPriorUnbilledAmount()&getCreditedAmount()are based on unit prices that are scaled based on the item's previous quantity.- Returns:
- the item quantity related to the given price detail type
-
getCartItemId
Reference to the subscriptionCartItem. If the subscription item has been removed as part of the action, then this value will be null. -
getItemRefType
Type of item that this object represents. For example, BLC_PRODUCT. -
getItemRef
Reference to the id of the item represented by this object. For example, the product id. -
getItemName
Name of the item identified bygetItemRefType()&getItemRef(). -
getParentItemRefType
Type of the parent subscription item's backing item if this is a child subscription item -
getParentItemRef
Reference of the parent subscription item's backing item if this is a child subscription item -
getParentQuantity
The item's parent quantity following the subscription action (e.g. create, edit, upgrade, downgrade, etc.). This is typically used to scale a dependent item's quantity based on its parent for calculating subtotals. -
getParentExistingQuantity
The item's parent existing quantity prior to the subscription action (e.g. create, edit, upgrade, downgrade, etc.). This is typically used to scale a dependent item's quantity based on its parent for calculating subtotals. -
getFullSubscriptionPeriodUnitAmount
public javax.money.MonetaryAmount getFullSubscriptionPeriodUnitAmount()The unit price of the item (price of one) for the length of a full subscription period. This serves an informational purpose for downstream services. For net new signups, it's just the typical recurring price. -
getProratedUnitAmountBetweenPeriodStartAndActionDate
public javax.money.MonetaryAmount getProratedUnitAmountBetweenPeriodStartAndActionDate()The subscription item price per unit prorated for the period between the period start date and the action date and the regardless of the subscription action being taken or the payment strategy. This serves as informational purposes for downstream services. For example, if a subscription's typical recurring price is $30/month and the subscription sign up date is on 4/1, the action date is on 4/11, and the next bill date is on 5/1, the prorated unit amount between the period start date and the action date would be $10. Note that this is the price per unit not including discounts, discounts are recorded ingetAdjustmentPriceDetailsByAdjustmentRef() -
getProratedUnitAmountBetweenActionAndNextBillDate
public javax.money.MonetaryAmount getProratedUnitAmountBetweenActionAndNextBillDate()The subscription item price per unit prorated for the period between the action date and the next invoice date regardless of the subscription action being taken or the payment strategy. This serves as informational purposes for downstream services. For example, if a subscription's typical recurring price is $30/month and the subscription sign up date is on 4/1, the action date is on 4/11, and the next bill date is on 5/1, the prorated unit amount between the action date and the next bill date would be $20. Note that this is the price per unit not including discounts, discounts are recorded ingetAdjustmentPriceDetailsByAdjustmentRef() -
getProratedUnitAmount
public javax.money.MonetaryAmount getProratedUnitAmount()The subscription item price per unit, prorated relative to the next invoice date. For a new purchase, this reflects the full date range. For edits, upgrades, & downgrades, this reflects the prorated price between the action & the end of the billing period.Note that this is the price per unit not including discounts, discounts are recorded in
getAdjustmentPriceDetailsByAdjustmentRef() -
getCreditedUnitAmount
public javax.money.MonetaryAmount getCreditedUnitAmount()For edits, upgrades, and downgrades on a subscription that’s using anDefaultSubscriptionPaymentStrategy.PREPAIDpayment strategy, the customer has already paid the full amount for this billing cycle at the previous rate. For example, consider a customer who is upgrading from 10 to 20 licenses at $1 each half-way through a 30-day month. The user prorated amount would be $10 for 20 licenses. This user has already partially paid for 10 of the licenses, so they will be due a credit of $5 toward the second-half-of-the-month amount. Note: This typically only impacts the first period in the estimatedFuturePayments list.Note that this is the price per unit not including discounts, discounts are recorded in
getAdjustmentPriceDetailsByAdjustmentRef() -
getPriorUnbilledUnitAmount
public javax.money.MonetaryAmount getPriorUnbilledUnitAmount()Prior to an edit, upgrade, or downgrade on a subscription that’s using a Postpaid payment strategy, the system will have prior unbilled charges that will be part of the next invoice. In this case, the user will owe this in addition to the prorated charges for the changes being made. For example, consider a customer who is upgrading from 10 to 20 licenses at $1 each half-way through a 30-day month. The user prorated amount would be $10 for 20 licenses. This user also owes $5 for access to the 10 licenses in the first half of the month. Note: This typically only impacts the first period in the estimatedFuturePayments list.Note that this is the price per unit not including discounts, discounts are recorded in
getAdjustmentPriceDetailsByAdjustmentRef() -
getRemainderOfTermsUnitAmount
public javax.money.MonetaryAmount getRemainderOfTermsUnitAmount()The unit amount to charge for the remainder of terms ifthe remainder of terms is being charged. Note: This typically only impacts the first period in the estimatedFuturePayments list. -
getQuantity
The item's quantity following the subscription action (e.g. create, edit, upgrade, downgrade, etc.). -
getDueNowQuantityOverride
An item's quantity override value used for "due now" price calculations where the item's quantity decreased due to the subscription action. -
getExistingSubscriptionItemId
The existing subscription item's id prior the subscription action (e.g. edit, upgrade, downgrade, etc.). -
getExistingSubscriptionItemQuantity
The existing subscription item's quantity prior the subscription action (e.g. edit, upgrade, downgrade, etc.). -
getExistingSubscriptionItemUnitPrice
@Nullable public javax.money.MonetaryAmount getExistingSubscriptionItemUnitPrice()The existing subscription item's unit price prior the subscription action (e.g. edit, upgrade, downgrade, etc.). -
getCurrency
public javax.money.CurrencyUnit getCurrency()Currency of this subscription -
getAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
getAdjustmentPriceDetailsByAdjustmentRef
The map ofSubscriptionItemAdjustmentPriceDetailby adjustment reference, containing the details about how the discount affects the prorated unit amount, credited amount, and prior unbilled amount. -
setCartItemId
Reference to the subscriptionCartItem. If the subscription item has been removed as part of the action, then this value will be null. -
setItemRefType
Type of item that this object represents. For example, BLC_PRODUCT. -
setItemRef
Reference to the id of the item represented by this object. For example, the product id. -
setItemName
Name of the item identified bygetItemRefType()&getItemRef(). -
setParentItemRefType
Type of the parent subscription item's backing item if this is a child subscription item -
setParentItemRef
Reference of the parent subscription item's backing item if this is a child subscription item -
setParentQuantity
The item's parent quantity following the subscription action (e.g. create, edit, upgrade, downgrade, etc.). This is typically used to scale a dependent item's quantity based on its parent for calculating subtotals. -
setParentExistingQuantity
The item's parent existing quantity prior to the subscription action (e.g. create, edit, upgrade, downgrade, etc.). This is typically used to scale a dependent item's quantity based on its parent for calculating subtotals. -
setFullSubscriptionPeriodUnitAmount
public void setFullSubscriptionPeriodUnitAmount(javax.money.MonetaryAmount fullSubscriptionPeriodUnitAmount) The unit price of the item (price of one) for the length of a full subscription period. This serves an informational purpose for downstream services. For net new signups, it's just the typical recurring price. -
setProratedUnitAmountBetweenPeriodStartAndActionDate
public void setProratedUnitAmountBetweenPeriodStartAndActionDate(javax.money.MonetaryAmount proratedUnitAmountBetweenPeriodStartAndActionDate) The subscription item price per unit prorated for the period between the period start date and the action date and the regardless of the subscription action being taken or the payment strategy. This serves as informational purposes for downstream services. For example, if a subscription's typical recurring price is $30/month and the subscription sign up date is on 4/1, the action date is on 4/11, and the next bill date is on 5/1, the prorated unit amount between the period start date and the action date would be $10. Note that this is the price per unit not including discounts, discounts are recorded ingetAdjustmentPriceDetailsByAdjustmentRef() -
setProratedUnitAmountBetweenActionAndNextBillDate
public void setProratedUnitAmountBetweenActionAndNextBillDate(javax.money.MonetaryAmount proratedUnitAmountBetweenActionAndNextBillDate) The subscription item price per unit prorated for the period between the action date and the next invoice date regardless of the subscription action being taken or the payment strategy. This serves as informational purposes for downstream services. For example, if a subscription's typical recurring price is $30/month and the subscription sign up date is on 4/1, the action date is on 4/11, and the next bill date is on 5/1, the prorated unit amount between the action date and the next bill date would be $20. Note that this is the price per unit not including discounts, discounts are recorded ingetAdjustmentPriceDetailsByAdjustmentRef() -
setProratedUnitAmount
public void setProratedUnitAmount(javax.money.MonetaryAmount proratedUnitAmount) The subscription item price per unit, prorated relative to the next invoice date. For a new purchase, this reflects the full date range. For edits, upgrades, & downgrades, this reflects the prorated price between the action & the end of the billing period.Note that this is the price per unit not including discounts, discounts are recorded in
getAdjustmentPriceDetailsByAdjustmentRef() -
setCreditedUnitAmount
public void setCreditedUnitAmount(javax.money.MonetaryAmount creditedUnitAmount) For edits, upgrades, and downgrades on a subscription that’s using anDefaultSubscriptionPaymentStrategy.PREPAIDpayment strategy, the customer has already paid the full amount for this billing cycle at the previous rate. For example, consider a customer who is upgrading from 10 to 20 licenses at $1 each half-way through a 30-day month. The user prorated amount would be $10 for 20 licenses. This user has already partially paid for 10 of the licenses, so they will be due a credit of $5 toward the second-half-of-the-month amount. Note: This typically only impacts the first period in the estimatedFuturePayments list.Note that this is the price per unit not including discounts, discounts are recorded in
getAdjustmentPriceDetailsByAdjustmentRef() -
setPriorUnbilledUnitAmount
public void setPriorUnbilledUnitAmount(javax.money.MonetaryAmount priorUnbilledUnitAmount) Prior to an edit, upgrade, or downgrade on a subscription that’s using a Postpaid payment strategy, the system will have prior unbilled charges that will be part of the next invoice. In this case, the user will owe this in addition to the prorated charges for the changes being made. For example, consider a customer who is upgrading from 10 to 20 licenses at $1 each half-way through a 30-day month. The user prorated amount would be $10 for 20 licenses. This user also owes $5 for access to the 10 licenses in the first half of the month. Note: This typically only impacts the first period in the estimatedFuturePayments list.Note that this is the price per unit not including discounts, discounts are recorded in
getAdjustmentPriceDetailsByAdjustmentRef() -
setRemainderOfTermsUnitAmount
public void setRemainderOfTermsUnitAmount(javax.money.MonetaryAmount remainderOfTermsUnitAmount) The unit amount to charge for the remainder of terms ifthe remainder of terms is being charged. Note: This typically only impacts the first period in the estimatedFuturePayments list. -
setQuantity
The item's quantity following the subscription action (e.g. create, edit, upgrade, downgrade, etc.). -
setDueNowQuantityOverride
An item's quantity override value used for "due now" price calculations where the item's quantity decreased due to the subscription action. -
setExistingSubscriptionItemId
The existing subscription item's id prior the subscription action (e.g. edit, upgrade, downgrade, etc.). -
setExistingSubscriptionItemQuantity
The existing subscription item's quantity prior the subscription action (e.g. edit, upgrade, downgrade, etc.). -
setExistingSubscriptionItemUnitPrice
public void setExistingSubscriptionItemUnitPrice(@Nullable javax.money.MonetaryAmount existingSubscriptionItemUnitPrice) The existing subscription item's unit price prior the subscription action (e.g. edit, upgrade, downgrade, etc.). -
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) Currency of this subscription -
setAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
setAdjustmentPriceDetailsByAdjustmentRef
public void 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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-