public function LineItemCollection::setCurrencyCode in Payment 8.2
Sets the line items' ISO 4217 currency code.
Parameters
string $currency_code:
Return value
static
Overrides LineItemCollectionInterface::setCurrencyCode
File
- src/
LineItemCollection.php, line 43
Class
- LineItemCollection
- Provides a line item collection.
Namespace
Drupal\paymentCode
public function setCurrencyCode($currency_code) {
$this->currencyCode = $currency_code;
return $this;
}