Skip to content

Commit 226697d

Browse files
committed
Add a __toString method to GenerateBarcodeResponse
1 parent b738611 commit 226697d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ComplexTypes/GenerateBarcodeResponse.php

+8
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,12 @@ public function setBarcode($Barcode)
3636
$this->Barcode = $Barcode;
3737
return $this;
3838
}
39+
40+
/**
41+
* @return string
42+
*/
43+
public function __toString()
44+
{
45+
return $this->Barcode;
46+
}
3947
}

0 commit comments

Comments
 (0)