Sha256: 5d31fbda5dbd9d1bcd7eb5f621d528bb6c845570346b5661aff02a1e30311221

Contents?: true

Size: 354 Bytes

Versions: 68

Compression:

Stored size: 354 Bytes

Contents

module Paypal
  module Payment
    class Recurring::Summary < Base
      attr_optional :next_billing_date, :cycles_completed, :cycles_remaining, :outstanding_balance, :failed_count, :last_payment_date, :last_payment_amount

      def numeric_attribute?(key)
        super || [:outstanding_balance, :failed_count].include?(key)
      end
    end
  end
end

Version data entries

68 entries across 68 versions & 4 rubygems

Version Path
ianfleeton-paypal-express-1.1.0 lib/paypal/payment/recurring/summary.rb
ianfleeton-paypal-express-1.0.0 lib/paypal/payment/recurring/summary.rb
ianfleeton-paypal-express-0.8.7 lib/paypal/payment/recurring/summary.rb
ianfleeton-paypal-express-0.8.6 lib/paypal/payment/recurring/summary.rb
ianfleeton-paypal-express-0.8.5 lib/paypal/payment/recurring/summary.rb
ianfleeton-paypal-express-0.8.4 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.4.1 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.4.0 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.3.0 lib/paypal/payment/recurring/summary.rb
ianfleeton-paypal-express-0.8.3 lib/paypal/payment/recurring/summary.rb
ianfleeton-paypal-express-0.8.2 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.2.1 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.2.0 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.1.0 lib/paypal/payment/recurring/summary.rb
dfg-paypal-0.8.2 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.0.1.dev2 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.0.1.dev1 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-1.0.0 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-0.8.2.4 lib/paypal/payment/recurring/summary.rb
creative-paypal-express-0.8.2.3 lib/paypal/payment/recurring/summary.rb