def customer_data(amount, creditcard, gateway_options)
      { 'Amount' => double_money(amount),
        'Enabled' => false,
        'BillingAddress' => address_hash(creditcard, gateway_options, :billing_address),
        'PaymentMethods' => ['PaymentMethod' => { 'MethodType' => 'CreditCard',
                                                  'MethodName' => creditcard.cc_type,
                                                  "SecondarySort" => 1,
                                                  'CardNumber' => creditcard.number,
                                                  'CardExpiration' => expiration_date(creditcard),
                                                  'CardCode' => creditcard.verification_value,
                                                  'AvsStreet' => gateway_options[:billing_address][:address1],
                                                  'AvsZip' => gateway_options[:billing_address][:zip]
                                                 }] }
    end
def customer_data(amount, creditcard, gateway_options)
      { 'Amount' => double_money(amount),
        'Enabled' => false,
        'BillingAddress' => address_hash(creditcard, gateway_options, :billing_address),
        'PaymentMethods' => ['PaymentMethod' => { 'MethodType' => 'CreditCard',
                                                  'MethodName' => creditcard.cc_type,
                                                  "SecondarySort" => 1,
                                                  'CardNumber' => creditcard.number,
                                                  'CardExpiration' => expiration_date(creditcard),
                                                  'CardCode' => creditcard.verification_value,
                                                  'AvsStreet' => gateway_options[:billing_address][:address1],
                                                  'AvsZip' => gateway_options[:billing_address][:zip]
                                                 }] }
    end
http://wiki.usaepay.com/developer/soap-1.4/objects/customerobject