public function LineItemCollectionInterface::setLineItem in Payment 8.2
Sets a line item.
Parameters
\Drupal\payment\Plugin\Payment\LineItem\PaymentLineItemInterface $line_item:
Return value
static
2 methods override LineItemCollectionInterface::setLineItem()
- LineItemCollection::setLineItem in src/
LineItemCollection.php - Sets a line item.
- Payment::setLineItem in src/
Entity/ Payment.php - Sets a line item.
File
- src/
LineItemCollectionInterface.php, line 44
Class
- LineItemCollectionInterface
- Defines a line item collection.
Namespace
Drupal\paymentCode
public function setLineItem(PaymentLineItemInterface $line_item);