Class: Paypal::Payment::Recurring::Activation

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal/payment/recurring/activation.rb

Instance Method Summary (collapse)

Methods inherited from Base

#initialize

Methods included from Util

#==, formatted_amount, #numeric_attribute?, to_numeric

Constructor Details

This class inherits a constructor from Paypal::Base

Instance Method Details

- (Object) to_params



6
7
8
9
10
11
# File 'lib/paypal/payment/recurring/activation.rb', line 6

def to_params
  {
    :INITAMT => Util.formatted_amount(self.initial_amount),
    :FAILEDINITAMTACTION => self.failed_action
  }
end