public function RemoteMapping::getCurrency

Returns the currency.

Return value

int Returns an integer.

Overrides RemoteMappingInterface::getCurrency

File

src/Entity/RemoteMapping.php, line 130

Class

RemoteMapping
Entity class for the tmgmt_remote entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getCurrency() {
  return $this
    ->get('currency')->value;
}