#[non_exhaustive]pub enum ProrationBillingMode {
ProratedImmediately,
ProratedNextBillingPeriod,
FullImmediately,
FullNextBillingPeriod,
DoNotBill,
}
Expand description
How Paddle should handle proration calculation for changes made to a subscription or its items. Required when making changes that impact billing.
For automatically-collected subscriptions, responses may take longer than usual if a proration billing mode that collects for payment immediately is used.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ProratedImmediately
Paddle calculates the prorated amount for the subscription changes based on the current billing cycle, then creates a transaction to collect immediately.
ProratedNextBillingPeriod
Paddle calculates the prorated amount for the subscription changes based on the current billing cycle, then schedules them to be billed on the next renewal.
FullImmediately
Paddle does not calculate proration for the subscription changes, creating a transaction to collect for the full amount immediately.
FullNextBillingPeriod
Paddle does not calculate proration for the subscription changes, scheduling for the full amount for the changes to be billed on the next renewal.
DoNotBill
Paddle does not bill for the subscription changes.
Trait Implementations§
Source§impl Clone for ProrationBillingMode
impl Clone for ProrationBillingMode
Source§fn clone(&self) -> ProrationBillingMode
fn clone(&self) -> ProrationBillingMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more