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

  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) ->

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