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 InvoiceStorage

Class InvoiceStorage

InvoiceStorage implements InvoiceStorageInterface
Package: Invoice
Category: System
Located at Services/Core/Invoice/InvoiceStorage.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $db )

InvoiceStorage constructor.

InvoiceStorage constructor.

Parameters

$db
public integer
# add( InvoiceInformation $invoiceInfo )

Adds a new invoice in the database.

Adds a new invoice in the database.

Parameters

$invoiceInfo
Entity with invoice information.

Returns

integer
The invoice_id of the new database entry.

Implementation of

InvoiceStorageInterface::add()
public
# deleteByInvoiceId( IdType $invoiceId )

Removes an invoice entry from the database.

Removes an invoice entry from the database.

Parameters

$invoiceId
invoice_id of entry to be removed.

Returns


$this|InvoiceStorage Same instance for chained method calls.

Implementation of

InvoiceStorageInterface::deleteByInvoiceId()

Properties summary

protected CI_DB_query_builder $db
#
protected string $tableName
# 'invoices'
API documentation generated by ApiGen