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