The plan model defines when and how much a customer is charged.
amount
is recurring, and billed at the end of each billing
interval.
off
(boolean set to FALSE), the Plan is paid for the past
period (in arrears).on
(boolean set to TRUE), the Plan is paid upfront (in
advance) for the period.Trial period
for a Plan. This means your customers
can test the Plan without being charged for a certain number of days. This is
optional and if the value is null, the Plan holds 0 day of trial.
Note that the trial period can only be specified in days. A pro-rata is
applied to the Plan regarding the number of days offered.
Customer X
signs up for the Plan Start
(base amount of
10€, with no trial period) on April 15, 2022.
paid in arrears
, this Customer will be charged
5€ for the first month at the end of the period (May 1, 2022).paid in advance
, this Customer is charged 5€
straight away for the first month (April 15, 2022).