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 InvoiceFileFinder

Class InvoiceFileFinder

InvoiceFileFinder implements InvoiceFileFinderInterface
Package: Invoice
Category: System
Located at Services/Core/Invoice/InvoiceFileFinder.inc.php

Methods summary

public
# __construct( ExistingDirectory $storageDirectory )

InvoiceFileFinder constructor.

InvoiceFileFinder constructor.

Parameters

$storageDirectory
public string
# getFilenameByInvoiceId( IdType $invoiceId )

Returns the invoice download file name by the given invoice id.

Returns the invoice download file name by the given invoice id.

Parameters

$invoiceId
invoice_id of expected entry.

Returns

string

Throws

FileNotFoundException
When no file was found by the given pattern.

Implementation of

InvoiceFileFinderInterface::getFilenameByInvoiceId()

Properties summary

protected string $storageDirectory
#
API documentation generated by ApiGen