Class OrderItemAttributeConstants.Subscription

java.lang.Object
com.broadleafcommerce.orderoperation.domain.OrderItemAttributeConstants.Subscription
Enclosing class:
OrderItemAttributeConstants

public static final class OrderItemAttributeConstants.Subscription extends Object
Constants for OrderItem.getAttributes() for subscription order items.
Since:
Order Operation Service 2.2.0, Release Train 2.3.0
  • Field Details

    • DUE_NOW_PRORATED_AMOUNT

      public static final String 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

      public static final String DUE_NOW_CREDITED_AMOUNT
      For edits, upgrades, and downgrades on a subscription that’s using an DefaultSubscriptionPaymentStrategy.PREPAID payment 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

      public static final String 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()