Below is the example of JSON object.
{
"primaryAccountNumber":"4353453",
"processingCode":"3453",
"transactionAmount":"34534",
"transmissionDateTime":"34534",
"receiptsFields":{
"line":"BHN VALIDATION - DAR",
"line":"Phone",
"line":":Amount: 25.00",
"line":"BHN Order ID: 9GMAQH0",
"line":"ALL SALES FINAL",
"line":"Terms and Conditions",
"line":"Store ID: 06220",
"line":"redemptionAccountNumber",
"line":"",
"line":"",
"line":"",
"line":"",
"line":"",
"line":"",
"line":"",
"line":"",
"line":":"
},
"termsAndConditions":"Terms and Conditions of the card will be displayed in this area. The maximum characters allowed are nine hundred and ninety nine (999)."
}
What will be the type of receiptsFields to map in POJO ? For example transmissionDateTime we have String. Same suggest me type for receiptsFields so that response will map into pojo automatically.