public enum BillingAlignment extends java.lang.Enum<BillingAlignment>
BillingAlignement
supported in Killbill.
The Catalog
will define the billing alignement for each Plan
Plan
,
PlanPhase
,
ProductCategory
Enum Constant and Description |
---|
ACCOUNT
All
Subscription s whose Plan has been configured with this alignment will
be invoiced using the Account billCycleDay. |
BUNDLE
All
Subscription s whose Plan has been configured with this alignment will
be invoiced using the startDate of the first billable PlanPhase for the ProductCategory.BASE
Plan . |
SUBSCRIPTION
All
Subscription s whose Plan has been configured with this alignment will
be invoiced using the startDate of the first billable PlanPhase for the
Subscription . |
Modifier and Type | Method and Description |
---|---|
static BillingAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BillingAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BillingAlignment ACCOUNT
Subscription
s whose Plan
has been configured with this alignment will
be invoiced using the Account
billCycleDay.public static final BillingAlignment BUNDLE
Subscription
s whose Plan
has been configured with this alignment will
be invoiced using the startDate of the first billable PlanPhase
for the ProductCategory.BASE
Plan
.public static final BillingAlignment SUBSCRIPTION
Subscription
s whose Plan
has been configured with this alignment will
be invoiced using the startDate of the first billable PlanPhase
for the
Subscription
.public static BillingAlignment[] values()
for (BillingAlignment c : BillingAlignment.values()) System.out.println(c);
public static BillingAlignment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010-2019. All Rights Reserved.