File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
app/code/Magento/TaxGraphQl Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2424/**
2525 * @inheritdoc
2626 */
27- class DisplayGiftWrapping implements ResolverInterface
27+ class DisplayWrapping implements ResolverInterface
2828{
2929 /**
3030 * @param EnumLookup $enumLookup
@@ -45,7 +45,7 @@ public function resolve(
4545 ) {
4646 if (isset ($ value ['shopping_cart_display_tax_gift_wrapping ' ])) {
4747 return $ this ->enumLookup ->getEnumValueFromField (
48- 'TaxGiftWrappingEnum ' ,
48+ 'TaxWrappingEnum ' ,
4949 $ value ['shopping_cart_display_tax_gift_wrapping ' ]
5050 );
5151 }
Original file line number Diff line number Diff line change 3434 <type name =" Magento\Framework\GraphQl\Schema\Type\Enum\DefaultDataMapper" >
3535 <arguments >
3636 <argument name =" map" xsi : type =" array" >
37- <item name =" TaxGiftWrappingEnum " xsi : type =" array" >
37+ <item name =" TaxWrappingEnum " xsi : type =" array" >
3838 <item name =" display_excluding_tax" xsi : type =" string" >1</item >
3939 <item name =" display_including_tax" xsi : type =" string" >2</item >
4040 <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 {
1212 shopping_cart_display_grand_total : Boolean @doc (description : " Extended Config Data - tax/cart_display/grandtotal" )
1313 shopping_cart_display_full_summary : Boolean @doc (description : " Extended Config Data - tax/cart_display/full_summary" )
1414 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 " )
1616}
1717
18- enum TaxGiftWrappingEnum {
18+ enum TaxWrappingEnum {
1919 DISPLAY_EXCLUDING_TAX
2020 DISPLAY_INCLUDING_TAX
2121 DISPLAY_TYPE_BOTH
You can’t perform that action at this time.
0 commit comments