Module: ActiveMerchant::Billing::Integrations::Paypal::MassPayNotification

Defined in:
lib/active_merchant/billing/integrations/paypal/notification.rb

Instance Method Summary collapse

Instance Method Details

#accountObject

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



189
190
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 189

def 
end

#currencyObject

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



181
182
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 181

def currency
end

#feeObject

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



177
178
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 177

def fee
end

#grossObject

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



173
174
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 173

def gross
end

#item_idObject

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



185
186
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 185

def item_id
end

#itemsObject

Collection of notification items returned for MassPay transactions



193
194
195
196
197
198
199
200
201
202
203
204
205
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 193

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



169
170
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 169

def transaction_id
end