Basic Concepts of UpdateCustomerJson
Overview
The UpdateCustomerJson
Jsonclasses
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 updcust
UpdcustJson
, which holds the customer details to be updated. The constructor UpdateCustomerJson(UpdateCustomerForm
updateCustomerForm
)
initializes the updcust
UpdateCustomerForm
In src/Z-OS-Connect-Customer-Services-Interface/src/main/java/com/ibm/cics/cip/bank/springboot/customerservices/controllers/WebController.java
, the UpdateCustomerForm
showUpdateAccountForm
processUpdateCust
@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 updcust
toString
UpdateCustomerJson
updcust
toPrettyString
This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human