public function LineItemCollectionInterface::setCurrencyCode in Payment 8.2
Sets the line items' ISO 4217 currency code.
Parameters
string $currency_code:
Return value
static
2 methods override LineItemCollectionInterface::setCurrencyCode()
- LineItemCollection::setCurrencyCode in src/
LineItemCollection.php - Sets the line items' ISO 4217 currency code.
- Payment::setCurrencyCode in src/
Entity/ Payment.php - Sets the line items' ISO 4217 currency code.
File
- src/
LineItemCollectionInterface.php, line 19
Class
- LineItemCollectionInterface
- Defines a line item collection.
Namespace
Drupal\paymentCode
public function setCurrencyCode($currency_code);