Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Failed ¶ added in v3.1.0
type Failed struct { Name string Reason process.FailedReason }
Failed state
type FormParameter ¶ added in v3.1.0
FormParameter holds redirect related form data
type PlaceOrderContext ¶ added in v3.1.0
type PlaceOrderContext struct { Cart *dto.DecoratedCart OrderInfos *PlacedOrderInfos State State UUID string }
PlaceOrderContext infos
type PlacedOrderInfos ¶ added in v3.1.0
type PlacedOrderInfos struct { PaymentInfos []application.PlaceOrderPaymentInfo PlacedOrderInfos []placeorder.PlacedOrderInfo Email string PlacedDecoratedCart *dto.DecoratedCart }
PlacedOrderInfos infos
type PostRedirect ¶ added in v3.1.0
type PostRedirect struct { Name string URL string Parameters []FormParameter }
PostRedirect state
func (*PostRedirect) MapFrom ¶ added in v3.1.0
func (s *PostRedirect) MapFrom(pctx process.Context)
MapFrom the internal process state to the graphQL state fields
type ShowIframe ¶ added in v3.1.0
ShowIframe state
func (*ShowIframe) MapFrom ¶ added in v3.1.0
func (s *ShowIframe) MapFrom(pctx process.Context)
MapFrom the internal process state to the graphQL state fields
type StartPlaceOrderResult ¶ added in v3.1.0
type StartPlaceOrderResult struct {
UUID string
}
StartPlaceOrderResult result of start place order
type StateMapper ¶ added in v3.1.0
type StateMapper struct {
// contains filtered or unexported fields
}
StateMapper to create dto states from context states
func (*StateMapper) Inject ¶ added in v3.1.0
func (sm *StateMapper) Inject(stateProvider StateProvider) *StateMapper
Inject dependencies
type StateProvider ¶ added in v3.1.0
StateProvider returns a state instance
type WaitForCustomer ¶ added in v3.1.0
type WaitForCustomer struct {
Name string
}
WaitForCustomer state
func (*WaitForCustomer) MapFrom ¶ added in v3.1.0
func (s *WaitForCustomer) MapFrom(pctx process.Context)
MapFrom the internal process state to the graphQL state fields
Click to show internal directories.
Click to hide internal directories.