Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FacebookStateProcessor ¶
type FacebookStateProcessor struct {
// contains filtered or unexported fields
}
func (*FacebookStateProcessor) Init ¶
func (p *FacebookStateProcessor) Init() error
func (*FacebookStateProcessor) Process ¶
func (p *FacebookStateProcessor) Process(req *api_request.CustomerRequest) error
func (*FacebookStateProcessor) ProcessOrderCreated ¶
func (p *FacebookStateProcessor) ProcessOrderCreated(cartID, orderHash, email string) error
type IStateProcessor ¶
type IStateProcessor interface { Init() error Process(req *api_request.CustomerRequest) error ProcessOrderCreated(cartID, orderHash, email string) error }
func NewFacebookStateProcessor ¶
func NewFacebookStateProcessor(cfg *config.Application, stateService services.IStateService, shopemaaService services.IShopemaaService, messenger *messenger.Messenger) (IStateProcessor, error)
func NewTwilioStateProcessor ¶
func NewTwilioStateProcessor(cfg *config.Application, stateService services.IStateService, shopemaaService services.IShopemaaService, twilioService services.ITwilioService) (IStateProcessor, error)
type TwilioStateProcessor ¶
type TwilioStateProcessor struct {
// contains filtered or unexported fields
}
func (*TwilioStateProcessor) Init ¶
func (p *TwilioStateProcessor) Init() error
func (*TwilioStateProcessor) Process ¶
func (p *TwilioStateProcessor) Process(req *api_request.CustomerRequest) error
func (*TwilioStateProcessor) ProcessOrderCreated ¶
func (p *TwilioStateProcessor) ProcessOrderCreated(cartID, orderHash, email string) error
Click to show internal directories.
Click to hide internal directories.