refactor/tweaked the last_ok_date example value to last year

This commit is contained in:
hongwei 2022-10-04 09:52:13 +02:00
parent 272732f2a5
commit a1db67563a

View File

@ -1285,7 +1285,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject
last_ok_date = DefaultFromDate
)
val customerJsonV140 = CustomerJsonV140(
@ -1302,7 +1302,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject
last_ok_date = DefaultFromDate
)
val customersJsonV140 = CustomersJsonV140(
@ -2006,7 +2006,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject
last_ok_date = DefaultFromDate
)
val transactionRequestJsonV200 = TransactionRequestJsonV200(
@ -2142,7 +2142,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject
last_ok_date = DefaultFromDate
)
val customerJSONs = CustomerJSONs(customers = List(customerJsonV210))
@ -2178,7 +2178,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject
last_ok_date = DefaultFromDate
)
val customerJsonV300 = CustomerJsonV300(
@ -2198,7 +2198,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject,
last_ok_date = DefaultFromDate,
title = ExampleValue.titleExample.value,
branch_id = ExampleValue.branchIdExample.value,
name_suffix = ExampleValue.nameSuffixExample.value
@ -2227,7 +2227,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject,
last_ok_date = DefaultFromDate,
title = ExampleValue.titleExample.value,
branch_id = ExampleValue.branchIdExample.value,
name_suffix = ExampleValue.nameSuffixExample.value
@ -2247,7 +2247,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = Some(ExampleValue.highestEducationAttainedExample.value),
employment_status = Some(ExampleValue.employmentStatusExample.value),
kyc_status = Some(ExampleValue.kycStatusExample.value.toBoolean),
last_ok_date = Some(DateWithDayExampleObject),
last_ok_date = Some(DefaultFromDate),
title = Some(ExampleValue.titleExample.value),
branch_id = Some(ExampleValue.branchIdExample.value),
name_suffix = Some(ExampleValue.nameSuffixExample.value)
@ -2270,7 +2270,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject,
last_ok_date = DefaultFromDate,
title = ExampleValue.titleExample.value,
branch_id = ExampleValue.branchIdExample.value,
name_suffix = ExampleValue.nameSuffixExample.value
@ -2300,7 +2300,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject,
last_ok_date = DefaultFromDate,
title = ExampleValue.titleExample.value,
branch_id = ExampleValue.branchIdExample.value,
name_suffix = ExampleValue.nameSuffixExample.value,
@ -2324,7 +2324,7 @@ object SwaggerDefinitionsJSON {
highest_education_attained = ExampleValue.highestEducationAttainedExample.value,
employment_status = ExampleValue.employmentStatusExample.value,
kyc_status = ExampleValue.kycStatusExample.value.toBoolean,
last_ok_date = DateWithDayExampleObject,
last_ok_date = DefaultFromDate,
title = ExampleValue.titleExample.value,
branch_id = ExampleValue.branchIdExample.value,
name_suffix = ExampleValue.nameSuffixExample.value,