Class: PayPal::Invoice::Response::Search

Inherits:
Object
  • Object
show all
Includes:
Common::Response
Defined in:
lib/paypal/invoice/response/search.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

#countObject

Returns the value of attribute count.



5
6
7
# File 'lib/paypal/invoice/response/search.rb', line 5

def count
  @count
end

#has_next_pageObject

Returns the value of attribute has_next_page.



8
9
10
# File 'lib/paypal/invoice/response/search.rb', line 8

def has_next_page
  @has_next_page
end

#has_previous_pageObject

Returns the value of attribute has_previous_page.



9
10
11
# File 'lib/paypal/invoice/response/search.rb', line 9

def has_previous_page
  @has_previous_page
end

#invoice_listObject

Returns the value of attribute invoice_list.



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

def invoice_list
  @invoice_list
end

#pageObject

Returns the value of attribute page.



7
8
9
# File 'lib/paypal/invoice/response/search.rb', line 7

def page
  @page
end

Instance Method Details

#set_invoice_list(value) ⇒ Object



11
12
13
# File 'lib/paypal/invoice/response/search.rb', line 11

def set_invoice_list(value)
  self.invoice_list = build_value(InvoiceSummaryList, value)
end