You are here

public function LineItemCollectionInterface::unsetLineItem in Payment 8.2

Unsets a line item.

Parameters

string $name: The line item's name.

Return value

static

2 methods override LineItemCollectionInterface::unsetLineItem()
LineItemCollection::unsetLineItem in src/LineItemCollection.php
Unsets a line item.
Payment::unsetLineItem in src/Entity/Payment.php
Unsets a line item.

File

src/LineItemCollectionInterface.php, line 54

Class

LineItemCollectionInterface
Defines a line item collection.

Namespace

Drupal\payment

Code

public function unsetLineItem($name);