Module: AdaptivePayments::ReceiverAliases

Included in:
PayError, PaymentInfo, RefundInfo
Defined in:
lib/pp-adaptive/types/aliases/receiver_aliases.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/pp-adaptive/types/aliases/receiver_aliases.rb', line 3

def self.included(base)
  base.instance_eval do
    alias_params :receiver, {
      :receiver_email  => :email,
      :receiver_amount => :amount,
      :payment_type    => :payment_type,
      :payment_subtype => :payment_subtype,
      :invoice_id      => :invoice_id
    }
  end
end