Class: Etapper::API::PagedCartElementsResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/etapper/api/service.rb

Overview

etapestryAPI/servicePagedCartElementsResponse

count - SOAP::SOAPInt
data - Etapper::API::Collection
pages - SOAP::SOAPInt
start - SOAP::SOAPInt
total - SOAP::SOAPInt
usedCache - SOAP::SOAPBoolean

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, data = nil, pages = nil, start = nil, total = nil, usedCache = nil) ⇒ PagedCartElementsResponse

Returns a new instance of PagedCartElementsResponse.



1412
1413
1414
1415
1416
1417
1418
1419
# File 'lib/etapper/api/service.rb', line 1412

def initialize(count = nil, data = nil, pages = nil, start = nil, total = nil, usedCache = nil)
  @count = count
  @data = data
  @pages = pages
  @start = start
  @total = total
  @usedCache = usedCache
end

Instance Attribute Details

#countObject

Returns the value of attribute count.



1405
1406
1407
# File 'lib/etapper/api/service.rb', line 1405

def count
  @count
end

#dataObject

Returns the value of attribute data.



1406
1407
1408
# File 'lib/etapper/api/service.rb', line 1406

def data
  @data
end

#pagesObject

Returns the value of attribute pages.



1407
1408
1409
# File 'lib/etapper/api/service.rb', line 1407

def pages
  @pages
end

#startObject

Returns the value of attribute start.



1408
1409
1410
# File 'lib/etapper/api/service.rb', line 1408

def start
  @start
end

#totalObject

Returns the value of attribute total.



1409
1410
1411
# File 'lib/etapper/api/service.rb', line 1409

def total
  @total
end

#usedCacheObject

Returns the value of attribute usedCache.



1410
1411
1412
# File 'lib/etapper/api/service.rb', line 1410

def usedCache
  @usedCache
end