* @param {boolean=} includeLabel * @return {!Array<?>} * @override
(includeLabel = true)
| 1255 | * @override |
| 1256 | */ |
| 1257 | toArray(includeLabel = true) { |
| 1258 | const arr = [ |
| 1259 | this.usedEntitlement_ ? this.usedEntitlement_.toArray(includeLabel) : [], // field 1 - used_entitlement |
| 1260 | this.clientEventTime_ ? this.clientEventTime_.toArray(includeLabel) : [], // field 2 - client_event_time |
| 1261 | this.entitlementSource_, // field 3 - entitlement_source |
| 1262 | this.entitlementResult_, // field 4 - entitlement_result |
| 1263 | this.token_, // field 5 - token |
| 1264 | this.isUserRegistered_, // field 6 - is_user_registered |
| 1265 | this.subscriptionTimestamp_ ? this.subscriptionTimestamp_.toArray(includeLabel) : [], // field 7 - subscription_timestamp |
| 1266 | ]; |
| 1267 | if (includeLabel) { |
| 1268 | arr.unshift(this.label()); |
| 1269 | } |
| 1270 | return arr; |
| 1271 | } |
| 1272 | |
| 1273 | /** |
| 1274 | * @return {string} |