Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • 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
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • 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
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Interfaces

  • InvoiceArchiveReadServiceInterface
  • InvoiceArchiveWriteServiceInterface
  • InvoiceFileEntitlerInterface
  • InvoiceListGeneratorInterface
  • InvoiceRepositoryInterface
  • InvoiceServiceSettingsInterface

Interface InvoiceListGeneratorInterface

Interface InvoiceListGeneratorInterface

Direct known implementers

InvoiceListGenerator

Package: Invoice\Interfaces
Category: System
Located at Services/Core/Invoice/Interfaces/InvoiceListGeneratorInterface.inc.php

Methods summary

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
public InvoiceListItemCollection
# filterInvoiceList( array $filterParameters, IntType $startIndex = null, IntType $maxCount = null, StringType $orderBy = null )

Filter invoice list items by the provided parameters.

Filter invoice list items by the provided parameters.

The following slug names need to be used: - invoiceNumber => invoices.invoice_number - invoiceDate => invoices.invoice_date - sum => invoices.total_sum - customer => invoices.billing_firstname invoices.billing_lastname - group => invoices.customer_status_name - countryIsoCode => invoices.billing_country_iso_code_2 - orderNumber => invoices.order_id - orderDate => invoices.order_date_purchased - paymentMethod => invoices.payment_class - status => orders_status.orders_status_name

Parameters

$filterParameters
Contains the column slug-names and their values.
$startIndex
The start index of the wanted array to be returned (default = null).
$maxCount
Maximum amount of items which should be returned (default = null).
$orderBy
A string which defines how the items should be ordered (default = null).

Returns

InvoiceListItemCollection

Throws

BadMethodCallException
InvalidArgumentException
public integer
# filterInvoiceListCount( array $filterParameters )

Get the filtered invoice count.

Get the filtered invoice count.

This number is useful for pagination functionality where the app needs to know the number of the filtered rows.

Parameters

$filterParameters

Returns

integer

Throws

BadMethodCallException
API documentation generated by ApiGen