You are here

public function Shipment::setTransactionId in Ubercart 8.4

Sets the transaction ID of this shipment.

Parameters

string $transaction_id: The transaction ID.

Return value

$this

Overrides ShipmentInterface::setTransactionId

File

shipping/uc_fulfillment/src/Shipment.php, line 194

Class

Shipment
Defines the Shipment class.

Namespace

Drupal\uc_fulfillment

Code

public function setTransactionId($transaction_id) {
  $this->transaction_id = $transaction_id;
  return $this;
}