Click or drag to resize

IOperationServiceRegisterPaymentSystem Method

Registers payment system.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
IDisposable RegisterPaymentSystem(
	IPaymentProcessor paymentProcessor,
	bool canProcessPaymentReturnWithoutOrder = false,
	FiscalPaymentTypeGroup fiscalPaymentTypeGroup = FiscalPaymentTypeGroup.Default
)

Parameters

paymentProcessor
Type: Resto.Front.ApiIPaymentProcessor
Payment plugin paymentProcessor.
canProcessPaymentReturnWithoutOrder (Optional)
Type: SystemBoolean
Can process payment return without order.
fiscalPaymentTypeGroup (Optional)
Type: Resto.Front.Api.Data.PaymentsFiscalPaymentTypeGroup
Puts the registered payment system to specified group overriding its payment group value.

Return Value

Type: IDisposable
See Also