 	_getRemoveGiftRegistryURL: =>
 		@HOST_ORDER_FORM_URL + "/giftRegistry/#{@_getOrderFormId()}/remove"
 
-# Compatibility with old clients - DEPRECATED!
-window.vtex.checkout.API = CheckoutAPI
-window.vtex.checkout.API.version = 'VERSION'
-
-window.vtex.checkout.SDK = CheckoutAPI
-window.vtex.checkout.SDK.version = 'VERSION'+
+window.vtex or= {}
+window.vtex.Checkout = Checkout
+window.vtex.Checkout.version = 'VERSION'
+window.vtex.checkout = new window.vtex.Checkout()

window.vtex or= {}
window.vtex.checkout or= {}

###
  UTILITY FUNCTIONS
###

readSubcookie = (name, cookie) ->
	mapize(cookie, '&', '=', ((s)->s), unescape)[name]

# Checkout module
#
# Offers convenient methods for using the Checkout API in JS.
class Checkout
	# Instantiate the SDK.
	#
	# @param ajax [Function] (default = $.ajax) an AJAX function that must follow the convention, i.e., accept an object of options such as 'url', 'type' and 'data', and return a promise.
