The allocateElectronicGood
chain is executed when called by the processElectronicShippingGroup
chain.
The following sections describe each processor in the pipeline chain.
createElectronicGood
This processor creates a gift certificate by using the createClaimableGiftCertificate
method of ClaimableManager
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes the |
handleElectronicSenderType
This processor determines how the electronic good is to be delivered by checking useTemplateEmailSender
property of ElectronicFulfiller
. If it is true, control passes to deliverElectronicGoodByTemplate
. Otherwise, control passes to deliverElectronicGoodByListener
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes the |
deliverElectronicGoodByTemplate
This processor sends the electronic good out via e-mail using the GiftCertificateEmailTemplate
of the OrderFulfiller
. Execution of this chain then stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |
deliverElectronicGoodByListener
This processor delivers the electronic good out via e-mail using EmailListener
property of the OrderFulfiller
. Execution of this chain then stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |