Class: PayPal::AdaptivePayments::Receiver

Inherits:
Object
  • Object
show all
Includes:
Common::Base
Defined in:
lib/paypal/adaptive_payments/receiver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Common::Base

#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



5
6
7
# File 'lib/paypal/adaptive_payments/receiver.rb', line 5

def amount
  @amount
end

#emailObject

Returns the value of attribute email.



6
7
8
# File 'lib/paypal/adaptive_payments/receiver.rb', line 6

def email
  @email
end

#invoice_idObject

Returns the value of attribute invoice_id.



7
8
9
# File 'lib/paypal/adaptive_payments/receiver.rb', line 7

def invoice_id
  @invoice_id
end

#payment_sub_typeObject

Returns the value of attribute payment_sub_type.



9
10
11
# File 'lib/paypal/adaptive_payments/receiver.rb', line 9

def payment_sub_type
  @payment_sub_type
end

#payment_typeObject

Returns the value of attribute payment_type.



8
9
10
# File 'lib/paypal/adaptive_payments/receiver.rb', line 8

def payment_type
  @payment_type
end

#phoneObject

Returns the value of attribute phone.



10
11
12
# File 'lib/paypal/adaptive_payments/receiver.rb', line 10

def phone
  @phone
end

#primaryObject

Returns the value of attribute primary.



11
12
13
# File 'lib/paypal/adaptive_payments/receiver.rb', line 11

def primary
  @primary
end

Instance Method Details

#set_phone(value) ⇒ Object



13
14
15
# File 'lib/paypal/adaptive_payments/receiver.rb', line 13

def set_phone(value)
  self.phone = build_value(PayPal::AdaptivePayments::Phone, value)
end