public function PaymentDeclinedMailInterface::send in Commerce Recurring Framework 8
Sends a payment declined email.
Parameters
\Drupal\commerce_order\Entity\OrderInterface $order: The recurring order.
int $retry_days: Days until next retry.
int $num_retries: Number of past attempts.
int $max_retries: Maximum number of retries allowed.
Return value
bool TRUE if the email was sent successfully, FALSE otherwise.
1 method overrides PaymentDeclinedMailInterface::send()
- PaymentDeclinedMail::send in src/
Mail/ PaymentDeclinedMail.php - Sends a payment declined email.
File
- src/
Mail/ PaymentDeclinedMailInterface.php, line 24
Class
Namespace
Drupal\commerce_recurring\MailCode
public function send(OrderInterface $order, $retry_days, $num_retries, $max_retries);