Class: PayPal::AdaptivePayments::Receiver
- Inherits:
-
Object
- Object
- PayPal::AdaptivePayments::Receiver
- Includes:
- Common::Base
- Defined in:
- lib/paypal/adaptive_payments/receiver.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#email ⇒ Object
Returns the value of attribute email.
-
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
-
#payment_sub_type ⇒ Object
Returns the value of attribute payment_sub_type.
-
#payment_type ⇒ Object
Returns the value of attribute payment_type.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#primary ⇒ Object
Returns the value of attribute primary.
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
#amount ⇒ Object
Returns the value of attribute amount.
5 6 7 |
# File 'lib/paypal/adaptive_payments/receiver.rb', line 5 def amount @amount end |
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/paypal/adaptive_payments/receiver.rb', line 6 def email @email end |
#invoice_id ⇒ Object
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_type ⇒ Object
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_type ⇒ Object
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 |
#phone ⇒ Object
Returns the value of attribute phone.
10 11 12 |
# File 'lib/paypal/adaptive_payments/receiver.rb', line 10 def phone @phone end |
#primary ⇒ Object
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 |