Use this API to create, update and delete recurring sales for subscriptions.
Methods
Invoke via \Components\Commerce\RecurringSales::method()
Click a method name to copy it.
string
cartRecurringMessage()
When recurring products exist in the cart, this function returns a string that can be used as a label underneath a summary of the order to describe the recurring products.
Return
string
bool
delete($iRecurringSaleId, $bDeleteMedia)
Deletes a record from the database
Parameters
$iRecurringSaleId
int unsigned
A record's recurring_sale_id
$bDeleteMedia
mixed
Return
Returns true if record existed and was deleted, otherwise false