* Convert struct to string * @this {!Order} * @returns {!string} Struct value string
()
| 859 | * @returns {!string} Struct value string |
| 860 | */ |
| 861 | toString () { |
| 862 | let result = '' |
| 863 | result += 'Order(' |
| 864 | result += 'id=' |
| 865 | result += this.id.toString() |
| 866 | result += ',symbol=' |
| 867 | if (this.symbol != null) { |
| 868 | result += '"' + this.symbol.toString() + '"' |
| 869 | } else { |
| 870 | result += 'null' |
| 871 | } |
| 872 | result += ',side=' |
| 873 | result += this.side.toString() |
| 874 | result += ',type=' |
| 875 | result += this.type.toString() |
| 876 | result += ',price=' |
| 877 | result += this.price.toString() |
| 878 | result += ',volume=' |
| 879 | result += this.volume.toString() |
| 880 | result += ',tp=' |
| 881 | result += this.tp.toString() |
| 882 | result += ',sl=' |
| 883 | result += this.sl.toString() |
| 884 | result += ')' |
| 885 | return result |
| 886 | } |
| 887 | |
| 888 | /** |
| 889 | * Inspect struct |
no outgoing calls
no test coverage detected