Click or drag to resize

IOperationServiceCanProductBePaidWithPaymentType Method

Function describes if the product is compatible with payment type, i.e. payment type can be used to pay for the product.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
bool CanProductBePaidWithPaymentType(
	IProduct product,
	IPaymentType paymentType
)

Parameters

product
Type: Resto.Front.Api.Data.AssortmentIProduct
Product.
paymentType
Type: Resto.Front.Api.Data.PaymentsIPaymentType
Payment type.

Return Value

Type: Boolean
See Also