case classSubscriptionDetailsViaAmend(subscriptionId: String, paymentDate: DateTime, numberOfPeriods: Int = 2) extends Action[AmendResult] with Product with Serializable
A hack to get when a subscription charge dates will be effective. While it's possible to get this data from an
Invoice of a subscription that charges the user immediately (e.g. annual partner sign up), it's not possible to get this for data
for subscriptions that charge in the future (subs offer that charges 6 months in). To achieve the latter an amend
call with preview can be used - this works for the first case too
The dummy amend also sets the subscription to be evergreen - an infinite term length
while the real subscriptions have one year terms. This is so we still get invoices for annual subs which
have already been billed
Linear Supertypes
Serializable, Serializable, Product, Equals, Action[AmendResult], AnyRef, Any
A hack to get when a subscription charge dates will be effective. While it's possible to get this data from an Invoice of a subscription that charges the user immediately (e.g. annual partner sign up), it's not possible to get this for data for subscriptions that charge in the future (subs offer that charges 6 months in). To achieve the latter an amend call with preview can be used - this works for the first case too
The dummy amend also sets the subscription to be evergreen - an infinite term length while the real subscriptions have one year terms. This is so we still get invoices for annual subs which have already been billed