Sha256: 253e27cb0a8673589410a858bcc4eeea74550f0f3a3554cf1820354616ff73ce
Contents?: true
Size: 756 Bytes
Versions: 1
Compression:
Stored size: 756 Bytes
Contents
module PayPal module ExpressCheckout module Response class Authorization < Base has_fields :payment, :amount # mapping( # :authorization_id => :AUTHORIZATIONID, # :transaction_id => :TRANSACTIONID, # :amount => :AMT, # :msg_sub_id => :MSGSUBID, # :payment_status => :PAYMENTSTATUS, # :pending_reason => :PENDINGREASON, # :protection_eligibility => :PROTECTIONELIGIBILITY, # :protection_eligibility_type => :PROTECTIONELIGIBILITYTYPE # ) def pending? payment_status == 'Pending' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paypal-payment-0.1.2 | lib/paypal/express_checkout/response/authorization.rb |