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 InvoiceArchiveWriteService

Class InvoiceArchiveWriteService

InvoiceArchiveWriteService implements InvoiceArchiveWriteServiceInterface
Package: Invoice
Category: System
Located at Services/Core/Invoice/InvoiceArchiveWriteService.inc.php

Methods summary

public
# __construct( InvoiceStorageInterface $invoiceStorage, InvoiceFileEntitlerInterface $fileEntitler, AbstractFileStorage $fileStorage )

InvoiceListArchiveWriteService constructor.

InvoiceListArchiveWriteService constructor.

Parameters

$invoiceStorage
$fileEntitler
$fileStorage
public integer
# importInvoiceFile( ExistingFile $invoiceFile, InvoiceInformation $invoiceInfo )

Imports the given invoice file and store their information in the database.

Imports the given invoice file and store their information in the database.

Parameters

$invoiceFile
Name of pdf invoice file.
$invoiceInfo
Value objects which holds the invoice information

Returns

integer
Invoice id.

Implementation of

InvoiceArchiveWriteServiceInterface::importInvoiceFile()
public
# deleteInvoiceById( IdType $invoiceId )

Removes an invoice from the database by the given invoice id.

Removes an invoice from the database by the given invoice id.

Parameters

$invoiceId
Id of invoice entry to be removed.

Returns


$this|InvoiceArchiveWriteServiceInterface

Implementation of

InvoiceArchiveWriteServiceInterface::deleteInvoiceById()
API documentation generated by ApiGen