Documentation ¶
Index ¶
- func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
- type Commerce_Cart_AdditionalDataResolver
- type Commerce_Cart_CartResolver
- type Commerce_Cart_DefaultPaymentSelectionResolver
- type Commerce_Cart_DeliveryInfoResolver
- type Commerce_Cart_ItemResolver
- type Commerce_Cart_ShippingItemResolver
- type Commerce_Product_PriceInfoResolver
- type Commerce_Search_MetaResolver
- type ComplexityRoot
- type Config
- type DirectiveRoot
- type Module
- type MutationResolver
- type QueryResolver
- type ResolverRoot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type Commerce_Cart_AdditionalDataResolver ¶ added in v3.5.0
type Commerce_Cart_AdditionalDataResolver interface {
CustomAttributes(ctx context.Context, obj *cart.AdditionalData) (*dto.CustomAttributes, error)
}
type Commerce_Cart_CartResolver ¶ added in v3.5.0
type Commerce_Cart_DefaultPaymentSelectionResolver ¶ added in v3.3.0
type Commerce_Cart_DefaultPaymentSelectionResolver interface {
CartSplit(ctx context.Context, obj *cart.DefaultPaymentSelection) ([]*dto.PaymentSelectionSplit, error)
}
type Commerce_Cart_DeliveryInfoResolver ¶ added in v3.5.0
type Commerce_Cart_DeliveryInfoResolver interface {
AdditionalData(ctx context.Context, obj *cart.DeliveryInfo) (*dto.CustomAttributes, error)
}
type Commerce_Cart_ItemResolver ¶ added in v3.5.0
type Commerce_Cart_ShippingItemResolver ¶ added in v3.5.0
type Commerce_Cart_ShippingItemResolver interface {
AppliedDiscounts(ctx context.Context, obj *cart.ShippingItem) (*dto.CartAppliedDiscounts, error)
}
type Commerce_Product_PriceInfoResolver ¶ added in v3.5.0
type Commerce_Search_MetaResolver ¶ added in v3.3.0
type Commerce_Search_MetaResolver interface {
SortOptions(ctx context.Context, obj *domain2.SearchMeta) ([]*searchdto.CommerceSearchSortOption, error)
}
type ComplexityRoot ¶
type ComplexityRoot struct { Commerce_Cart_AdditionalData struct { CustomAttributes func(childComplexity int) int ReservedOrderID func(childComplexity int) int } Commerce_Cart_Address struct { AdditionalAddressLines func(childComplexity int) int City func(childComplexity int) int Company func(childComplexity int) int Country func(childComplexity int) int CountryCode func(childComplexity int) int Email func(childComplexity int) int Firstname func(childComplexity int) int Lastname func(childComplexity int) int MiddleName func(childComplexity int) int PostCode func(childComplexity int) int RegionCode func(childComplexity int) int Salutation func(childComplexity int) int State func(childComplexity int) int Street func(childComplexity int) int StreetNr func(childComplexity int) int Telephone func(childComplexity int) int Title func(childComplexity int) int Vat func(childComplexity int) int } Commerce_Cart_AddressForm struct { AddressLine1 func(childComplexity int) int AddressLine2 func(childComplexity int) int City func(childComplexity int) int Company func(childComplexity int) int Country func(childComplexity int) int CountryCode func(childComplexity int) int Email func(childComplexity int) int Firstname func(childComplexity int) int Lastname func(childComplexity int) int MiddleName func(childComplexity int) int PhoneNumber func(childComplexity int) int PostCode func(childComplexity int) int RegionCode func(childComplexity int) int Salutation func(childComplexity int) int State func(childComplexity int) int Street func(childComplexity int) int StreetNr func(childComplexity int) int Title func(childComplexity int) int Vat func(childComplexity int) int } Commerce_Cart_AppliedDiscount struct { Applied func(childComplexity int) int CampaignCode func(childComplexity int) int CouponCode func(childComplexity int) int IsItemRelated func(childComplexity int) int Label func(childComplexity int) int SortOrder func(childComplexity int) int Type func(childComplexity int) int } Commerce_Cart_AppliedDiscounts struct { ByCampaignCode func(childComplexity int, campaignCode string) int ByType func(childComplexity int, filterType string) int Items func(childComplexity int) int } Commerce_Cart_AppliedGiftCard struct { Applied func(childComplexity int) int Code func(childComplexity int) int HasRemaining func(childComplexity int) int Remaining func(childComplexity int) int } Commerce_Cart_BillingAddressForm struct { FormData func(childComplexity int) int Processed func(childComplexity int) int ValidationInfo func(childComplexity int) int } Commerce_Cart_Cart struct { AdditionalData func(childComplexity int) int AllShippingTitles func(childComplexity int) int AppliedCouponCodes func(childComplexity int) int AppliedGiftCards func(childComplexity int) int AuthenticatedUserID func(childComplexity int) int BelongsToAuthenticatedUser func(childComplexity int) int BillingAddress func(childComplexity int) int DefaultCurrency func(childComplexity int) int Deliveries func(childComplexity int) int EntityID func(childComplexity int) int GetByExternalReference func(childComplexity int, ref string) int GetByItemID func(childComplexity int, itemID string) int GetCartTeaser func(childComplexity int) int GetDeliveryByCode func(childComplexity int, deliveryCode string) int GetDeliveryByItemID func(childComplexity int, itemID string) int GetDeliveryCodes func(childComplexity int) int GetMainShippingEMail func(childComplexity int) int GetPaymentReference func(childComplexity int) int GetTotalItemsByType func(childComplexity int, typeCode string) int GetTotalQty func(childComplexity int, marketPlaceCode string, variantCode string) int GetVoucherSavings func(childComplexity int) int GrandTotal func(childComplexity int) int GrandTotalCharges func(childComplexity int) int HasAppliedCouponCode func(childComplexity int) int HasAppliedGiftCards func(childComplexity int) int HasDeliveryForCode func(childComplexity int, deliveryCode string) int HasRemainingGiftCards func(childComplexity int) int HasShippingCosts func(childComplexity int) int ID func(childComplexity int) int IsEmpty func(childComplexity int) int IsPaymentSelected func(childComplexity int) int ItemCount func(childComplexity int) int ItemRelatedDiscountAmount func(childComplexity int) int NonItemRelatedDiscountAmount func(childComplexity int) int PaymentSelection func(childComplexity int) int ProductCount func(childComplexity int) int Purchaser func(childComplexity int) int ShippingGross func(childComplexity int) int ShippingGrossWithDiscounts func(childComplexity int) int ShippingNet func(childComplexity int) int ShippingNetWithDiscounts func(childComplexity int) int SubTotalGross func(childComplexity int) int SubTotalGrossWithDiscounts func(childComplexity int) int SubTotalNet func(childComplexity int) int SubTotalNetWithDiscounts func(childComplexity int) int SumTotalTaxAmount func(childComplexity int) int TotalDiscountAmount func(childComplexity int) int Totalitems func(childComplexity int) int } Commerce_Cart_CouponCode struct { Code func(childComplexity int) int } Commerce_Cart_CustomAttributes struct { Get func(childComplexity int, key string) int } Commerce_Cart_DecoratedCart struct { Cart func(childComplexity int) int CartSummary func(childComplexity int) int DecoratedDeliveries func(childComplexity int) int GetAllPaymentRequiredItems func(childComplexity int) int GetDecoratedDeliveryByCode func(childComplexity int, deliveryCode string) int } Commerce_Cart_DecoratedDelivery struct { DecoratedItems func(childComplexity int) int Delivery func(childComplexity int) int } Commerce_Cart_DecoratedItem struct { Item func(childComplexity int) int Product func(childComplexity int) int } Commerce_Cart_DefaultPaymentSelection struct { CartSplit func(childComplexity int) int Gateway func(childComplexity int) int TotalValue func(childComplexity int) int } Commerce_Cart_Delivery struct { Cartitems func(childComplexity int) int DeliveryInfo func(childComplexity int) int GrandTotal func(childComplexity int) int HasItems func(childComplexity int) int ItemRelatedDiscountAmount func(childComplexity int) int NonItemRelatedDiscountAmount func(childComplexity int) int ShippingItem func(childComplexity int) int SubTotalGross func(childComplexity int) int SubTotalGrossWithDiscounts func(childComplexity int) int SubTotalNet func(childComplexity int) int SubTotalNetWithDiscounts func(childComplexity int) int SumTotalTaxAmount func(childComplexity int) int TotalDiscountAmount func(childComplexity int) int } Commerce_Cart_DeliveryAddressForm struct { Carrier func(childComplexity int) int DeliveryCode func(childComplexity int) int DesiredTime func(childComplexity int) int FormData func(childComplexity int) int Method func(childComplexity int) int Processed func(childComplexity int) int UseBillingAddress func(childComplexity int) int ValidationInfo func(childComplexity int) int } Commerce_Cart_DeliveryInfo struct { AdditionalData func(childComplexity int) int Carrier func(childComplexity int) int Code func(childComplexity int) int DeliveryLocation func(childComplexity int) int DesiredTime func(childComplexity int) int Method func(childComplexity int) int Workflow func(childComplexity int) int } Commerce_Cart_DeliveryLocation struct { Address func(childComplexity int) int Code func(childComplexity int) int Type func(childComplexity int) int UseBillingAddress func(childComplexity int) int } Commerce_Cart_ExistingCustomerData struct { ID func(childComplexity int) int } Commerce_Cart_Form_Error struct { DefaultLabel func(childComplexity int) int MessageKey func(childComplexity int) int } Commerce_Cart_Form_FieldError struct { DefaultLabel func(childComplexity int) int FieldName func(childComplexity int) int MessageKey func(childComplexity int) int } Commerce_Cart_Form_ValidationInfo struct { FieldErrors func(childComplexity int) int GeneralErrors func(childComplexity int) int } Commerce_Cart_Item struct { AdditionalDataKeys func(childComplexity int) int AdditionalDataValues func(childComplexity int) int AppliedDiscounts func(childComplexity int) int ExternalReference func(childComplexity int) int GetAdditionalData func(childComplexity int, key string) int HasAdditionalDataKey func(childComplexity int, key string) int ID func(childComplexity int) int MarketplaceCode func(childComplexity int) int ProductName func(childComplexity int) int Qty func(childComplexity int) int RowPriceGross func(childComplexity int) int RowPriceNet func(childComplexity int) int SinglePriceGross func(childComplexity int) int SinglePriceNet func(childComplexity int) int SourceID func(childComplexity int) int VariantMarketPlaceCode func(childComplexity int) int } Commerce_Cart_ItemValidationError struct { ErrorMessageKey func(childComplexity int) int ItemID func(childComplexity int) int } Commerce_Cart_KeyValue struct { Key func(childComplexity int) int Value func(childComplexity int) int } Commerce_Cart_PaymentSelection_Split struct { Charge func(childComplexity int) int Qualifier func(childComplexity int) int } Commerce_Cart_PaymentSelection_SplitQualifier struct { ChargeReference func(childComplexity int) int ChargeType func(childComplexity int) int Method func(childComplexity int) int } Commerce_Cart_Person struct { Address func(childComplexity int) int ExistingCustomerData func(childComplexity int) int PersonalDetails func(childComplexity int) int } Commerce_Cart_PersonalDetails struct { DateOfBirth func(childComplexity int) int Nationality func(childComplexity int) int PassportCountry func(childComplexity int) int PassportNumber func(childComplexity int) int } Commerce_Cart_PlacedOrderInfo struct { DeliveryCode func(childComplexity int) int OrderNumber func(childComplexity int) int } Commerce_Cart_PricedCartItem struct { Amount func(childComplexity int) int ItemID func(childComplexity int) int } Commerce_Cart_PricedItems struct { CartItems func(childComplexity int) int ShippingItems func(childComplexity int) int TotalItems func(childComplexity int) int } Commerce_Cart_PricedShippingItem struct { Amount func(childComplexity int) int DeliveryInfoCode func(childComplexity int) int } Commerce_Cart_PricedTotalItem struct { Amount func(childComplexity int) int Code func(childComplexity int) int } Commerce_Cart_QtyRestrictionResult struct { IsRestricted func(childComplexity int) int MaxAllowed func(childComplexity int) int RemainingDifference func(childComplexity int) int RestrictorName func(childComplexity int) int } Commerce_Cart_SelectedPaymentResult struct { Processed func(childComplexity int) int ValidationInfo func(childComplexity int) int } Commerce_Cart_ShippingItem struct { AppliedDiscounts func(childComplexity int) int PriceGross func(childComplexity int) int PriceNet func(childComplexity int) int Tax func(childComplexity int) int TaxAmount func(childComplexity int) int Title func(childComplexity int) int TotalWithDiscountInclTax func(childComplexity int) int } Commerce_Cart_Summary struct { Discounts func(childComplexity int) int GrandTotalWithGiftCards func(childComplexity int) int HasAppliedDiscounts func(childComplexity int) int SumPaymentSelectionCartSplitPriceAmountByMethods func(childComplexity int, methods []string) int SumPaymentSelectionCartSplitValueAmountByMethods func(childComplexity int, methods []string) int SumTaxes func(childComplexity int) int SumTotalDiscountWithGiftCardsAmount func(childComplexity int) int TotalDiscountAmount func(childComplexity int) int TotalGiftCardAmount func(childComplexity int) int } Commerce_Cart_Tax struct { Amount func(childComplexity int) int Rate func(childComplexity int) int Type func(childComplexity int) int } Commerce_Cart_Taxes struct { GetByType func(childComplexity int, taxType string) int Items func(childComplexity int) int } DeliveryCodes func(childComplexity int) int ItemCount func(childComplexity int) int ProductCount func(childComplexity int) int } Commerce_Cart_Totalitem struct { Code func(childComplexity int) int Price func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int } Commerce_Cart_UpdateDeliveryShippingOptions_Result struct { Processed func(childComplexity int) int } Commerce_Cart_ValidationResult struct { CommonErrorMessageKey func(childComplexity int) int HasCommonError func(childComplexity int) int ItemResults func(childComplexity int) int } Commerce_CategoryData struct { Active func(childComplexity int) int Attributes func(childComplexity int) int Code func(childComplexity int) int Name func(childComplexity int) int Path func(childComplexity int) int Promoted func(childComplexity int) int } Commerce_CategoryTree struct { Active func(childComplexity int) int Code func(childComplexity int) int DocumentCount func(childComplexity int) int HasChilds func(childComplexity int) int Name func(childComplexity int) int Path func(childComplexity int) int SubTrees func(childComplexity int) int } Commerce_Category_Attribute struct { Code func(childComplexity int) int Label func(childComplexity int) int Values func(childComplexity int) int } Commerce_Category_AttributeValue struct { Label func(childComplexity int) int Value func(childComplexity int) int } Commerce_Category_Attributes struct { All func(childComplexity int) int Get func(childComplexity int, code string) int Has func(childComplexity int, code string) int } Commerce_Category_SearchResult struct { Category func(childComplexity int) int ProductSearchResult func(childComplexity int) int } Commerce_Checkout_PlaceOrderContext struct { Cart func(childComplexity int) int OrderInfos func(childComplexity int) int State func(childComplexity int) int UUID func(childComplexity int) int } Commerce_Checkout_PlaceOrderPaymentInfo struct { Amount func(childComplexity int) int Gateway func(childComplexity int) int Method func(childComplexity int) int PaymentProvider func(childComplexity int) int Title func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_Form_Parameter struct { Key func(childComplexity int) int Value func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_PaymentRequestAPI struct { CompleteURL func(childComplexity int) int Details func(childComplexity int) int MerchantValidationURL func(childComplexity int) int MethodData func(childComplexity int) int Options func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_Failed struct { Name func(childComplexity int) int Reason func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_FailedReason_CanceledByCustomer struct { Reason func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_FailedReason_CartValidationError struct { Reason func(childComplexity int) int ValidationResult func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_FailedReason_Error struct { Reason func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_FailedReason_PaymentCanceledByCustomer struct { Reason func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_FailedReason_PaymentError struct { Reason func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_PostRedirect struct { Name func(childComplexity int) int Parameters func(childComplexity int) int URL func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_Redirect struct { Name func(childComplexity int) int URL func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_ShowHTML struct { HTML func(childComplexity int) int Name func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_ShowIframe struct { Name func(childComplexity int) int URL func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_ShowWalletPayment struct { Name func(childComplexity int) int PaymentMethod func(childComplexity int) int PaymentRequestAPI func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_Success struct { Name func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_TriggerClientSDK struct { Data func(childComplexity int) int Name func(childComplexity int) int URL func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_Wait struct { Name func(childComplexity int) int } Commerce_Checkout_PlaceOrderState_State_WaitForCustomer struct { Name func(childComplexity int) int } Commerce_Checkout_PlacedOrderInfos struct { Email func(childComplexity int) int PaymentInfos func(childComplexity int) int PlacedOrderInfos func(childComplexity int) int } Commerce_Checkout_StartPlaceOrder_Result struct { UUID func(childComplexity int) int } Commerce_Customer_Address struct { AdditionalAddressLines func(childComplexity int) int City func(childComplexity int) int Company func(childComplexity int) int CountryCode func(childComplexity int) int DefaultBilling func(childComplexity int) int DefaultShipping func(childComplexity int) int Email func(childComplexity int) int Firstname func(childComplexity int) int ID func(childComplexity int) int Lastname func(childComplexity int) int PostCode func(childComplexity int) int Prefix func(childComplexity int) int RegionCode func(childComplexity int) int State func(childComplexity int) int Street func(childComplexity int) int StreetNr func(childComplexity int) int Telephone func(childComplexity int) int } Commerce_Customer_PersonData struct { Birthday func(childComplexity int) int FirstName func(childComplexity int) int Gender func(childComplexity int) int LastName func(childComplexity int) int MainEmail func(childComplexity int) int MiddleName func(childComplexity int) int Nationality func(childComplexity int) int Prefix func(childComplexity int) int } Commerce_Customer_Result struct { Addresses func(childComplexity int) int DefaultBillingAddress func(childComplexity int) int DefaultShippingAddress func(childComplexity int) int GetAddress func(childComplexity int, id string) int ID func(childComplexity int) int PersonalData func(childComplexity int) int } Commerce_Customer_Status_Result struct { IsLoggedIn func(childComplexity int) int UserID func(childComplexity int) int } Commerce_Price struct { Currency func(childComplexity int) int FloatAmount func(childComplexity int) int } Commerce_Price_Charge struct { Price func(childComplexity int) int Reference func(childComplexity int) int Type func(childComplexity int) int Value func(childComplexity int) int } Commerce_Price_ChargeQualifier struct { Reference func(childComplexity int) int Type func(childComplexity int) int } Commerce_Price_Charges struct { GetByChargeQualifierForced func(childComplexity int, qualifier domain.ChargeQualifier) int GetByTypeForced func(childComplexity int, ctype string) int HasChargeQualifier func(childComplexity int, qualifier domain.ChargeQualifier) int HasType func(childComplexity int, ctype string) int Items func(childComplexity int) int } Commerce_Product_ActiveVariantProduct struct { ActiveVariationSelections func(childComplexity int) int Attributes func(childComplexity int) int AvailablePrices func(childComplexity int) int Badges func(childComplexity int) int Categories func(childComplexity int) int Description func(childComplexity int) int Identifier func(childComplexity int) int Loyalty func(childComplexity int) int MarketPlaceCode func(childComplexity int) int Media func(childComplexity int) int Meta func(childComplexity int) int Price func(childComplexity int) int ShortDescription func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int VariantMarketPlaceCode func(childComplexity int) int VariationSelections func(childComplexity int) int } Commerce_Product_ActiveVariationSelection struct { Code func(childComplexity int) int Label func(childComplexity int) int UnitCode func(childComplexity int) int Value func(childComplexity int) int } Commerce_Product_Attribute struct { Code func(childComplexity int) int CodeLabel func(childComplexity int) int Label func(childComplexity int) int Labels func(childComplexity int) int UnitCode func(childComplexity int) int Value func(childComplexity int) int Values func(childComplexity int) int } Commerce_Product_Attributes struct { Attribute func(childComplexity int, key string) int AttributeKeys func(childComplexity int) int Attributes func(childComplexity int) int AttributesByKey func(childComplexity int, keys []string) int HasAttribute func(childComplexity int, key string) int } Commerce_Product_Badge struct { Code func(childComplexity int) int Label func(childComplexity int) int } Commerce_Product_Badges struct { All func(childComplexity int) int First func(childComplexity int) int } Commerce_Product_BundleProduct struct { Attributes func(childComplexity int) int AvailablePrices func(childComplexity int) int Badges func(childComplexity int) int Categories func(childComplexity int) int Choices func(childComplexity int) int Description func(childComplexity int) int Identifier func(childComplexity int) int Loyalty func(childComplexity int) int MarketPlaceCode func(childComplexity int) int Media func(childComplexity int) int Meta func(childComplexity int) int Price func(childComplexity int) int ShortDescription func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int } Commerce_Product_Categories struct { All func(childComplexity int) int Main func(childComplexity int) int } Code func(childComplexity int) int Name func(childComplexity int) int Parent func(childComplexity int) int Path func(childComplexity int) int } Commerce_Product_Choice struct { Active func(childComplexity int) int ActiveOption func(childComplexity int) int Identifier func(childComplexity int) int Label func(childComplexity int) int Options func(childComplexity int) int Required func(childComplexity int) int } Commerce_Product_ConfigurableProduct struct { Attributes func(childComplexity int) int AvailablePrices func(childComplexity int) int Badges func(childComplexity int) int Categories func(childComplexity int) int Description func(childComplexity int) int Identifier func(childComplexity int) int Loyalty func(childComplexity int) int MarketPlaceCode func(childComplexity int) int Media func(childComplexity int) int Meta func(childComplexity int) int Price func(childComplexity int) int ShortDescription func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int VariantSelection func(childComplexity int) int } Commerce_Product_Loyalty struct { AvailablePrices func(childComplexity int) int Earning func(childComplexity int) int Price func(childComplexity int) int } Commerce_Product_Loyalty_EarningInfo struct { Default func(childComplexity int) int Type func(childComplexity int) int } Commerce_Product_Loyalty_PriceInfo struct { Context func(childComplexity int) int Default func(childComplexity int) int DiscountText func(childComplexity int) int Discounted func(childComplexity int) int IsDiscounted func(childComplexity int) int MaxPointsToSpent func(childComplexity int) int MinPointsToSpent func(childComplexity int) int Type func(childComplexity int) int } Commerce_Product_Media struct { All func(childComplexity int) int GetMedia func(childComplexity int, usage string) int } Commerce_Product_MediaItem struct { MimeType func(childComplexity int) int Reference func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int Usage func(childComplexity int) int } Commerce_Product_Meta struct { Keywords func(childComplexity int) int } Commerce_Product_Option struct { Product func(childComplexity int) int Qty func(childComplexity int) int } Commerce_Product_PriceContext struct { ChannelCode func(childComplexity int) int CustomerGroup func(childComplexity int) int DeliveryCode func(childComplexity int) int Locale func(childComplexity int) int } Commerce_Product_PriceInfo struct { ActiveBase func(childComplexity int) int ActiveBaseAmount func(childComplexity int) int ActiveBaseUnit func(childComplexity int) int CampaignRules func(childComplexity int) int Context func(childComplexity int) int Default func(childComplexity int) int DenyMoreDiscounts func(childComplexity int) int DiscountText func(childComplexity int) int Discounted func(childComplexity int) int IsDiscounted func(childComplexity int) int TaxClass func(childComplexity int) int } Commerce_Product_SearchResult struct { Actions func(childComplexity int) int Facets func(childComplexity int) int HasSelectedFacet func(childComplexity int) int Products func(childComplexity int) int Promotion func(childComplexity int) int SearchMeta func(childComplexity int) int Suggestions func(childComplexity int) int } Commerce_Product_SimpleProduct struct { Attributes func(childComplexity int) int AvailablePrices func(childComplexity int) int Badges func(childComplexity int) int Categories func(childComplexity int) int Description func(childComplexity int) int Identifier func(childComplexity int) int Loyalty func(childComplexity int) int MarketPlaceCode func(childComplexity int) int Media func(childComplexity int) int Meta func(childComplexity int) int Price func(childComplexity int) int ShortDescription func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int } Commerce_Product_VariantSelection struct { Attributes func(childComplexity int) int Variants func(childComplexity int) int } Commerce_Product_VariantSelection_Attribute struct { Code func(childComplexity int) int Label func(childComplexity int) int Options func(childComplexity int) int } Commerce_Product_VariantSelection_Attribute_Option struct { Label func(childComplexity int) int OtherAttributesRestrictions func(childComplexity int) int UnitCode func(childComplexity int) int } Commerce_Product_VariantSelection_Match struct { Attributes func(childComplexity int) int Variant func(childComplexity int) int } Commerce_Product_VariantSelection_Match_Attributes struct { Key func(childComplexity int) int Value func(childComplexity int) int } Commerce_Product_VariantSelection_Match_Variant struct { MarketplaceCode func(childComplexity int) int } Commerce_Product_VariantSelection_Option_OtherAttributesRestriction struct { AvailableOptions func(childComplexity int) int Code func(childComplexity int) int } Commerce_Product_VariationSelection struct { Code func(childComplexity int) int Label func(childComplexity int) int Options func(childComplexity int) int } Commerce_Product_VariationSelection_Option struct { Label func(childComplexity int) int State func(childComplexity int) int UnitCode func(childComplexity int) int Variant func(childComplexity int) int } Commerce_Product_VariationSelection_OptionVariant struct { MarketPlaceCode func(childComplexity int) int } Commerce_Search_Action struct { Content func(childComplexity int) int Type func(childComplexity int) int } Commerce_Search_ListFacet struct { HasSelectedItem func(childComplexity int) int Items func(childComplexity int) int Label func(childComplexity int) int Name func(childComplexity int) int Position func(childComplexity int) int } Commerce_Search_ListFacetItem struct { Count func(childComplexity int) int Label func(childComplexity int) int Selected func(childComplexity int) int Value func(childComplexity int) int } Commerce_Search_Meta struct { NumPages func(childComplexity int) int NumResults func(childComplexity int) int OriginalQuery func(childComplexity int) int Page func(childComplexity int) int Query func(childComplexity int) int SortOptions func(childComplexity int) int } Commerce_Search_Promotion struct { Content func(childComplexity int) int Media func(childComplexity int) int Title func(childComplexity int) int URL func(childComplexity int) int } Commerce_Search_PromotionMedia struct { MimeType func(childComplexity int) int Reference func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int Usage func(childComplexity int) int } Commerce_Search_RangeFacet struct { HasSelectedItem func(childComplexity int) int Items func(childComplexity int) int Label func(childComplexity int) int Name func(childComplexity int) int Position func(childComplexity int) int } Commerce_Search_RangeFacetItem struct { Count func(childComplexity int) int Label func(childComplexity int) int Max func(childComplexity int) int Min func(childComplexity int) int Selected func(childComplexity int) int SelectedMax func(childComplexity int) int SelectedMin func(childComplexity int) int Value func(childComplexity int) int } Commerce_Search_SortOption struct { Field func(childComplexity int) int Label func(childComplexity int) int Selected func(childComplexity int) int } Commerce_Search_Suggestion struct { Highlight func(childComplexity int) int Text func(childComplexity int) int } Commerce_Search_TreeFacet struct { HasSelectedItem func(childComplexity int) int Items func(childComplexity int) int Label func(childComplexity int) int Name func(childComplexity int) int Position func(childComplexity int) int } Commerce_Search_TreeFacetItem struct { Active func(childComplexity int) int Count func(childComplexity int) int Items func(childComplexity int) int Label func(childComplexity int) int Selected func(childComplexity int) int Value func(childComplexity int) int } Mutation struct { CommerceCartAddToCart func(childComplexity int, addToCartInput dto.AddToCart) int CommerceCartApplyCouponCodeOrGiftCard func(childComplexity int, code string) int CommerceCartClean func(childComplexity int) int CommerceCartDeleteCartDelivery func(childComplexity int, deliveryCode string) int CommerceCartDeleteItem func(childComplexity int, itemID string, deliveryCode string) int CommerceCartRemoveCouponCode func(childComplexity int, couponCode string) int CommerceCartRemoveGiftCard func(childComplexity int, giftCardCode string) int CommerceCartUpdateAdditionalData func(childComplexity int, additionalData []*dto.KeyValue) int CommerceCartUpdateBillingAddress func(childComplexity int, addressForm *forms.AddressForm) int CommerceCartUpdateDeliveriesAdditionalData func(childComplexity int, data []*dto.DeliveryAdditionalData) int CommerceCartUpdateDeliveryAddresses func(childComplexity int, deliveryAdresses []*forms.DeliveryForm) int CommerceCartUpdateDeliveryShippingOptions func(childComplexity int, shippingOptions []*dto.DeliveryShippingOption) int CommerceCartUpdateItemBundleConfig func(childComplexity int, itemID string, bundleConfig []*dto.ChoiceConfiguration) int CommerceCartUpdateItemQty func(childComplexity int, itemID string, deliveryCode string, qty int) int CommerceCartUpdateSelectedPayment func(childComplexity int, gateway string, method string) int CommerceCheckoutCancelPlaceOrder func(childComplexity int) int CommerceCheckoutClearPlaceOrder func(childComplexity int) int CommerceCheckoutRefreshPlaceOrder func(childComplexity int) int CommerceCheckoutRefreshPlaceOrderBlocking func(childComplexity int) int CommerceCheckoutStartPlaceOrder func(childComplexity int, returnURL string) int Flamingo func(childComplexity int) int } Query struct { CommerceCartDecoratedCart func(childComplexity int) int CommerceCartQtyRestriction func(childComplexity int, marketplaceCode string, variantCode *string, deliveryCode string) int CommerceCartValidator func(childComplexity int) int CommerceCategory func(childComplexity int, categoryCode string, categorySearchRequest *searchdto.CommerceSearchRequest) int CommerceCategoryTree func(childComplexity int, activeCategoryCode string) int CommerceCheckoutActivePlaceOrder func(childComplexity int) int CommerceCheckoutCurrentContext func(childComplexity int) int CommerceCustomer func(childComplexity int) int CommerceCustomerStatus func(childComplexity int) int CommerceProduct func(childComplexity int, marketPlaceCode string, variantMarketPlaceCode *string, bundleConfiguration []*graphqlproductdto.ChoiceConfiguration) int CommerceProductSearch func(childComplexity int, searchRequest searchdto.CommerceSearchRequest) int Flamingo func(childComplexity int) int } }
type Config ¶
type Config struct { Schema *ast.Schema Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type Module ¶
type Module struct{}
Module is an autogenerated dingo Module to bind the root resolver
type MutationResolver ¶
type MutationResolver interface { Flamingo(ctx context.Context) (*string, error) CommerceCartAddToCart(ctx context.Context, addToCartInput dto.AddToCart) (*dto.DecoratedCart, error) CommerceCartDeleteCartDelivery(ctx context.Context, deliveryCode string) (*dto.DecoratedCart, error) CommerceCartDeleteItem(ctx context.Context, itemID string, deliveryCode string) (*dto.DecoratedCart, error) CommerceCartUpdateItemQty(ctx context.Context, itemID string, deliveryCode string, qty int) (*dto.DecoratedCart, error) CommerceCartUpdateItemBundleConfig(ctx context.Context, itemID string, bundleConfig []*dto.ChoiceConfiguration) (*dto.DecoratedCart, error) CommerceCartUpdateBillingAddress(ctx context.Context, addressForm *forms.AddressForm) (*dto.BillingAddressForm, error) CommerceCartUpdateSelectedPayment(ctx context.Context, gateway string, method string) (*dto.SelectedPaymentResult, error) CommerceCartApplyCouponCodeOrGiftCard(ctx context.Context, code string) (*dto.DecoratedCart, error) CommerceCartRemoveGiftCard(ctx context.Context, giftCardCode string) (*dto.DecoratedCart, error) CommerceCartRemoveCouponCode(ctx context.Context, couponCode string) (*dto.DecoratedCart, error) CommerceCartUpdateDeliveryAddresses(ctx context.Context, deliveryAdresses []*forms.DeliveryForm) ([]*dto.DeliveryAddressForm, error) CommerceCartUpdateDeliveryShippingOptions(ctx context.Context, shippingOptions []*dto.DeliveryShippingOption) (*dto.UpdateShippingOptionsResult, error) CommerceCartClean(ctx context.Context) (bool, error) CommerceCartUpdateAdditionalData(ctx context.Context, additionalData []*dto.KeyValue) (*dto.DecoratedCart, error) CommerceCartUpdateDeliveriesAdditionalData(ctx context.Context, data []*dto.DeliveryAdditionalData) (*dto.DecoratedCart, error) CommerceCheckoutStartPlaceOrder(ctx context.Context, returnURL string) (*dto1.StartPlaceOrderResult, error) CommerceCheckoutCancelPlaceOrder(ctx context.Context) (bool, error) CommerceCheckoutClearPlaceOrder(ctx context.Context) (bool, error) CommerceCheckoutRefreshPlaceOrder(ctx context.Context) (*dto1.PlaceOrderContext, error) CommerceCheckoutRefreshPlaceOrderBlocking(ctx context.Context) (*dto1.PlaceOrderContext, error) }
type QueryResolver ¶
type QueryResolver interface { Flamingo(ctx context.Context) (*string, error) CommerceProduct(ctx context.Context, marketPlaceCode string, variantMarketPlaceCode *string, bundleConfiguration []*graphqlproductdto.ChoiceConfiguration) (graphqlproductdto.Product, error) CommerceProductSearch(ctx context.Context, searchRequest searchdto.CommerceSearchRequest) (*graphql1.SearchResultDTO, error) CommerceCustomerStatus(ctx context.Context) (*dtocustomer.CustomerStatusResult, error) CommerceCustomer(ctx context.Context) (*dtocustomer.CustomerResult, error) CommerceCartDecoratedCart(ctx context.Context) (*dto.DecoratedCart, error) CommerceCartValidator(ctx context.Context) (*validation.Result, error) CommerceCartQtyRestriction(ctx context.Context, marketplaceCode string, variantCode *string, deliveryCode string) (*validation.RestrictionResult, error) CommerceCheckoutActivePlaceOrder(ctx context.Context) (bool, error) CommerceCheckoutCurrentContext(ctx context.Context) (*dto1.PlaceOrderContext, error) CommerceCategoryTree(ctx context.Context, activeCategoryCode string) (domain3.Tree, error) CommerceCategory(ctx context.Context, categoryCode string, categorySearchRequest *searchdto.CommerceSearchRequest) (*categorydto.CategorySearchResult, error) }
type ResolverRoot ¶
type ResolverRoot interface { Commerce_Cart_AdditionalData() Commerce_Cart_AdditionalDataResolver Commerce_Cart_Cart() Commerce_Cart_CartResolver Commerce_Cart_DefaultPaymentSelection() Commerce_Cart_DefaultPaymentSelectionResolver Commerce_Cart_DeliveryInfo() Commerce_Cart_DeliveryInfoResolver Commerce_Cart_Item() Commerce_Cart_ItemResolver Commerce_Cart_ShippingItem() Commerce_Cart_ShippingItemResolver Commerce_Product_PriceInfo() Commerce_Product_PriceInfoResolver Commerce_Search_Meta() Commerce_Search_MetaResolver Mutation() MutationResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.