Class BmCustomerBillController
java.lang.Object
de.hybris.platform.billmanagementtmfwebservices.v2.controller.BmBaseController
de.hybris.platform.billmanagementtmfwebservices.v2.controller.BmCustomerBillController
- All Implemented Interfaces:
CustomerBillApi
@Controller
public class BmCustomerBillController
extends BmBaseController
implements CustomerBillApi
Default implementation of controller for
CustomerBillApi.- Since:
- 2208
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.user.UserServiceorg.springframework.http.ResponseEntity<List<CustomerBill>>listCustomerBill(@Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String relatedPartyId) org.springframework.http.ResponseEntity<CustomerBill>retrieveCustomerBill(String id, @Valid String fields) Methods inherited from class de.hybris.platform.billmanagementtmfwebservices.v2.controller.BmBaseController
filter, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, handleModelNotFoundException, hasRole, init, sanitize
-
Constructor Details
-
BmCustomerBillController
@Autowired public BmCustomerBillController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
listCustomerBill
@RequestMapping(value="/customerBill", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<CustomerBill>> listCustomerBill(@Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="offset",required=false) @Valid Integer offset, @Valid @RequestParam(value="limit",required=false) @Valid Integer limit, @Valid @RequestParam(value="relatedParty.id",required=false) @Valid String relatedPartyId) - Specified by:
listCustomerBillin interfaceCustomerBillApi
-
retrieveCustomerBill
@RequestMapping(value="/customerBill/{id:.+}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<CustomerBill> retrieveCustomerBill(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields) - Specified by:
retrieveCustomerBillin interfaceCustomerBillApi
-
getTuaPartyBillService
-
getBmPaginationService
-
getUserService
protected de.hybris.platform.servicelayer.user.UserService getUserService()
-