Promotion.Builder |
Promotion.Builder.amount(Float amount) |
If a subscription is present, indicates the total amount of promotional subscription
credits.
|
static Promotion.Builder |
Promotion.builder() |
Create a new builder.
|
Promotion.Builder |
Promotion.Builder.copy(Promotion model) |
|
Promotion.Builder |
Promotion.Builder.currencyUnit(String currencyUnit) |
Currency unit associated with the promotion.
|
Promotion.Builder |
Promotion.Builder.duration(Integer duration) |
Specifies how long the promotion related to the subscription, if any, is valid in
duration units.
|
Promotion.Builder |
Promotion.Builder.durationUnit(String durationUnit) |
Unit for the duration.
|
Promotion.Builder |
Promotion.Builder.isIntentToPay(Boolean isIntentToPay) |
Speficies whether or not the customer intends to pay after the promotion has expired.
|
Promotion.Builder |
Promotion.Builder.status(Promotion.Status status) |
If a subscription is present, indicates the current status of the subscription promotion.
|
Promotion.Builder |
Promotion.Builder.timeExpired(Date timeExpired) |
Date and time when the promotion ends.
|
Promotion.Builder |
Promotion.Builder.timeStarted(Date timeStarted) |
Date and time when the promotion starts.
|
Promotion.Builder |
Promotion.toBuilder() |
|