Marks a checkout as completed - checkout.complete boolean is set to true.
checkout.complete
true
The markCheckoutAsCompleted() function returns a Promise that resolves when the specified checkout is marked as completed.
markCheckoutAsCompleted()
Checkout ID.