     @items = []
     @billingAddress = new Sprangular.Address
     @shippingAddress = new Sprangular.Address
-    @shipToBillAddress = true
+    @billToShipAddress = true
     @itemTotal = 0
     @taxTotal = 0
     @shipTotal = 0

  updateTotals: ->
    @total = @itemTotal + @adjustmentTotal + @taxTotal + @shipTotal

  actualShippingAddress: ->
    if @shipToBillAddress
      @billingAddress
    else
      @shippingAddress

  resetAddresses: (user) ->
    if @billingAddress.isEmpty() && user && user.addresses.length > 0
      @billingAddress = user.billingAddress

    if @shippingAddress.isEmpty() && user && user.addresses.length > 0 && !@shipToBillAddress
      @shippingAddress = user.shippingAddress

  resetCreditCard: (user) ->

    @adjustmentTotal = Number(data.adjustment_total)
    @total = Number(data.total)
    @token = data.token
    @billToShipAddress = data.use_billing
    @adjustments = Sprangular.extend(data.adjustments, Sprangular.Adjustment)
    @shippingRates = []
    @completedAt = data.completed_at
