Module: Paypal::Ipn::Masspay
- Defined in:
- lib/paypal/ipn/types/masspay.rb
Instance Method Summary collapse
- #payment_status ⇒ Object
- #payment_unclaimed? ⇒ Boolean
- #txn_id ⇒ Object (also: #transaction_id)
Instance Method Details
#payment_status ⇒ Object
4 5 6 |
# File 'lib/paypal/ipn/types/masspay.rb', line 4 def payment_status params["status_1"] if params end |
#payment_unclaimed? ⇒ Boolean
8 9 10 |
# File 'lib/paypal/ipn/types/masspay.rb', line 8 def payment_unclaimed? payment_status == "Unclaimed" end |
#txn_id ⇒ Object Also known as: transaction_id
12 13 14 |
# File 'lib/paypal/ipn/types/masspay.rb', line 12 def txn_id params["masspay_txn_id_1"] if params end |