Module: OffsitePayments::Integrations::Paypal::MassPayNotification

Defined in:
lib/offsite_payments/integrations/paypal.rb

Instance Method Summary collapse

Instance Method Details

#accountObject

Mass pay returns a collection of MassPay Items, so inspect items to get the values


330
331
# File 'lib/offsite_payments/integrations/paypal.rb', line 330

def 
end

#currencyObject

Mass pay returns a collection of MassPay Items, so inspect items to get the values


322
323
# File 'lib/offsite_payments/integrations/paypal.rb', line 322

def currency
end

#feeObject

Mass pay returns a collection of MassPay Items, so inspect items to get the values


318
319
# File 'lib/offsite_payments/integrations/paypal.rb', line 318

def fee
end

#grossObject

Mass pay returns a collection of MassPay Items, so inspect items to get the values


314
315
# File 'lib/offsite_payments/integrations/paypal.rb', line 314

def gross
end

#item_idObject

Mass pay returns a collection of MassPay Items, so inspect items to get the values


326
327
# File 'lib/offsite_payments/integrations/paypal.rb', line 326

def item_id
end

#itemsObject

Collection of notification items returned for MassPay transactions


334
335
336
337
338
339
340
341
342
343
344
345
346
# File 'lib/offsite_payments/integrations/paypal.rb', line 334

def items
  @items ||= (1..number_of_mass_pay_items).map do |item_number|
    MassPayItem.new(
      params["masspay_txn_id_#{item_number}"],
      params["mc_gross_#{item_number}"],
      params["mc_fee_#{item_number}"],
      params["mc_currency_#{item_number}"],
      params["unique_id_#{item_number}"],
      params["receiver_email_#{item_number}"],
      params["status_#{item_number}"]
    )
  end
end

#transaction_idObject

Mass pay returns a collection of MassPay Items, so inspect items to get the values


310
311
# File 'lib/offsite_payments/integrations/paypal.rb', line 310

def transaction_id
end