--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Performs an authorization transaction
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>money</tt> - The amount to be authorized as an integer value in cents.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>credit_card</tt> - The CreditCard object to be used as the funding source for the transaction.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>options</tt> - A hash of optional parameters.
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: <tt>:order_id</tt> - A unique reference for this order. (maximum of 20 characters).
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: <tt>:email</tt> - The customer's email address
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: <tt>:customer</tt> - The Customer Number for Purchase Card Level II Transactions
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: <tt>:billing_address</tt> - The customer's billing address as a hash of address information.
    - !ruby/object:SM::Flow::LIST 
      contents: 
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:address1</tt> - The billing address street
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:city</tt> - The billing address city
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:state</tt> - The billing address state
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:country</tt> - The 2 digit ISO billing address country code
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:zip</tt> - The billing address zip code
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:phone</tt> - The billing address phone number
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:fax</tt> - The billing address fax number
      type: :BULLET
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: <tt>:shipping_address</tt> - The customer's shipping address as a hash of address information.
    - !ruby/object:SM::Flow::LIST 
      contents: 
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:name</tt> - The name at the shipping address
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:address1</tt> - The shipping address street
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:city</tt> - The shipping address city
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:state</tt> - The shipping address state code
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:country</tt> - The 2 digit ISO shipping address country code
      - !ruby/struct:SM::Flow::LI 
        label: "*"
        body: <tt>:zip</tt> - The shipping address zip code
      type: :BULLET
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: <tt>:tax</tt> - The tax amount for the transaction as an Integer value in cents. Maps to Sage <tt>T_tax</tt>.
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: <tt>:shipping</tt> - The shipping amount for the transaction as an Integer value in cents. Maps to Sage <tt>T_shipping</tt>.
    type: :BULLET
  type: :BULLET
full_name: ActiveMerchant::Billing::SageGateway#authorize
is_singleton: false
name: authorize
params: (money, credit_card, options = {})
visibility: public
