Class: PayPal::Invoice::Response::Details
- Inherits:
-
Object
- Object
- PayPal::Invoice::Response::Details
- Includes:
- Common::Response
- Defined in:
- lib/paypal/invoice/response/details.rb
Instance Attribute Summary collapse
-
#invoice ⇒ Object
Returns the value of attribute invoice.
-
#invoice_details ⇒ Object
Returns the value of attribute invoice_details.
-
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
-
#invoice_url ⇒ Object
Returns the value of attribute invoice_url.
-
#payment_details ⇒ Object
Returns the value of attribute payment_details.
Attributes included from Common::Response
Instance Method Summary collapse
- #set_invoice(value) ⇒ Object
- #set_invoice_details(value) ⇒ Object
- #set_payment_details(value) ⇒ Object
Methods included from Common::Response
#errors, #set_error, #set_response_envelope, #success?, #valid?
Methods included from Common::Base
#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore
Instance Attribute Details
#invoice ⇒ Object
Returns the value of attribute invoice.
6 7 8 |
# File 'lib/paypal/invoice/response/details.rb', line 6 def invoice @invoice end |
#invoice_details ⇒ Object
Returns the value of attribute invoice_details.
7 8 9 |
# File 'lib/paypal/invoice/response/details.rb', line 7 def invoice_details @invoice_details end |
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
5 6 7 |
# File 'lib/paypal/invoice/response/details.rb', line 5 def invoice_id @invoice_id end |
#invoice_url ⇒ Object
Returns the value of attribute invoice_url.
9 10 11 |
# File 'lib/paypal/invoice/response/details.rb', line 9 def invoice_url @invoice_url end |
#payment_details ⇒ Object
Returns the value of attribute payment_details.
8 9 10 |
# File 'lib/paypal/invoice/response/details.rb', line 8 def payment_details @payment_details end |
Instance Method Details
#set_invoice(value) ⇒ Object
11 12 13 |
# File 'lib/paypal/invoice/response/details.rb', line 11 def set_invoice(value) self.invoice = build_value(Invoice, value) end |
#set_invoice_details(value) ⇒ Object
15 16 17 |
# File 'lib/paypal/invoice/response/details.rb', line 15 def set_invoice_details(value) self.invoice_details = build_value(InvoiceDetails, value) end |
#set_payment_details(value) ⇒ Object
19 20 21 |
# File 'lib/paypal/invoice/response/details.rb', line 19 def set_payment_details(value) self.payment_details = build_value(PaymentDetails, value) end |