Basic Concepts of UpdateCustomerJson
Overview
The UpdateCustomerJsonJsonclasses directory. It represents the JSON structure for updating customer information. This class is essential for handling customer data updates in the application.
Fields and Constructor
The class contains a field updcustUpdcustJson, which holds the customer details to be updated. The constructor UpdateCustomerJson(UpdateCustomerForm updateCustomerForm) initializes the updcustUpdateCustomerForm
In src/Z-OS-Connect-Customer-Services-Interface/src/main/java/com/ibm/cics/cip/bank/springboot/customerservices/controllers/WebController.java, the UpdateCustomerFormshowUpdateAccountFormprocessUpdateCust
@GetMapping("/updatecust")
public String showUpdateAccountForm(UpdateCustomerForm updateCustomerForm,
Model model)
{
model.addAttribute(ACCOUNT_TYPES, AccountType.values());
return UPDATE_CUSTOMER_FORM;
}
@PostMapping("/updatecust")
public String processUpdateCust(
@Valid UpdateCustomerForm updateCustomerForm,
BindingResult bindingResult, Model model)
Methods
The class provides getter and setter methods for the updcusttoStringUpdateCustomerJsonupdcusttoPrettyString
This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human