latestOrderId property
The order id of the latest order associated with the purchase of the subscription.
For autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or the last recurring order id (success, pending, or declined order). For prepaid subscription, this is the order id associated with the queried purchase token.
Implementation
core.String? latestOrderId;