graphql

package
v0.0.0-...-bb92df6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2021 License: OSL-3.0 Imports: 39 Imported by: 0

Documentation

Index

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_CartItemResolver

type Commerce_CartItemResolver interface {
	AppliedDiscounts(ctx context.Context, obj *cart.Item) (*dto.CartAppliedDiscounts, error)
}

type Commerce_CartResolver

type Commerce_CartResolver interface {
	GetDeliveryByCode(ctx context.Context, obj *cart.Cart, deliveryCode string) (*cart.Delivery, error)
}

type Commerce_CartShippingItemResolver

type Commerce_CartShippingItemResolver interface {
	AppliedDiscounts(ctx context.Context, obj *cart.ShippingItem) (*dto.CartAppliedDiscounts, error)
}

type Commerce_Cart_DefaultPaymentSelectionResolver

type Commerce_Cart_DefaultPaymentSelectionResolver interface {
	CartSplit(ctx context.Context, obj *cart.DefaultPaymentSelection) ([]*dto.PaymentSelectionSplit, error)
}

type Commerce_Search_MetaResolver

type Commerce_Search_MetaResolver interface {
	SortOptions(ctx context.Context, obj *domain1.SearchMeta) ([]*searchdto.CommerceSearchSortOption, error)
}

type ComplexityRoot

