Class: PayPal::AdaptivePayments::ReceiverOptions
- Inherits:
-
Object
- Object
- PayPal::AdaptivePayments::ReceiverOptions
- Includes:
- Common::Base
- Defined in:
- lib/paypal/adaptive_payments/receiver_options.rb
Instance Attribute Summary collapse
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#description ⇒ Object
Returns the value of attribute description.
-
#invoice_data ⇒ Object
Returns the value of attribute invoice_data.
-
#receiver ⇒ Object
Returns the value of attribute receiver.
-
#referred_code ⇒ Object
Returns the value of attribute referred_code.
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
#customer_id ⇒ Object
Returns the value of attribute customer_id.
6 7 8 |
# File 'lib/paypal/adaptive_payments/receiver_options.rb', line 6 def customer_id @customer_id end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/paypal/adaptive_payments/receiver_options.rb', line 5 def description @description end |
#invoice_data ⇒ Object
Returns the value of attribute invoice_data.
7 8 9 |
# File 'lib/paypal/adaptive_payments/receiver_options.rb', line 7 def invoice_data @invoice_data end |
#receiver ⇒ Object
Returns the value of attribute receiver.
8 9 10 |
# File 'lib/paypal/adaptive_payments/receiver_options.rb', line 8 def receiver @receiver end |
#referred_code ⇒ Object
Returns the value of attribute referred_code.
9 10 11 |
# File 'lib/paypal/adaptive_payments/receiver_options.rb', line 9 def referred_code @referred_code end |
Instance Method Details
#set_invoice_data(value) ⇒ Object
11 12 13 |
# File 'lib/paypal/adaptive_payments/receiver_options.rb', line 11 def set_invoice_data(value) self.invoice_data = build_value(InvoiceData, value) end |
#set_receiver(value) ⇒ Object
15 16 17 |
# File 'lib/paypal/adaptive_payments/receiver_options.rb', line 15 def set_receiver(value) self.receiver = build_value(Receiver, value) end |