WordPress at a glance
function is not described

WC_Order::set_transaction_id() public WC 1.0

Set transaction id.

{} It's a method of the class: WC_Order{}

No Hooks.

Return

Null. Nothing.

Usage

$WC_Order = new WC_Order();
$WC_Order->set_transaction_id( $value );
$value(string) (required)
Transaction id.

Code of WC_Order::set_transaction_id() WC 5.0.0

<?php
public function set_transaction_id( $value ) {
	$this->set_prop( 'transaction_id', $value );
}