type ComplexityRoot struct {
	CommerceCart 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
		PaymentSelection                func(childComplexity int) int
		ProductCount                    func(childComplexity int) int
		Purchaser                       func(childComplexity int) int
		SubTotalGross                   func(childComplexity int) int
		SubTotalGrossWithDiscounts      func(childComplexity int) int
		SubTotalNet                     func(childComplexity int) int
		SubTotalNetWithDiscounts        func(childComplexity int) int
		SumItemRelatedDiscountAmount    func(childComplexity int) int
		SumNonItemRelatedDiscountAmount func(childComplexity int) int
		SumShippingGrossWithDiscounts   func(childComplexity int) int
		SumShippingNet                  func(childComplexity int) int
		SumShippingNetWithDiscounts     func(childComplexity int) int
		SumTotalDiscountAmount          func(childComplexity int) int
		SumTotalTaxAmount               func(childComplexity int) int
		Totalitems                      func(childComplexity int) int
	}

	CommerceCartAdditionalData struct {
		ReservedOrderID func(childComplexity int) int
	}

	CommerceCartAddress 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
	}

	CommerceCartAppliedDiscount 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
	}

	CommerceCartAppliedDiscounts struct {
		ByCampaignCode func(childComplexity int, campaignCode string) int
		ByType         func(childComplexity int, filterType string) int
		Items          func(childComplexity int) int
	}

	CommerceCartAppliedGiftCard struct {
		Applied      func(childComplexity int) int
		Code         func(childComplexity int) int
		HasRemaining func(childComplexity int) int
		Remaining    func(childComplexity int) int
	}

	CommerceCartCouponCode struct {
		Code func(childComplexity int) int
	}

	CommerceCartDecoratedDelivery struct {
		DecoratedItems func(childComplexity int) int
		Delivery       func(childComplexity int) int
	}

	CommerceCartDecoratedItem struct {
		Item    func(childComplexity int) int
		Product func(childComplexity int) int
	}

	CommerceCartDelivery struct {
		Cartitems                       func(childComplexity int) int
		DeliveryInfo                    func(childComplexity int) int
		GrandTotal                      func(childComplexity int) int
		HasItems                        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
		SumItemRelatedDiscountAmount    func(childComplexity int) int
		SumNonItemRelatedDiscountAmount func(childComplexity int) int
		SumTotalDiscountAmount          func(childComplexity int) int
		SumTotalTaxAmount               func(childComplexity int) int
	}

	CommerceCartDeliveryInfo struct {
		AdditionalDataKeys         func(childComplexity int) int
		AdditionalDeliveryInfoKeys func(childComplexity int) int
		Carrier                    func(childComplexity int) int
		Code                       func(childComplexity int) int
		DeliveryLocation           func(childComplexity int) int
		DesiredTime                func(childComplexity int) int
		GetAdditionalData          func(childComplexity int, key string) int
		Method                     func(childComplexity int) int
		Workflow                   func(childComplexity int) int
	}

	CommerceCartDeliveryLocation struct {
		Address           func(childComplexity int) int
		Code              func(childComplexity int) int
		Type              func(childComplexity int) int
		UseBillingAddress func(childComplexity int) int
	}

	CommerceCartExistingCustomerData struct {
		ID func(childComplexity int) int
	}

	CommerceCartItem 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
	}

	CommerceCartPerson struct {
		Address              func(childComplexity int) int
		ExistingCustomerData func(childComplexity int) int
		PersonalDetails      func(childComplexity int) int
	}

	CommerceCartPersonalDetails struct {
		DateOfBirth     func(childComplexity int) int
		Nationality     func(childComplexity int) int
		PassportCountry func(childComplexity int) int
		PassportNumber  func(childComplexity int) int
	}

	CommerceCartShippingItem struct {
		AppliedDiscounts         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
	}

	CommerceCartTotalitem struct {
		Code  func(childComplexity int) int
		Price func(childComplexity int) int
		Title func(childComplexity int) int
		Type  func(childComplexity int) int
	}

	CommerceCartAddressForm 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
	}

	CommerceCartBillingAddressForm struct {
		FormData       func(childComplexity int) int
		Processed      func(childComplexity int) int
		ValidationInfo func(childComplexity int) int
	}

	CommerceCartDefaultPaymentSelection struct {
		CartSplit  func(childComplexity int) int
		Gateway    func(childComplexity int) int
		TotalValue func(childComplexity int) int
	}

	CommerceCartDeliveryAddressForm 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
	}

	CommerceCartFormError struct {
		DefaultLabel func(childComplexity int) int
		MessageKey   func(childComplexity int) int
	}

	CommerceCartFormFieldError struct {
		DefaultLabel func(childComplexity int) int
		FieldName    func(childComplexity int) int
		MessageKey   func(childComplexity int) int
	}

	CommerceCartFormValidationInfo struct {
		FieldErrors   func(childComplexity int) int
		GeneralErrors func(childComplexity int) int
	}

	CommerceCartItemValidationError struct {
		ErrorMessageKey func(childComplexity int) int
		ItemID          func(childComplexity int) int
	}

	CommerceCartPaymentSelectionSplit struct {
		Charge    func(childComplexity int) int
		Qualifier func(childComplexity int) int
	}

	CommerceCartPaymentSelectionSplitQualifier struct {
		ChargeReference func(childComplexity int) int
		ChargeType      func(childComplexity int) int
		Method          func(childComplexity int) int
	}

	CommerceCartPlacedOrderInfo struct {
		DeliveryCode func(childComplexity int) int
		OrderNumber  func(childComplexity int) int
	}

	CommerceCartPricedCartItem struct {
		Amount func(childComplexity int) int
		ItemID func(childComplexity int) int
	}

	CommerceCartPricedItems struct {
		CartItems     func(childComplexity int) int
		ShippingItems func(childComplexity int) int
		TotalItems    func(childComplexity int) int
	}

	CommerceCartPricedShippingItem struct {
		Amount           func(childComplexity int) int
		DeliveryInfoCode func(childComplexity int) int
	}

	CommerceCartPricedTotalItem struct {
		Amount func(childComplexity int) int
		Code   func(childComplexity int) int
	}

	CommerceCartQtyRestrictionResult struct {
		IsRestricted        func(childComplexity int) int
		MaxAllowed          func(childComplexity int) int
		RemainingDifference func(childComplexity int) int
		RestrictorName      func(childComplexity int) int
	}

	CommerceCartSelectedPaymentResult struct {
		Processed      func(childComplexity int) int
		ValidationInfo func(childComplexity int) int
	}

	CommerceCartSummary struct {
		Discounts                                        func(childComplexity int) int
		HasAppliedDiscounts                              func(childComplexity int) int
		SumAppliedDiscounts                              func(childComplexity int) int
		SumAppliedGiftCards                              func(childComplexity int) int
		SumGrandTotalWithGiftCards                       func(childComplexity int) int
		SumPaymentSelectionCartSplitValueAmountByMethods func(childComplexity int, methods []string) int
		SumTaxes                                         func(childComplexity int) int
		SumTotalDiscountWithGiftCardsAmount              func(childComplexity int) int
	}

	CommerceCartTax struct {
		Amount func(childComplexity int) int
		Rate   func(childComplexity int) int
		Type   func(childComplexity int) int
	}

	CommerceCartTaxes struct {
		GetByType func(childComplexity int, taxType string) int
		Items     func(childComplexity int) int
	}

	CommerceCartTeaser struct {
		DeliveryCodes func(childComplexity int) int
		ItemCount     func(childComplexity int) int
		ProductCount  func(childComplexity int) int
	}

	CommerceCartValidationResult struct {
		CommonErrorMessageKey func(childComplexity int) int
		HasCommonError        func(childComplexity int) int
		ItemResults           func(childComplexity int) int
	}

	CommerceCategoryData 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
	}

	CommerceCategoryTree 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
	}

	CommerceCategoryAttribute struct {
		Code   func(childComplexity int) int
		Label  func(childComplexity int) int
		Values func(childComplexity int) int
	}

	CommerceCategoryAttributeValue struct {
		Label func(childComplexity int) int
		Value func(childComplexity int) int
	}

	CommerceCategoryAttributes struct {
		All func(childComplexity int) int
		Get func(childComplexity int, code string) int
		Has func(childComplexity int, code string) int
	}

	CommerceCategorySearchResult struct {
		Category            func(childComplexity int) int
		ProductSearchResult func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderContext struct {
		Cart       func(childComplexity int) int
		OrderInfos func(childComplexity int) int
		State      func(childComplexity int) int
		UUID       func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderPaymentInfo 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
	}

	CommerceCheckoutPlaceOrderStateFormParameter struct {
		Key   func(childComplexity int) int
		Value func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStatePaymentRequestAPI 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
	}

	CommerceCheckoutPlaceOrderStateStateFailed struct {
		Name   func(childComplexity int) int
		Reason func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateFailedReasonCanceledByCustomer struct {
		Reason func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateFailedReasonCartValidationError struct {
		Reason           func(childComplexity int) int
		ValidationResult func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateFailedReasonError struct {
		Reason func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateFailedReasonPaymentCanceledByCustomer struct {
		Reason func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateFailedReasonPaymentError struct {
		Reason func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStatePostRedirect struct {
		Name       func(childComplexity int) int
		Parameters func(childComplexity int) int
		URL        func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateRedirect struct {
		Name func(childComplexity int) int
		URL  func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateShowHTML struct {
		HTML func(childComplexity int) int
		Name func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateShowIframe struct {
		Name func(childComplexity int) int
		URL  func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateShowWalletPayment struct {
		Name              func(childComplexity int) int
		PaymentMethod     func(childComplexity int) int
		PaymentRequestAPI func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateSuccess struct {
		Name func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateWait struct {
		Name func(childComplexity int) int
	}

	CommerceCheckoutPlaceOrderStateStateWaitForCustomer struct {
		Name func(childComplexity int) int
	}

	CommerceCheckoutPlacedOrderInfos struct {
		Email            func(childComplexity int) int
		PaymentInfos     func(childComplexity int) int
		PlacedOrderInfos func(childComplexity int) int
	}

	CommerceCheckoutStartPlaceOrderResult struct {
		UUID func(childComplexity int) int
	}

	CommerceCustomerAddress 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
		Street                 func(childComplexity int) int
		StreetNr               func(childComplexity int) int
		Telephone              func(childComplexity int) int
	}

	CommerceCustomerPersonData 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
	}

	CommerceCustomerResult 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
	}

	CommerceCustomerStatusResult struct {
		IsLoggedIn func(childComplexity int) int
		UserID     func(childComplexity int) int
	}

	CommerceDecoratedCart 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
	}

	CommercePrice struct {
		Currency    func(childComplexity int) int
		FloatAmount func(childComplexity int) int
	}

	CommercePriceCharge struct {
		Price     func(childComplexity int) int
		Reference func(childComplexity int) int
		Type      func(childComplexity int) int
		Value     func(childComplexity int) int
	}

	CommercePriceChargeQualifier struct {
		Reference func(childComplexity int) int
		Type      func(childComplexity int) int
	}

	CommercePriceCharges 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
	}

	CommerceProductActiveVariantProduct struct {
		ActiveVariationSelections func(childComplexity int) int
		Attributes                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
	}

	CommerceProductActiveVariationSelection struct {
		Code  func(childComplexity int) int
		Label func(childComplexity int) int
		Value func(childComplexity int) int
	}

	CommerceProductAttribute struct {
		Code      func(childComplexity int) int
		CodeLabel func(childComplexity int) int
		Label     func(childComplexity int) int
		UnitCode  func(childComplexity int) int
		Values    func(childComplexity int) int
	}

	CommerceProductAttributes 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
	}

	CommerceProductBadge struct {
		Code  func(childComplexity int) int
		Label func(childComplexity int) int
	}

	CommerceProductBadges struct {
		All   func(childComplexity int) int
		First func(childComplexity int) int
	}

	CommerceProductCategories struct {
		All  func(childComplexity int) int
		Main func(childComplexity int) int
	}

	CommerceProductCategoryTeaser struct {
		Code   func(childComplexity int) int
		Name   func(childComplexity int) int
		Parent func(childComplexity int) int
		Path   func(childComplexity int) int
	}

	CommerceProductConfigurableProduct struct {
		Attributes          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
		VariationSelections func(childComplexity int) int
	}

	CommerceProductLoyalty struct {
		Earning func(childComplexity int) int
		Price   func(childComplexity int) int
	}

	CommerceProductLoyaltyEarningInfo struct {
		Default func(childComplexity int) int
		Type    func(childComplexity int) int
	}

	CommerceProductLoyaltyPriceInfo 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
	}

	CommerceProductMedia struct {
		All      func(childComplexity int) int
		GetMedia func(childComplexity int, usage string) int
	}

	CommerceProductMediaItem 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
	}

	CommerceProductMeta struct {
		Keywords func(childComplexity int) int
	}

	CommerceProductPriceContext struct {
		ChannelCode   func(childComplexity int) int
		CustomerGroup func(childComplexity int) int
		Locale        func(childComplexity int) int
	}

	CommerceProductPriceInfo struct {
		ActiveBase        func(childComplexity int) int
		ActiveBaseAmount  func(childComplexity int) int
		ActiveBaseUnit    func(childComplexity int) int
		CampaignRules     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
	}

	CommerceProductSearchResult struct {
		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
	}

	CommerceProductSimpleProduct struct {
		Attributes       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
	}

	CommerceProductVariationSelection struct {
		Code    func(childComplexity int) int
		Label   func(childComplexity int) int
		Options func(childComplexity int) int
	}

	CommerceProductVariationSelectionOption struct {
		Label   func(childComplexity int) int
		State   func(childComplexity int) int
		Variant func(childComplexity int) int
	}

	CommerceProductVariationSelectionOptionVariant struct {
		MarketPlaceCode func(childComplexity int) int
	}

	CommerceSearchListFacet 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
	}

	CommerceSearchListFacetItem struct {
		Count    func(childComplexity int) int
		Label    func(childComplexity int) int
		Selected func(childComplexity int) int
		Value    func(childComplexity int) int
	}

	CommerceSearchMeta 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
	}

	CommerceSearchPromotion struct {
		Content func(childComplexity int) int
		Media   func(childComplexity int) int
		Title   func(childComplexity int) int
		URL     func(childComplexity int) int
	}

	CommerceSearchPromotionMedia 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
	}

	CommerceSearchRangeFacet 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
	}

	CommerceSearchRangeFacetItem 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
	}

	CommerceSearchSortOption struct {
		Field    func(childComplexity int) int
		Label    func(childComplexity int) int
		Selected func(childComplexity int) int
	}

	CommerceSearchSuggestion struct {
		Highlight func(childComplexity int) int
		Text      func(childComplexity int) int
	}

	CommerceSearchTreeFacet 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
	}

	CommerceSearchTreeFacetItem 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 {
		CommerceAddToCart                         func(childComplexity int, marketplaceCode string, qty int, deliveryCode string) int
		CommerceCartApplyCouponCodeOrGiftCard     func(childComplexity int, code string) int
		CommerceCartClean                         func(childComplexity int) int
		CommerceCartRemoveCouponCode              func(childComplexity int, couponCode string) int
		CommerceCartRemoveGiftCard                func(childComplexity int, giftCardCode string) int
		CommerceCartUpdateBillingAddress          func(childComplexity int, addressForm *forms.AddressForm) int
		CommerceCartUpdateDeliveryAddresses       func(childComplexity int, deliveryAdresses []*forms.DeliveryForm) int
		CommerceCartUpdateDeliveryShippingOptions func(childComplexity int, shippingOptions []*dto.DeliveryShippingOption) 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
		CommerceDeleteCartDelivery                func(childComplexity int, deliveryCode string) int
		CommerceDeleteItem                        func(childComplexity int, itemID string, deliveryCode string) int
		CommerceUpdateItemQty                     func(childComplexity int, itemID string, deliveryCode string, qty int) int
		Flamingo                                  func(childComplexity int) int
	}

	Query struct {
		CommerceCart                     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) int
		CommerceProductSearch            func(childComplexity int, searchRequest searchdto.CommerceSearchRequest) int
		Flamingo                         func(childComplexity int) int
	}
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type DirectiveRoot

