Class: PayPal::Invoice::Response::Details

Inherits:
Object
  • Object
show all
Includes:
Common::Response
Defined in:
lib/paypal/invoice/response/details.rb

Instance Attribute Summary collapse

Attributes included from Common::Response

#error, #response_envelope

Instance Method Summary collapse

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

#invoiceObject

Returns the value of attribute invoice.



6
7
8
# File 'lib/paypal/invoice/response/details.rb', line 6

def invoice
  @invoice
end

#invoice_detailsObject

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_idObject

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_urlObject

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_detailsObject

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