File tree 3 files changed +5
-5
lines changed
app/code/Magento/TaxGraphQl
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 24
24
/**
25
25
* @inheritdoc
26
26
*/
27
- class DisplayGiftWrapping implements ResolverInterface
27
+ class DisplayWrapping implements ResolverInterface
28
28
{
29
29
/**
30
30
* @param EnumLookup $enumLookup
@@ -45,7 +45,7 @@ public function resolve(
45
45
) {
46
46
if (isset ($ value ['shopping_cart_display_tax_gift_wrapping ' ])) {
47
47
return $ this ->enumLookup ->getEnumValueFromField (
48
- 'TaxGiftWrappingEnum ' ,
48
+ 'TaxWrappingEnum ' ,
49
49
$ value ['shopping_cart_display_tax_gift_wrapping ' ]
50
50
);
51
51
}
Original file line number Diff line number Diff line change 34
34
<type name =" Magento\Framework\GraphQl\Schema\Type\Enum\DefaultDataMapper" >
35
35
<arguments >
36
36
<argument name =" map" xsi : type =" array" >
37
- <item name =" TaxGiftWrappingEnum " xsi : type =" array" >
37
+ <item name =" TaxWrappingEnum " xsi : type =" array" >
38
38
<item name =" display_excluding_tax" xsi : type =" string" >1</item >
39
39
<item name =" display_including_tax" xsi : type =" string" >2</item >
40
40
<item name =" display_type_both" xsi : type =" string" >3</item >
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ type StoreConfig {
12
12
shopping_cart_display_grand_total : Boolean @doc (description : " Extended Config Data - tax/cart_display/grandtotal" )
13
13
shopping_cart_display_full_summary : Boolean @doc (description : " Extended Config Data - tax/cart_display/full_summary" )
14
14
shopping_cart_display_zero_tax : Boolean @doc (description : " Extended Config Data - tax/cart_display/zero_tax" )
15
- shopping_cart_display_tax_gift_wrapping : TaxGiftWrappingEnum @doc (description : " Extended Config Data - tax/cart_display/gift_wrapping" ) @resolver (class : " Magento\\ TaxGraphQl\\ Model\\ Resolver\\ DisplayGiftWrapping " )
15
+ shopping_cart_display_tax_gift_wrapping : TaxWrappingEnum @doc (description : " Extended Config Data - tax/cart_display/gift_wrapping" ) @resolver (class : " Magento\\ TaxGraphQl\\ Model\\ Resolver\\ DisplayWrapping " )
16
16
}
17
17
18
- enum TaxGiftWrappingEnum {
18
+ enum TaxWrappingEnum {
19
19
DISPLAY_EXCLUDING_TAX
20
20
DISPLAY_INCLUDING_TAX
21
21
DISPLAY_TYPE_BOTH
You can’t perform that action at this time.
0 commit comments