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



197
198
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 197

def 
end

#currencyObject

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 currency
end

#feeObject

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 fee
end

#grossObject

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 gross
end

#item_idObject

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



193
194
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 193

def item_id
end

#itemsObject

Collection of notification items returned for MassPay transactions



201
202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/active_merchant/billing/integrations/paypal/notification.rb', line 201

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



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

def transaction_id
end