type DirectiveRoot struct {
	Deprecated func(ctx context.Context, obj interface{}, next graphql.Resolver, reason *string) (res interface{}, err error)
	Include    func(ctx context.Context, obj interface{}, next graphql.Resolver, ifArg bool) (res interface{}, err error)
	Skip       func(ctx context.Context, obj interface{}, next graphql.Resolver, ifArg bool) (res interface{}, err error)
}

type Module

type Module struct{}

Module is an autogenerated dingo Module to bind the root resolver

func (*Module) Configure

func (*Module) Configure(injector *dingo.Injector)

Configure sets the graphql.ExecutableSchema binding via a provider, passing in the correct root resolver

type MutationResolver

type MutationResolver interface {
	Flamingo(ctx context.Context) (*string, error)
	CommerceAddToCart(ctx context.Context, marketplaceCode string, qty int, deliveryCode string) (*dto.DecoratedCart, error)
	CommerceDeleteCartDelivery(ctx context.Context, deliveryCode string) (*dto.DecoratedCart, error)
	CommerceDeleteItem(ctx context.Context, itemID string, deliveryCode string) (*dto.DecoratedCart, error)
	CommerceUpdateItemQty(ctx context.Context, itemID string, deliveryCode string, qty int) (*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.DeliveryAddressForm, error)
	CommerceCartClean(ctx context.Context) (bool, 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) (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)
	CommerceCart(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) (domain2.Tree, error)
	CommerceCategory(ctx context.Context, categoryCode string, categorySearchRequest *searchdto.CommerceSearchRequest) (*categorydto.CategorySearchResult, error)
}

type ResolverRoot

type ResolverRoot interface {
	Commerce_Cart() Commerce_CartResolver
	Commerce_CartItem() Commerce_CartItemResolver
	Commerce_CartShippingItem() Commerce_CartShippingItemResolver
	Commerce_Cart_DefaultPaymentSelection() Commerce_Cart_DefaultPaymentSelectionResolver
	Commerce_Search_Meta() Commerce_Search_MetaResolver
	Mutation() MutationResolver
	Query() QueryResolver
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL