The Util Directory
The util directory in ScandiPWA contains various utility functions that don't belong in the other categories
Some Util directories, such as Address, Cart, Currency, Menu, Price, Product, facilitate working with certain kinds of data. Others define commonly-needed functionality:
Finally, there is the
Braintreedirectory, which can handle interaction with the Braintree payment method.