Files
edr-platform/apps/edr-payment-api/src/modules/cbe-bill/dto/cbe-query-response.dto.ts
2026-07-31 07:50:10 +00:00

26 lines
797 B
TypeScript

/**
* Us → CBE, POST /cbe/query response (AAFDA spec §2.8, shape mirrored from the reference
* implementation pending the Q1 sample files). Empty-string fields are deliberate — the
* reference sends the full envelope with blanks rather than omitting keys.
*/
export class CbeQueryResponseDto {
Destination_Api_Name!: string;
End_To_End_Txn_Id!: string;
Bill_Id!: string;
Total_Amount!: string;
Penalty_Amount!: string;
Bill_Amount!: string;
First_Name!: string;
Last_Name!: string;
Full_Name!: string;
Payment_Reason!: string;
Tin_Number!: string;
Credit_Acct_Number!: string;
Transaction_Type!: string;
Timestamp!: string;
Status!: string;
Response_Code!: string;
Response_Description!: string;
Additional_Fields!: { Key: string; Value: string }[];
}