public function PackageType::getRemoteId in Commerce Shipping 8.2
Gets the package type remote ID.
Return value
string The package type remote ID, or "custom" if the package type was not predefined by the remote API.
Overrides PackageTypeInterface::getRemoteId
File
- src/
Plugin/ Commerce/ PackageType/ PackageType.php, line 73
Class
- PackageType
- Defines the class for package types.
Namespace
Drupal\commerce_shipping\Plugin\Commerce\PackageTypeCode
public function getRemoteId() {
return $this->pluginDefinition['remote_id'];
}