Class OrderItemAttributeConstants.Subscription
java.lang.Object
com.broadleafcommerce.orderoperation.domain.OrderItemAttributeConstants.Subscription
- Enclosing class:
- OrderItemAttributeConstants
Constants for
OrderItem.getAttributes() for subscription order items.- Since:
- Order Operation Service 2.2.0, Release Train 2.3.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringFor 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.static final StringPrior 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.static final StringThe due now price, prorated relative to the next invoice date. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DUE_NOW_PRORATED_AMOUNT
The due now price, 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.- See Also:
-
DUE_NOW_CREDITED_AMOUNT
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.- See Also:
-
DUE_NOW_PRIOR_UNBILLED_AMOUNT
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.- See Also:
-
-
Constructor Details
-
Subscription
public Subscription()
-