Interface IQuoteConnector2
Enhanced Quote Connector abilities: modify state changes (approvals)
Inherited Members
Namespace: SuperOffice.CRM
Assembly: SuperOffice.Plugins.dll
Syntax
public interface IQuoteConnector2 : IQuoteConnector, IDisposable, IPlugin
Methods
OnQuoteVersionApproved(QuoteVersionContextInfo)
Called when quote that needs approval is approved.
Declaration
QuoteVersionResponseInfo OnQuoteVersionApproved(QuoteVersionContextInfo context)
Parameters
Type | Name | Description |
---|---|---|
QuoteVersionContextInfo | context | Quote version after approval |
Returns
Type | Description |
---|---|
QuoteVersionResponseInfo | Updated quote version |
OnQuoteVersionRejected(QuoteVersionContextInfo)
Called when quote that needs approval is rejected.
Declaration
QuoteVersionResponseInfo OnQuoteVersionRejected(QuoteVersionContextInfo context)
Parameters
Type | Name | Description |
---|---|---|
QuoteVersionContextInfo | context | Version state after rejection |
Returns
Type | Description |
---|---|
QuoteVersionResponseInfo | Updated version state. |
OnQuoteVersionRequestApproval(QuoteVersionContextInfo)
Called when a version needs approval before it can be sent.
Declaration
QuoteVersionResponseInfo OnQuoteVersionRequestApproval(QuoteVersionContextInfo context)
Parameters
Type | Name | Description |
---|---|---|
QuoteVersionContextInfo | context | Quote Version that needs approval |
Returns
Type | Description |
---|---|
QuoteVersionResponseInfo | Updated version state. |
Extension Methods
EnumUtil.MapEnums<From, To>(From)