iikoFront Api V6 Code Reference
iikoFront Api V6 Code Reference
Resto.Front.Api
IPluginIntegrationService Interface
IPluginIntegrationService Methods
AddButton Method
AddButtonOnClosedOrderView Method
AddButtonOnPastOrderView Method
GetConfigsDirectoryPath Method
GetDataStorageDirectoryPath Method
GetPaymentProcessorSettingsKey Method
GetPluginSettings Method
UpdatePluginSettings Method

# IPluginIntegrationService AddButtonOnPastOrderView Method

Adds action button to display it in the past order screen. Button will be automatically removed on iikoFront restarts or you will dispose method's return value.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    IDisposable AddButtonOnPastOrderView(
    	ButtonOnPastOrderView button
    )

#### Parameters

button
  Type: Resto.Front.Api.UI
  ButtonOnPastOrderView
  Action Button to insert in plugins summary at 'Past order screen' -> 'Additional'.

#### Return Value

Type: IDisposable
You may dispose result to remove button.
See Also

#### Reference

IPluginIntegrationService Interface
Resto.Front.Api Namespace