Class: PayPal::Invoice::PaymentDetails
- Defined in:
- lib/paypal/invoice/payment_details.rb
Instance Attribute Summary collapse
-
#other_payment ⇒ Object
Returns the value of attribute other_payment.
-
#paypal_payment ⇒ Object
Returns the value of attribute paypal_payment.
-
#via_paypal ⇒ Object
Returns the value of attribute via_paypal.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Common::Base
#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore
Instance Attribute Details
#other_payment ⇒ Object
Returns the value of attribute other_payment.
6 7 8 |
# File 'lib/paypal/invoice/payment_details.rb', line 6 def other_payment @other_payment end |
#paypal_payment ⇒ Object
Returns the value of attribute paypal_payment.
5 6 7 |
# File 'lib/paypal/invoice/payment_details.rb', line 5 def paypal_payment @paypal_payment end |
#via_paypal ⇒ Object
Returns the value of attribute via_paypal.
4 5 6 |
# File 'lib/paypal/invoice/payment_details.rb', line 4 def via_paypal @via_paypal end |
Instance Method Details
#set_other_payment(value) ⇒ Object
12 13 14 |
# File 'lib/paypal/invoice/payment_details.rb', line 12 def set_other_payment(value) self.other_payment = build_value(OtherPaymentDetails, value) end |
#set_paypal_payment(value) ⇒ Object
8 9 10 |
# File 'lib/paypal/invoice/payment_details.rb', line 8 def set_paypal_payment(value) self.paypal_payment = build_value(PaypalPaymentDetails, value) end |