* Convert struct to string * @this {!Order} * @returns {!string} Struct value string
()
| 820 | * @returns {!string} Struct value string |
| 821 | */ |
| 822 | toString () { |
| 823 | let result = '' |
| 824 | result += 'Order(' |
| 825 | result += 'id=' |
| 826 | result += this.id.toString() |
| 827 | result += ',symbol=' |
| 828 | if (this.symbol != null) { |
| 829 | result += '"' + this.symbol.toString() + '"' |
| 830 | } else { |
| 831 | result += 'null' |
| 832 | } |
| 833 | result += ',side=' |
| 834 | result += this.side.toString() |
| 835 | result += ',type=' |
| 836 | result += this.type.toString() |
| 837 | result += ',price=' |
| 838 | result += this.price.toString() |
| 839 | result += ',volume=' |
| 840 | result += this.volume.toString() |
| 841 | result += ')' |
| 842 | return result |
| 843 | } |
| 844 | |
| 845 | /** |
| 846 | * Inspect struct |
no test coverage detected