# File lib/active_merchant/billing/gateways/braintree.rb, line 80 def store(payment_source, options = {}) billing_id = options.delete(:billing_id).to_s || true post = {} post[:customer_vault] = 'add_customer' if billing_id post[:customer_vault_id] = billing_id end add_payment_source(post, payment_source, options) add_address(post, payment_source, options) add_customer_data(post, options) commit(nil,nil, post) end