* @param {boolean=} includeLabel * @return {!Array<?>} * @override
(includeLabel = true)
| 1507 | * @override |
| 1508 | */ |
| 1509 | toArray(includeLabel = true) { |
| 1510 | const arr = [ |
| 1511 | this.smartboxMessage_, // field 1 - smartbox_message |
| 1512 | this.gpayTransactionId_, // field 2 - gpay_transaction_id |
| 1513 | this.hadLogged_, // field 3 - had_logged |
| 1514 | this.sku_, // field 4 - sku |
| 1515 | this.oldTransactionId_, // field 5 - old_transaction_id |
| 1516 | this.isUserRegistered_, // field 6 - is_user_registered |
| 1517 | this.subscriptionFlow_, // field 7 - subscription_flow |
| 1518 | this.subscriptionTimestamp_ ? this.subscriptionTimestamp_.toArray(includeLabel) : [], // field 8 - subscription_timestamp |
| 1519 | ]; |
| 1520 | if (includeLabel) { |
| 1521 | arr.unshift(this.label()); |
| 1522 | } |
| 1523 | return arr; |
| 1524 | } |
| 1525 | |
| 1526 | /** |
| 1527 | * @return {string} |