Add mode
constants into Checkout\Session
#1151
Merged
mode
constants into Checkout\Session
#1151