public function SmsMessageResult::getCreditsUsed in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getCreditsUsed()
- 8 src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getCreditsUsed()
Same name and namespace in other branches
- 2.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getCreditsUsed()
- 2.1.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::getCreditsUsed()
Gets the credits consumed for this transaction.
Return value
float|null The credits consumed for this transaction, or NULL if unknown.
Overrides SmsMessageResultInterface::getCreditsUsed
File
- src/
Message/ SmsMessageResult.php, line 139
Class
- SmsMessageResult
- The result of an SMS messaging transaction.
Namespace
Drupal\sms\MessageCode
public function getCreditsUsed() {
return $this->creditsUsed;
}