Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Orders
    • Serializers
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Interfaces
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AbstractInvoiceServiceFactory
  • InvoiceArchiveReadService
  • InvoiceArchiveWriteService
  • InvoiceFileEntitler
  • InvoiceFileFinder
  • InvoiceListGenerator
  • InvoiceListItemCollection
  • InvoiceServiceFactory
  • InvoiceStorage

Class InvoiceArchiveReadService

Class InvoiceListArchiveReadService

InvoiceArchiveReadService implements InvoiceArchiveReadServiceInterface
Package: Invoice
Category: System
Located at Services/Core/Invoice/InvoiceArchiveReadService.inc.php

Methods summary

public
# __construct( InvoiceListGeneratorInterface $listGenerator, InvoiceFileFinderInterface $fileFinder )

InvoiceListArchiveReadService constructor.

InvoiceListArchiveReadService constructor.

Parameters

$listGenerator
$fileFinder
public InvoiceListItemCollection
# getInvoiceListByConditions( array $conditions = [], IntType $startIndex = null, IntType $maxCount = null, StringType $orderBy = null )

Returns an invoice list item collection by the given conditions. The other arguments helps to control fetched data.

Returns an invoice list item collection by the given conditions. The other arguments helps to control fetched data.

Parameters

$conditions
(Optional) Conditions for tht where clause.
$startIndex
(Optional) Start index for the limit clause.
$maxCount
(Optional) Max count for the limit clause.
$orderBy
(Optional) Sort order of fetched data.

Returns

InvoiceListItemCollection

Implementation of

InvoiceArchiveReadServiceInterface::getInvoiceListByConditions()
public FileDownloadInformation
# getInvoiceFileDownloadInfoByInvoiceId( IdType $invoiceId )

Returns the invoice file download information.

Returns the invoice file download information.

Parameters

$invoiceId
invoice_id of expected entry.

Returns

FileDownloadInformation

Implementation of

InvoiceArchiveReadServiceInterface::getInvoiceFileDownloadInfoByInvoiceId()

Properties summary

protected InvoiceListGeneratorInterface $listGenerator
#
protected InvoiceFileFinderInterface $fileFinder
#
API documentation generated by ApiGen