Documentation ¶
Index ¶
- type Failed
- type FormParameter
- type PaymentRequestAPI
- type PlaceOrderContext
- type PlacedOrderInfos
- type PostRedirect
- type Redirect
- type ShowHTML
- type ShowIframe
- type ShowWalletPayment
- type StartPlaceOrderResult
- type State
- type StateMapper
- type StateProvider
- type Success
- type TriggerClientSDK
- type Wait
- type WaitForCustomer
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 PaymentRequestAPI ¶ added in v3.4.0
type PaymentRequestAPI struct { MethodData string Details string Options string MerchantValidationURL *string CompleteURL string }
PaymentRequestAPI holds all data needed to create a PaymentRequest
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 ShowWalletPayment ¶ added in v3.4.0
type ShowWalletPayment struct { Name string PaymentMethod string PaymentRequestAPI PaymentRequestAPI }
ShowWalletPayment state
func (*ShowWalletPayment) MapFrom ¶ added in v3.4.0
func (s *ShowWalletPayment) 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 TriggerClientSDK ¶ added in v3.5.0
TriggerClientSDK state
func (*TriggerClientSDK) MapFrom ¶ added in v3.5.0
func (t *TriggerClientSDK) MapFrom(pctx process.Context)
MapFrom the internal process state to the graphQL state fields
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