Class: PayPal::SDK::Invoice::DataTypes::SearchInvoicesResponse

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/invoice/data_types.rb

Overview

The response object for SearchInvoices.

Class Method Summary collapse

Class Method Details

.load_membersObject



832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/paypal-sdk/invoice/data_types.rb', line 832

def self.load_members
  include ResponseStatus
  object_of :responseEnvelope, ResponseEnvelope, :required => true
  # Number of invoices that matched the search. 
  object_of :count, Integer, :required => true
  # Page of invoice summaries that matched the search. 
  object_of :invoiceList, InvoiceSummaryListType
  # Page number of result set. 
  object_of :page, Integer, :required => true
  # True if another page of invoice summary results exists. 
  object_of :hasNextPage, Boolean, :required => true
  # True if a previous page of invoice summary results exists. 
  object_of :hasPreviousPage, Boolean, :required => true
  array_of :error, ErrorData
end