Question: 1
Given the customer basket described below:
* A customer has an existing basket that consists of multiple items.
* One of the items is identified as a gift tem by an attribute at the product line tem.
The developer needs to write custom code to fetch the customer basket and then modify the basket based
upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate
shipment for the gift item.
Four hooks are required to make the modification, beginning with modifyGETRespone and ending with
validatebasket.
* Dw.ocapi.shop.basket.modifyGETResponse
* -- missing hook --
* -- missing hook --
* dw.ocapi.shop.basket.validateBasket
What are the two missing hooks in the middle?
Question: 2
Given the sandbox with:
* Service configured and assigned to its profile and credential
* A code version that uses that service
And given the requirement to limit the number of success or error calls the code can perform to a restricted number of calls per second.
Which configuration should the developer perform?
Question: 3
A developer is working on a new site for the U.S based on an existing Canadian site. One of the
requirements is a change to the address form. The current Canadian form has an <options> list with the
correct two-letter abbreviation for the provinces.
The U.S. requirements are to:
* Have an <options> list with the correct two-letter abbreviation for the states in place of the
province field.
* Set the U.S site locale.
* Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?
Question: 4
Given the requirements:
* To integrate with an external web service using HTTP requests
* To create a service for this purpose with the Service framework using the LocalServiceRegistry
class.
* To test the service before the external service provider makes the API available
Which solution allows the developer to satisfy the requirements?
Question: 5
Business Manager has the configuration:
* Active log category is ''root''
* Log level of INFO
The code below execites:
Var log = Logger.getLogger(''products'',''export'');
Log.info (''This is important information'');
Using this information, what is the beginning of the filename in which the log will be written?