component-test/src/main/java/org/apache/fineract/cn/customer/CustomerApiDocumentation.java [137:190]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    requestFields(
                            fieldWithPath("identifier").description("The customer's identifier"),
                            fieldWithPath("type").description("The type of legal entity  +\n" +
                                    " +\n" +
                                    "*enum* _Type_ { +\n" +
                                    "    PERSON, +\n" +
                                    "    BUSINESS +\n" +
                                    "  } +"),
                            fieldWithPath("givenName").description("The customer's given name"),
                            fieldWithPath("middleName").description("The customer's middle name"),
                            fieldWithPath("surname").description("The customer's surname"),
                            fieldWithPath("dateOfBirth").type("DateOfBirth").description("The customer's date of birth +\n" +
                                    " +\n" +
                                    " _DateOfBirth_ { +\n" +
                                    "    *Integer* year, +\n" +
                                    "    *Integer* month, +\n" +
                                    "    *Integer* day, +\n" +
                                    "} +"),
                            fieldWithPath("member").description("Is customer a member of the MFI ?"),
                            fieldWithPath("assignedOffice").description("The customer's assigned office"),
                            fieldWithPath("assignedEmployee").description("The customer's assigned employee"),
                            fieldWithPath("address").type("Address").description("The customer's physical address +\n" +
                                    " +\n" +
                                    "_Address_ { +\n" +
                                    "*String* street, +\n" +
                                    "*String* city, +\n" +
                                    "*String* region, +\n" +
                                    "*String* postalCode, +\n" +
                                    "*String* countryCode, +\n" +
                                    "*String* country  } +"),
                            fieldWithPath("contactDetails").type("List<ContactDetail>").description("The customer's contact details +\n" +
                                    " +\n" +
                                    "_ContactDetail_ { +\n" +
                                    "  *enum* _Type_ { +\n" +
                                    "     EMAIL, +\n" +
                                    "     PHONE, +\n" +
                                    "     MOBILE +\n" +
                                    "   } type, +\n" +
                                    "   *enum* _Group_ { +\n" +
                                    "     BUSINESS, +\n" +
                                    "     PRIVATE +\n" +
                                    "   } group, +\n" +
                                    "   *String* value +\n" +
                                    " } +"),
                            fieldWithPath("currentState").type("State").description("The customer's current state +\n" +
                                    " +\n" +
                                    "*enum* _State_ { +\n" +
                                    "     PENDING, +\n" +
                                    "     ACTIVE, +\n" +
                                    "     LOCKED, +\n" +
                                    "     CLOSED +\n" +
                                    "   } +"),
                            fieldWithPath("accountBeneficiary").type("String").description("account beneficiary"),
                            fieldWithPath("applicationDate").type("String").description("date customer applied for account"),
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



component-test/src/main/java/org/apache/fineract/cn/customer/CustomerApiDocumentation.java [614:667]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    requestFields(
                            fieldWithPath("identifier").description("The customer's identifier"),
                            fieldWithPath("type").description("The type of legal entity  +\n" +
                                    " +\n" +
                                    "*enum* _Type_ { +\n" +
                                    "    PERSON, +\n" +
                                    "    BUSINESS +\n" +
                                    "  } +"),
                            fieldWithPath("givenName").description("The customer's given name"),
                            fieldWithPath("middleName").description("The customer's middle name"),
                            fieldWithPath("surname").description("The customer's surname"),
                            fieldWithPath("dateOfBirth").type("DateOfBirth").description("The customer's date of birth +\n" +
                                    " +\n" +
                                    " _DateOfBirth_ { +\n" +
                                    "    *Integer* year, +\n" +
                                    "    *Integer* month, +\n" +
                                    "    *Integer* day, +\n" +
                                    "} +"),
                            fieldWithPath("member").description("Is customer a member of the MFI ?"),
                            fieldWithPath("assignedOffice").description("The customer's assigned office"),
                            fieldWithPath("assignedEmployee").description("The customer's assigned employee"),
                            fieldWithPath("address").type("Address").description("The customer's physical address +\n" +
                                    " +\n" +
                                    "_Address_ { +\n" +
                                    "*String* street, +\n" +
                                    "*String* city, +\n" +
                                    "*String* region, +\n" +
                                    "*String* postalCode, +\n" +
                                    "*String* countryCode, +\n" +
                                    "*String* country  } +"),
                            fieldWithPath("contactDetails").type("List<ContactDetail>").description("The customer's contact details +\n" +
                                    " +\n" +
                                    "_ContactDetail_ { +\n" +
                                    "  *enum* _Type_ { +\n" +
                                    "     EMAIL, +\n" +
                                    "     PHONE, +\n" +
                                    "     MOBILE +\n" +
                                    "   } type, +\n" +
                                    "   *enum* _Group_ { +\n" +
                                    "     BUSINESS, +\n" +
                                    "     PRIVATE +\n" +
                                    "   } group, +\n" +
                                    "   *String* value +\n" +
                                    " } +"),
                            fieldWithPath("currentState").type("State").description("The customer's current state +\n" +
                                    " +\n" +
                                    "*enum* _State_ { +\n" +
                                    "     PENDING, +\n" +
                                    "     ACTIVE, +\n" +
                                    "     LOCKED, +\n" +
                                    "     CLOSED +\n" +
                                    "   } +"),
                            fieldWithPath("accountBeneficiary").type("String").description("account beneficiary"),
                            fieldWithPath("applicationDate").type("String").description("date customer applied for account"),
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



