You are here

public function ShipmentItem::getTariffCode in Commerce Shipping 8.2

Gets the tariff code.

This could be a Harmonized System (HS) code, or a Harmonized Tariff Schedule (HTS) code. Needed on customs forms.

Return value

string|null The tariff code, or NULL if not defined.

1 call to ShipmentItem::getTariffCode()
ShipmentItem::toArray in src/ShipmentItem.php
Gets the array representation of the shipment item.

File

src/ShipmentItem.php, line 147

Class

ShipmentItem
Represents a shipment item.

Namespace

Drupal\commerce_shipping

Code

public function getTariffCode() {
  return $this->tariffCode;
}