ERP Core API Developer Reference

fferpcore.SendingHookRequest

global class SendingHookRequest

The data required to enable a fferpcore.SendingHook to deliver messages.

Methods

SendingHookRequest

global SendingHookRequest(fferpcore.MessagingSystemService.Sender sender, fferpcore.MessagingSystemService.MessageTypeSpecifier specifier, List<Id> recordIds, fferpcore.MessagingAction.DeliveryType deliveryType)

Constructs a SendingHookRequest.

Input Parameters

Name Type Description
sender fferpcore.MessagingSystemService.Sender The sender that is to deliver messages.
specifier fferpcore.MessagingSystemService.MessageTypeSpecifier The message type with which to deliver the messages.
recordIds List<Id> The IDs of the associated records.
deliveryType fferpcore.MessagingAction.DeliveryType The type of delivery specified by the Process Builder.

getSender

global fferpcore.MessagingSystemService.Sender getSender()

Return Value

The sender that is to deliver messages.

getSpecifier

global fferpcore.MessagingSystemService.MessageTypeSpecifier getSpecifier()

Return Value

The message type with which to deliver the messages.

getRecordIds

global List<Id> getRecordIds()

Return Value

The IDs of the associated records.

getDeliveryType

global fferpcore.MessagingAction.DeliveryType getDeliveryType()

Return Value

The type of delivery specified by the Process Builder.