public function PaymentReceipt::getComment in Ubercart 8.4
Returns the comment attached to the payment.
Return value
string The comment.
Overrides PaymentReceiptInterface::getComment
File
- payment/
uc_payment/ src/ Entity/ PaymentReceipt.php, line 130
Class
- PaymentReceipt
- Defines the payment receipt entity class.
Namespace
Drupal\uc_payment\EntityCode
public function getComment() {
return $this
->get('comment')->value;
}