Class BaBillingAccountController

java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBaseController
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBillingAccountController
All Implemented Interfaces:
BillingAccountApi

@Controller public class BaBillingAccountController extends BaBaseController implements BillingAccountApi
Default implementation of controller for BillingAccountApi.
Since:
2208
  • Constructor Details

    • BaBillingAccountController

      @Autowired public BaBillingAccountController(javax.servlet.http.HttpServletRequest request)
  • Method Details

    • createBillingAccount

      @RequestMapping(value="/billingAccount", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillingAccount> createBillingAccount(@Valid @RequestBody @Valid BillingAccount billingAccount)
      Specified by:
      createBillingAccount in interface BillingAccountApi
    • deleteBillingAccount

      @RequestMapping(value="/billingAccount/{id:.+}", produces="application/json;charset=utf-8", method=DELETE) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Void> deleteBillingAccount(@PathVariable("id") String id)
      Specified by:
      deleteBillingAccount in interface BillingAccountApi
    • listBillingAccount

      @RequestMapping(value="/billingAccount", produces="application/json", method=GET) public org.springframework.http.ResponseEntity<List<BillingAccount>> listBillingAccount(@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="paymentStatus",required=false) @Valid String paymentStatus)
      Specified by:
      listBillingAccount in interface BillingAccountApi
    • patchBillingAccount

      @RequestMapping(value="/billingAccount/{id:.+}", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=PATCH) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillingAccount> patchBillingAccount(@PathVariable("id") String id, @Valid @RequestBody @Valid BillingAccount billingAccount)
      Specified by:
      patchBillingAccount in interface BillingAccountApi
    • retrieveBillingAccount

      @RequestMapping(value="/billingAccount/{id:.+}", produces="application/json", method=GET) public org.springframework.http.ResponseEntity<BillingAccount> retrieveBillingAccount(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields)
      Specified by:
      retrieveBillingAccount in interface BillingAccountApi
    • getTuaBillingAccountService

      protected TuaBillingAccountService getTuaBillingAccountService()
    • getBaPaginationService

      protected BaPaginationService getBaPaginationService()
    • getGenericService

      protected TuaGenericService getGenericService()
    • getUserService

      protected de.hybris.platform.servicelayer.user.UserService getUserService()
    • getBaCreateBillingAccountValidator

      protected BaCreateBillingAccountValidator getBaCreateBillingAccountValidator()
    • getTxTemplate

      protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()