Module: Paypal::Ipn::Masspay

Defined in:
lib/paypal/ipn/types/masspay.rb

Instance Method Summary collapse

Instance Method Details

#payment_statusObject



4
5
6
# File 'lib/paypal/ipn/types/masspay.rb', line 4

def payment_status
  params["status_1"] if params
end

#payment_unclaimed?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/paypal/ipn/types/masspay.rb', line 8

def payment_unclaimed?
  payment_status == "Unclaimed"
end

#txn_idObject 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