Sha256: 11d56e9c5dae0665f3aa3513e92b8489dbb03c5adcb363878f5d9125f00e6e54

Contents?: true

Size: 682 Bytes

Versions: 10

Compression:

Stored size: 682 Bytes

Contents

module PayPal
  module Recurring
    module Response
      class Details < Base
        mapping(
          :status       => :CHECKOUTSTATUS,
          :email        => :EMAIL,
          :email        => :EMAIL,
          :payer_id     => :PAYERID,
          :payer_status => :PAYERSTATUS,
          :first_name   => :FIRSTNAME,
          :last_name    => :LASTNAME,
          :country      => :COUNTRYCODE,
          :currency     => :CURRENCYCODE,
          :amount       => :AMT,
          :description  => :DESC,
          :ipn_url      => :NOTIFYURL
        )

        def agreed?
          params[:BILLINGAGREEMENTACCEPTEDSTATUS] == "1"
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
didil-paypal-recurring-1.1.1 lib/paypal/recurring/response/details.rb
paypal-recurring-1.1.0 lib/paypal/recurring/response/details.rb
paypal-recurring-1.0.0 lib/paypal/recurring/response/details.rb
paypal-recurring-0.1.6 lib/paypal/recurring/response/details.rb
paypal-recurring-0.1.5 lib/paypal/recurring/response/details.rb
paypal-recurring-0.1.4 lib/paypal/recurring/response/details.rb
paypal-recurring-0.1.3 lib/paypal/recurring/response/details.rb
paypal-recurring-0.1.2 lib/paypal/recurring/response/details.rb
paypal-recurring-0.1.1 lib/paypal/recurring/response/details.rb
paypal-recurring-0.1.0 lib/paypal/recurring/response/details.rb