IPaymentProcessorCanPaySilently Method |
Whether to perform payment operation silently.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxbool CanPaySilently(
decimal sum,
Guid? orderId,
Guid paymentTypeId,
IPaymentDataContext context
)
Parameters
- sum Decimal
- Sum to return.
- orderId NullableGuid
- Order Id.
- paymentTypeId Guid
- Payment type Id.
- context IPaymentDataContext
- IPaymentDataContext object to work with plugin saved data in Syrve storage.
Return Value
BooleanIf the payment operation must be processed silently then return true. Otherwise return false.
Exceptions
See Also