Interface NextBillingRetryDateCalculator
- All Known Implementing Classes:
DefaultNextBillingRetryDateCalculator
public interface NextBillingRetryDateCalculator
This class is responsible for determining the next retry date on failed payments/refunds on a
BillingEventPayment.-
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateNextBillingDate(RetryPayment billingEventPayment, BillingRetrySchedule retrySchedule) Calculates and sets theBillingEventPayment.getNextRetryDate()in theBillingEventPayment.
-
Method Details
-
calculateNextBillingDate
Calculates and sets theBillingEventPayment.getNextRetryDate()in theBillingEventPayment.
An important note is that this does not look at or set theBillingEventPayment.getPaymentStatus().- Parameters:
billingEventPayment- TheBillingEventPaymentto calculate the next retry date for.
-