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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Create a recurring payment.
- !ruby/struct:SM::Flow::P 
  body: This transaction creates a new Automated Recurring Billing (ARB) subscription. Your account must have ARB enabled.
- !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 charged to the customer at each interval. Either an Integer value in cents or a Money object.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>creditcard</tt> -- The CreditCard details for the transaction.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>options</tt> -- A hash of parameters.
  type: :BULLET
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Options
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:interval</tt> -- A hash containing information about the interval of time between payments. Must contain the keys <tt>:length</tt> and <tt>:unit</tt>. <tt>:unit</tt> can be either <tt>:months</tt> or <tt>:days</tt>. If <tt>:unit</tt> is <tt>:months</tt> then <tt>:interval</tt> must be an integer between 1 and 12 inclusive. If <tt>:unit</tt> is <tt>:days</tt> then <tt>:interval</tt> must be an integer between 7 and 365 inclusive. For example, to charge the customer once every three months the hash would be +{ :unit =&gt; :months, :interval =&gt; 3 }+ (REQUIRED)
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:duration</tt> -- A hash containing keys for the <tt>:start_date</tt> the subscription begins (also the date the initial billing occurs) and the total number of billing <tt>:occurences</tt> or payments for the subscription. (REQUIRED)
  type: :BULLET
full_name: ActiveMerchant::Billing::AuthorizeNetGateway#recurring
is_singleton: false
name: recurring
params: (money, creditcard, options={})
visibility: public
