@stashfin/grpc 1.2.169 → 1.2.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ts/bureau/getbasicdetails.d.ts +57 -0
- package/ts/bureau/getbasicdetails.js +341 -0
- package/ts/bureau/getdemogs.d.ts +113 -0
- package/ts/bureau/getdemogs.js +611 -0
- package/ts/bureau/getreport.d.ts +188 -0
- package/ts/bureau/getreport.js +1640 -0
- package/ts/bureau.d.ts +56 -0
- package/ts/bureau.js +44 -0
- package/ts/colender/disburseLoan.d.ts +44 -0
- package/ts/colender/disburseLoan.js +256 -0
- package/ts/colender/forecloseLoan.d.ts +41 -0
- package/ts/colender/forecloseLoan.js +205 -0
- package/ts/colender/repayLoan.d.ts +48 -0
- package/ts/colender/repayLoan.js +313 -0
- package/ts/colender.d.ts +56 -0
- package/ts/colender.js +44 -0
- package/ts/customers/aa/getbanklist.d.ts +48 -0
- package/ts/customers/aa/getbanklist.js +198 -0
- package/ts/customers/aa/initiate.d.ts +40 -0
- package/ts/customers/aa/initiate.js +209 -0
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/addfathersname.d.ts +35 -0
- package/ts/customers/addfathersname.js +117 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addmoredetails.d.ts +60 -0
- package/ts/customers/addmoredetails.js +314 -0
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/adduserapps.d.ts +74 -0
- package/ts/customers/adduserapps.js +210 -0
- package/ts/customers/bulksms.d.ts +48 -0
- package/ts/customers/bulksms.js +201 -0
- package/ts/customers/changempin.d.ts +36 -0
- package/ts/customers/changempin.js +133 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/deleteprofile.d.ts +35 -0
- package/ts/customers/deleteprofile.js +120 -0
- package/ts/customers/disablempin.d.ts +34 -0
- package/ts/customers/disablempin.js +104 -0
- package/ts/customers/fetchrcprofile.d.ts +45 -0
- package/ts/customers/fetchrcprofile.js +271 -0
- package/ts/customers/forgotmpin.d.ts +35 -0
- package/ts/customers/forgotmpin.js +117 -0
- package/ts/customers/forgotmpinverify.d.ts +36 -0
- package/ts/customers/forgotmpinverify.js +133 -0
- package/ts/customers/getbankaccountdetails.d.ts +37 -0
- package/ts/customers/getbankaccountdetails.js +148 -0
- package/ts/customers/getbasicinfo.d.ts +56 -0
- package/ts/customers/getbasicinfo.js +323 -0
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcompanyaccdetails.d.ts +37 -0
- package/ts/customers/getcompanyaccdetails.js +148 -0
- package/ts/customers/getcustomerbyid.d.ts +142 -0
- package/ts/customers/getcustomerbyid.js +1521 -0
- package/ts/customers/getdashboard.d.ts +88 -0
- package/ts/customers/getdashboard.js +574 -0
- package/ts/customers/getdashboardmaincard.d.ts +70 -0
- package/ts/customers/getdashboardmaincard.js +534 -0
- package/ts/customers/getdocuments.d.ts +46 -0
- package/ts/customers/getdocuments.js +174 -0
- package/ts/customers/getlimit.d.ts +37 -0
- package/ts/customers/getlimit.js +148 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +54 -0
- package/ts/customers/getprofile.js +296 -0
- package/ts/customers/getselfieetxnid.d.ts +34 -0
- package/ts/customers/getselfieetxnid.js +104 -0
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +69 -0
- package/ts/customers/getstep.js +406 -0
- package/ts/customers/logout.d.ts +34 -0
- package/ts/customers/logout.js +104 -0
- package/ts/customers/profilebasic.d.ts +40 -0
- package/ts/customers/profilebasic.js +189 -0
- package/ts/customers/profileupdatetnc.d.ts +35 -0
- package/ts/customers/profileupdatetnc.js +117 -0
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendotp.d.ts +38 -0
- package/ts/customers/sendotp.js +165 -0
- package/ts/customers/sendotptoemail.d.ts +35 -0
- package/ts/customers/sendotptoemail.js +117 -0
- package/ts/customers/setmpin.d.ts +36 -0
- package/ts/customers/setmpin.js +133 -0
- package/ts/customers/skipscreen.d.ts +44 -0
- package/ts/customers/skipscreen.js +162 -0
- package/ts/customers/updatecustomerbyid.d.ts +48 -0
- package/ts/customers/updatecustomerbyid.js +201 -0
- package/ts/customers/updatedlnumber.d.ts +35 -0
- package/ts/customers/updatedlnumber.js +119 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/customers/updatedob.js +117 -0
- package/ts/customers/updatelocstatus.d.ts +36 -0
- package/ts/customers/updatelocstatus.js +133 -0
- package/ts/customers/updatemobilesendotp.d.ts +35 -0
- package/ts/customers/updatemobilesendotp.js +117 -0
- package/ts/customers/updatemobileverifyotp.d.ts +36 -0
- package/ts/customers/updatemobileverifyotp.js +133 -0
- package/ts/customers/updateokyctxn.d.ts +37 -0
- package/ts/customers/updateokyctxn.js +147 -0
- package/ts/customers/updateselfieetxn.d.ts +36 -0
- package/ts/customers/updateselfieetxn.js +133 -0
- package/ts/customers/updatevehiclenumber.d.ts +35 -0
- package/ts/customers/updatevehiclenumber.js +117 -0
- package/ts/customers/uploaddocuments.d.ts +37 -0
- package/ts/customers/uploaddocuments.js +172 -0
- package/ts/customers/validatepan.d.ts +45 -0
- package/ts/customers/validatepan.js +274 -0
- package/ts/customers/verifympin.d.ts +37 -0
- package/ts/customers/verifympin.js +149 -0
- package/ts/customers/verifyotp.d.ts +41 -0
- package/ts/customers/verifyotp.js +205 -0
- package/ts/customers/verifyotptoemail.d.ts +35 -0
- package/ts/customers/verifyotptoemail.js +117 -0
- package/ts/customers.d.ts +796 -0
- package/ts/customers.js +572 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/ts/growth/processchrpayment.d.ts +40 -0
- package/ts/growth/processchrpayment.js +205 -0
- package/ts/growth.d.ts +28 -0
- package/ts/growth.js +24 -0
- package/ts/loans/approveloan.d.ts +81 -0
- package/ts/loans/approveloan.js +703 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +57 -0
- package/ts/loans/calculateemi.js +340 -0
- package/ts/loans/creditlimit.d.ts +51 -0
- package/ts/loans/creditlimit.js +381 -0
- package/ts/loans/futurepaymentmoredetails.d.ts +50 -0
- package/ts/loans/futurepaymentmoredetails.js +230 -0
- package/ts/loans/getbilldetails.d.ts +38 -0
- package/ts/loans/getbilldetails.js +161 -0
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/getloanbyid.d.ts +48 -0
- package/ts/loans/getloanbyid.js +318 -0
- package/ts/loans/getnextdueamount.d.ts +34 -0
- package/ts/loans/getnextdueamount.js +104 -0
- package/ts/loans/getpendingemiamount.d.ts +34 -0
- package/ts/loans/getpendingemiamount.js +104 -0
- package/ts/loans/getsummarystaticfields.d.ts +80 -0
- package/ts/loans/getsummarystaticfields.js +700 -0
- package/ts/loans/loansummary.d.ts +66 -0
- package/ts/loans/loansummary.js +593 -0
- package/ts/loans/paymentallocation.d.ts +38 -0
- package/ts/loans/paymentallocation.js +161 -0
- package/ts/loans/paymenthistory.d.ts +47 -0
- package/ts/loans/paymenthistory.js +188 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans/transactionlist.d.ts +52 -0
- package/ts/loans/transactionlist.js +257 -0
- package/ts/loans/updateinstallments.d.ts +42 -0
- package/ts/loans/updateinstallments.js +226 -0
- package/ts/loans/updateloan.d.ts +37 -0
- package/ts/loans/updateloan.js +147 -0
- package/ts/loans.d.ts +294 -0
- package/ts/loans.js +214 -0
- package/ts/payments.d.ts +239 -0
- package/ts/payments.js +1117 -0
- package/ts/stashcash/creditsc.d.ts +54 -0
- package/ts/stashcash/creditsc.js +301 -0
- package/ts/stashcash/debitsc.d.ts +59 -0
- package/ts/stashcash/debitsc.js +380 -0
- package/ts/stashcash/getscbalance.d.ts +53 -0
- package/ts/stashcash/getscbalance.js +293 -0
- package/ts/stashcash/getschistory.d.ts +73 -0
- package/ts/stashcash/getschistory.js +479 -0
- package/ts/stashcash/reversesc.d.ts +52 -0
- package/ts/stashcash/reversesc.js +273 -0
- package/ts/stashcash.d.ts +84 -0
- package/ts/stashcash.js +64 -0
|
@@ -0,0 +1,703 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.27.4
|
|
6
|
+
// source: loans/approveloan.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.approveLoanResponse = exports.approveLoanRequest_Field = exports.approveLoanRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.approveloan";
|
|
15
|
+
function createBaseapproveLoanRequest() {
|
|
16
|
+
return { bank_id: 0, amount: 0, tenure: 0, customer_id: 0, ip: "", addons: 0, addonsData: [] };
|
|
17
|
+
}
|
|
18
|
+
exports.approveLoanRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.bank_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.bank_id);
|
|
22
|
+
}
|
|
23
|
+
if (message.amount !== 0) {
|
|
24
|
+
writer.uint32(16).int32(message.amount);
|
|
25
|
+
}
|
|
26
|
+
if (message.tenure !== 0) {
|
|
27
|
+
writer.uint32(24).int32(message.tenure);
|
|
28
|
+
}
|
|
29
|
+
if (message.customer_id !== 0) {
|
|
30
|
+
writer.uint32(32).int32(message.customer_id);
|
|
31
|
+
}
|
|
32
|
+
if (message.ip !== "") {
|
|
33
|
+
writer.uint32(42).string(message.ip);
|
|
34
|
+
}
|
|
35
|
+
if (message.addons !== 0) {
|
|
36
|
+
writer.uint32(48).int32(message.addons);
|
|
37
|
+
}
|
|
38
|
+
for (const v of message.addonsData) {
|
|
39
|
+
exports.approveLoanRequest_Field.encode(v, writer.uint32(58).fork()).ldelim();
|
|
40
|
+
}
|
|
41
|
+
return writer;
|
|
42
|
+
},
|
|
43
|
+
decode(input, length) {
|
|
44
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
45
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
46
|
+
const message = createBaseapproveLoanRequest();
|
|
47
|
+
while (reader.pos < end) {
|
|
48
|
+
const tag = reader.uint32();
|
|
49
|
+
switch (tag >>> 3) {
|
|
50
|
+
case 1:
|
|
51
|
+
if (tag !== 8) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.bank_id = reader.int32();
|
|
55
|
+
continue;
|
|
56
|
+
case 2:
|
|
57
|
+
if (tag !== 16) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
message.amount = reader.int32();
|
|
61
|
+
continue;
|
|
62
|
+
case 3:
|
|
63
|
+
if (tag !== 24) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.tenure = reader.int32();
|
|
67
|
+
continue;
|
|
68
|
+
case 4:
|
|
69
|
+
if (tag !== 32) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.customer_id = reader.int32();
|
|
73
|
+
continue;
|
|
74
|
+
case 5:
|
|
75
|
+
if (tag !== 42) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.ip = reader.string();
|
|
79
|
+
continue;
|
|
80
|
+
case 6:
|
|
81
|
+
if (tag !== 48) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.addons = reader.int32();
|
|
85
|
+
continue;
|
|
86
|
+
case 7:
|
|
87
|
+
if (tag !== 58) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.addonsData.push(exports.approveLoanRequest_Field.decode(reader, reader.uint32()));
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
reader.skipType(tag & 7);
|
|
97
|
+
}
|
|
98
|
+
return message;
|
|
99
|
+
},
|
|
100
|
+
fromJSON(object) {
|
|
101
|
+
return {
|
|
102
|
+
bank_id: isSet(object.bank_id) ? globalThis.Number(object.bank_id) : 0,
|
|
103
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
104
|
+
tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
|
|
105
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
106
|
+
ip: isSet(object.ip) ? globalThis.String(object.ip) : "",
|
|
107
|
+
addons: isSet(object.addons) ? globalThis.Number(object.addons) : 0,
|
|
108
|
+
addonsData: globalThis.Array.isArray(object?.addonsData)
|
|
109
|
+
? object.addonsData.map((e) => exports.approveLoanRequest_Field.fromJSON(e))
|
|
110
|
+
: [],
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
toJSON(message) {
|
|
114
|
+
const obj = {};
|
|
115
|
+
if (message.bank_id !== 0) {
|
|
116
|
+
obj.bank_id = Math.round(message.bank_id);
|
|
117
|
+
}
|
|
118
|
+
if (message.amount !== 0) {
|
|
119
|
+
obj.amount = Math.round(message.amount);
|
|
120
|
+
}
|
|
121
|
+
if (message.tenure !== 0) {
|
|
122
|
+
obj.tenure = Math.round(message.tenure);
|
|
123
|
+
}
|
|
124
|
+
if (message.customer_id !== 0) {
|
|
125
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
126
|
+
}
|
|
127
|
+
if (message.ip !== "") {
|
|
128
|
+
obj.ip = message.ip;
|
|
129
|
+
}
|
|
130
|
+
if (message.addons !== 0) {
|
|
131
|
+
obj.addons = Math.round(message.addons);
|
|
132
|
+
}
|
|
133
|
+
if (message.addonsData?.length) {
|
|
134
|
+
obj.addonsData = message.addonsData.map((e) => exports.approveLoanRequest_Field.toJSON(e));
|
|
135
|
+
}
|
|
136
|
+
return obj;
|
|
137
|
+
},
|
|
138
|
+
create(base) {
|
|
139
|
+
return exports.approveLoanRequest.fromPartial(base ?? {});
|
|
140
|
+
},
|
|
141
|
+
fromPartial(object) {
|
|
142
|
+
const message = createBaseapproveLoanRequest();
|
|
143
|
+
message.bank_id = object.bank_id ?? 0;
|
|
144
|
+
message.amount = object.amount ?? 0;
|
|
145
|
+
message.tenure = object.tenure ?? 0;
|
|
146
|
+
message.customer_id = object.customer_id ?? 0;
|
|
147
|
+
message.ip = object.ip ?? "";
|
|
148
|
+
message.addons = object.addons ?? 0;
|
|
149
|
+
message.addonsData = object.addonsData?.map((e) => exports.approveLoanRequest_Field.fromPartial(e)) || [];
|
|
150
|
+
return message;
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
function createBaseapproveLoanRequest_Field() {
|
|
154
|
+
return { name: "", amount: 0 };
|
|
155
|
+
}
|
|
156
|
+
exports.approveLoanRequest_Field = {
|
|
157
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
158
|
+
if (message.name !== "") {
|
|
159
|
+
writer.uint32(10).string(message.name);
|
|
160
|
+
}
|
|
161
|
+
if (message.amount !== 0) {
|
|
162
|
+
writer.uint32(16).int32(message.amount);
|
|
163
|
+
}
|
|
164
|
+
return writer;
|
|
165
|
+
},
|
|
166
|
+
decode(input, length) {
|
|
167
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
168
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
169
|
+
const message = createBaseapproveLoanRequest_Field();
|
|
170
|
+
while (reader.pos < end) {
|
|
171
|
+
const tag = reader.uint32();
|
|
172
|
+
switch (tag >>> 3) {
|
|
173
|
+
case 1:
|
|
174
|
+
if (tag !== 10) {
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
message.name = reader.string();
|
|
178
|
+
continue;
|
|
179
|
+
case 2:
|
|
180
|
+
if (tag !== 16) {
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
message.amount = reader.int32();
|
|
184
|
+
continue;
|
|
185
|
+
}
|
|
186
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
reader.skipType(tag & 7);
|
|
190
|
+
}
|
|
191
|
+
return message;
|
|
192
|
+
},
|
|
193
|
+
fromJSON(object) {
|
|
194
|
+
return {
|
|
195
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
196
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
197
|
+
};
|
|
198
|
+
},
|
|
199
|
+
toJSON(message) {
|
|
200
|
+
const obj = {};
|
|
201
|
+
if (message.name !== "") {
|
|
202
|
+
obj.name = message.name;
|
|
203
|
+
}
|
|
204
|
+
if (message.amount !== 0) {
|
|
205
|
+
obj.amount = Math.round(message.amount);
|
|
206
|
+
}
|
|
207
|
+
return obj;
|
|
208
|
+
},
|
|
209
|
+
create(base) {
|
|
210
|
+
return exports.approveLoanRequest_Field.fromPartial(base ?? {});
|
|
211
|
+
},
|
|
212
|
+
fromPartial(object) {
|
|
213
|
+
const message = createBaseapproveLoanRequest_Field();
|
|
214
|
+
message.name = object.name ?? "";
|
|
215
|
+
message.amount = object.amount ?? 0;
|
|
216
|
+
return message;
|
|
217
|
+
},
|
|
218
|
+
};
|
|
219
|
+
function createBaseapproveLoanResponse() {
|
|
220
|
+
return {
|
|
221
|
+
gateway_fees: 0,
|
|
222
|
+
striked_gateway_fees: 0,
|
|
223
|
+
bill_date: "",
|
|
224
|
+
requested_amount: 0,
|
|
225
|
+
tenure: 0,
|
|
226
|
+
emi_amount: 0,
|
|
227
|
+
net_amount_payable: 0,
|
|
228
|
+
first_emi_date: "",
|
|
229
|
+
final_disbursal_amount: 0,
|
|
230
|
+
upfront_interest: 0,
|
|
231
|
+
rate_of_interest: 0,
|
|
232
|
+
bill_amount: 0,
|
|
233
|
+
total_interest_pay: 0,
|
|
234
|
+
effective_annual_rate: 0,
|
|
235
|
+
transaction_fee_bill_amount: 0,
|
|
236
|
+
processing_fee_plus_gst: 0,
|
|
237
|
+
trans_fee_plus_gst: 0,
|
|
238
|
+
fee_and_charges: 0,
|
|
239
|
+
fee_and_charges_bill: 0,
|
|
240
|
+
effective_roi: 0,
|
|
241
|
+
effective_annual_roi: 0,
|
|
242
|
+
emi_card_description: "",
|
|
243
|
+
bill_card_description: "",
|
|
244
|
+
apr_value: 0,
|
|
245
|
+
apr_type: "",
|
|
246
|
+
max_amount: 0,
|
|
247
|
+
credit_report_fees: 0,
|
|
248
|
+
credit_report_actual_fees: 0,
|
|
249
|
+
plan_id: 0,
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
exports.approveLoanResponse = {
|
|
253
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
254
|
+
if (message.gateway_fees !== 0) {
|
|
255
|
+
writer.uint32(8).int32(message.gateway_fees);
|
|
256
|
+
}
|
|
257
|
+
if (message.striked_gateway_fees !== 0) {
|
|
258
|
+
writer.uint32(16).int32(message.striked_gateway_fees);
|
|
259
|
+
}
|
|
260
|
+
if (message.bill_date !== "") {
|
|
261
|
+
writer.uint32(26).string(message.bill_date);
|
|
262
|
+
}
|
|
263
|
+
if (message.requested_amount !== 0) {
|
|
264
|
+
writer.uint32(32).int32(message.requested_amount);
|
|
265
|
+
}
|
|
266
|
+
if (message.tenure !== 0) {
|
|
267
|
+
writer.uint32(40).int32(message.tenure);
|
|
268
|
+
}
|
|
269
|
+
if (message.emi_amount !== 0) {
|
|
270
|
+
writer.uint32(48).int32(message.emi_amount);
|
|
271
|
+
}
|
|
272
|
+
if (message.net_amount_payable !== 0) {
|
|
273
|
+
writer.uint32(56).int32(message.net_amount_payable);
|
|
274
|
+
}
|
|
275
|
+
if (message.first_emi_date !== "") {
|
|
276
|
+
writer.uint32(66).string(message.first_emi_date);
|
|
277
|
+
}
|
|
278
|
+
if (message.final_disbursal_amount !== 0) {
|
|
279
|
+
writer.uint32(72).int32(message.final_disbursal_amount);
|
|
280
|
+
}
|
|
281
|
+
if (message.upfront_interest !== 0) {
|
|
282
|
+
writer.uint32(85).float(message.upfront_interest);
|
|
283
|
+
}
|
|
284
|
+
if (message.rate_of_interest !== 0) {
|
|
285
|
+
writer.uint32(88).int32(message.rate_of_interest);
|
|
286
|
+
}
|
|
287
|
+
if (message.bill_amount !== 0) {
|
|
288
|
+
writer.uint32(96).int32(message.bill_amount);
|
|
289
|
+
}
|
|
290
|
+
if (message.total_interest_pay !== 0) {
|
|
291
|
+
writer.uint32(104).int32(message.total_interest_pay);
|
|
292
|
+
}
|
|
293
|
+
if (message.effective_annual_rate !== 0) {
|
|
294
|
+
writer.uint32(112).int32(message.effective_annual_rate);
|
|
295
|
+
}
|
|
296
|
+
if (message.transaction_fee_bill_amount !== 0) {
|
|
297
|
+
writer.uint32(120).int32(message.transaction_fee_bill_amount);
|
|
298
|
+
}
|
|
299
|
+
if (message.processing_fee_plus_gst !== 0) {
|
|
300
|
+
writer.uint32(128).int32(message.processing_fee_plus_gst);
|
|
301
|
+
}
|
|
302
|
+
if (message.trans_fee_plus_gst !== 0) {
|
|
303
|
+
writer.uint32(136).int32(message.trans_fee_plus_gst);
|
|
304
|
+
}
|
|
305
|
+
if (message.fee_and_charges !== 0) {
|
|
306
|
+
writer.uint32(144).int32(message.fee_and_charges);
|
|
307
|
+
}
|
|
308
|
+
if (message.fee_and_charges_bill !== 0) {
|
|
309
|
+
writer.uint32(152).int32(message.fee_and_charges_bill);
|
|
310
|
+
}
|
|
311
|
+
if (message.effective_roi !== 0) {
|
|
312
|
+
writer.uint32(160).int32(message.effective_roi);
|
|
313
|
+
}
|
|
314
|
+
if (message.effective_annual_roi !== 0) {
|
|
315
|
+
writer.uint32(168).int32(message.effective_annual_roi);
|
|
316
|
+
}
|
|
317
|
+
if (message.emi_card_description !== "") {
|
|
318
|
+
writer.uint32(178).string(message.emi_card_description);
|
|
319
|
+
}
|
|
320
|
+
if (message.bill_card_description !== "") {
|
|
321
|
+
writer.uint32(186).string(message.bill_card_description);
|
|
322
|
+
}
|
|
323
|
+
if (message.apr_value !== 0) {
|
|
324
|
+
writer.uint32(192).int32(message.apr_value);
|
|
325
|
+
}
|
|
326
|
+
if (message.apr_type !== "") {
|
|
327
|
+
writer.uint32(202).string(message.apr_type);
|
|
328
|
+
}
|
|
329
|
+
if (message.max_amount !== 0) {
|
|
330
|
+
writer.uint32(208).int32(message.max_amount);
|
|
331
|
+
}
|
|
332
|
+
if (message.credit_report_fees !== 0) {
|
|
333
|
+
writer.uint32(216).int32(message.credit_report_fees);
|
|
334
|
+
}
|
|
335
|
+
if (message.credit_report_actual_fees !== 0) {
|
|
336
|
+
writer.uint32(224).int32(message.credit_report_actual_fees);
|
|
337
|
+
}
|
|
338
|
+
if (message.plan_id !== 0) {
|
|
339
|
+
writer.uint32(232).int32(message.plan_id);
|
|
340
|
+
}
|
|
341
|
+
return writer;
|
|
342
|
+
},
|
|
343
|
+
decode(input, length) {
|
|
344
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
345
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
346
|
+
const message = createBaseapproveLoanResponse();
|
|
347
|
+
while (reader.pos < end) {
|
|
348
|
+
const tag = reader.uint32();
|
|
349
|
+
switch (tag >>> 3) {
|
|
350
|
+
case 1:
|
|
351
|
+
if (tag !== 8) {
|
|
352
|
+
break;
|
|
353
|
+
}
|
|
354
|
+
message.gateway_fees = reader.int32();
|
|
355
|
+
continue;
|
|
356
|
+
case 2:
|
|
357
|
+
if (tag !== 16) {
|
|
358
|
+
break;
|
|
359
|
+
}
|
|
360
|
+
message.striked_gateway_fees = reader.int32();
|
|
361
|
+
continue;
|
|
362
|
+
case 3:
|
|
363
|
+
if (tag !== 26) {
|
|
364
|
+
break;
|
|
365
|
+
}
|
|
366
|
+
message.bill_date = reader.string();
|
|
367
|
+
continue;
|
|
368
|
+
case 4:
|
|
369
|
+
if (tag !== 32) {
|
|
370
|
+
break;
|
|
371
|
+
}
|
|
372
|
+
message.requested_amount = reader.int32();
|
|
373
|
+
continue;
|
|
374
|
+
case 5:
|
|
375
|
+
if (tag !== 40) {
|
|
376
|
+
break;
|
|
377
|
+
}
|
|
378
|
+
message.tenure = reader.int32();
|
|
379
|
+
continue;
|
|
380
|
+
case 6:
|
|
381
|
+
if (tag !== 48) {
|
|
382
|
+
break;
|
|
383
|
+
}
|
|
384
|
+
message.emi_amount = reader.int32();
|
|
385
|
+
continue;
|
|
386
|
+
case 7:
|
|
387
|
+
if (tag !== 56) {
|
|
388
|
+
break;
|
|
389
|
+
}
|
|
390
|
+
message.net_amount_payable = reader.int32();
|
|
391
|
+
continue;
|
|
392
|
+
case 8:
|
|
393
|
+
if (tag !== 66) {
|
|
394
|
+
break;
|
|
395
|
+
}
|
|
396
|
+
message.first_emi_date = reader.string();
|
|
397
|
+
continue;
|
|
398
|
+
case 9:
|
|
399
|
+
if (tag !== 72) {
|
|
400
|
+
break;
|
|
401
|
+
}
|
|
402
|
+
message.final_disbursal_amount = reader.int32();
|
|
403
|
+
continue;
|
|
404
|
+
case 10:
|
|
405
|
+
if (tag !== 85) {
|
|
406
|
+
break;
|
|
407
|
+
}
|
|
408
|
+
message.upfront_interest = reader.float();
|
|
409
|
+
continue;
|
|
410
|
+
case 11:
|
|
411
|
+
if (tag !== 88) {
|
|
412
|
+
break;
|
|
413
|
+
}
|
|
414
|
+
message.rate_of_interest = reader.int32();
|
|
415
|
+
continue;
|
|
416
|
+
case 12:
|
|
417
|
+
if (tag !== 96) {
|
|
418
|
+
break;
|
|
419
|
+
}
|
|
420
|
+
message.bill_amount = reader.int32();
|
|
421
|
+
continue;
|
|
422
|
+
case 13:
|
|
423
|
+
if (tag !== 104) {
|
|
424
|
+
break;
|
|
425
|
+
}
|
|
426
|
+
message.total_interest_pay = reader.int32();
|
|
427
|
+
continue;
|
|
428
|
+
case 14:
|
|
429
|
+
if (tag !== 112) {
|
|
430
|
+
break;
|
|
431
|
+
}
|
|
432
|
+
message.effective_annual_rate = reader.int32();
|
|
433
|
+
continue;
|
|
434
|
+
case 15:
|
|
435
|
+
if (tag !== 120) {
|
|
436
|
+
break;
|
|
437
|
+
}
|
|
438
|
+
message.transaction_fee_bill_amount = reader.int32();
|
|
439
|
+
continue;
|
|
440
|
+
case 16:
|
|
441
|
+
if (tag !== 128) {
|
|
442
|
+
break;
|
|
443
|
+
}
|
|
444
|
+
message.processing_fee_plus_gst = reader.int32();
|
|
445
|
+
continue;
|
|
446
|
+
case 17:
|
|
447
|
+
if (tag !== 136) {
|
|
448
|
+
break;
|
|
449
|
+
}
|
|
450
|
+
message.trans_fee_plus_gst = reader.int32();
|
|
451
|
+
continue;
|
|
452
|
+
case 18:
|
|
453
|
+
if (tag !== 144) {
|
|
454
|
+
break;
|
|
455
|
+
}
|
|
456
|
+
message.fee_and_charges = reader.int32();
|
|
457
|
+
continue;
|
|
458
|
+
case 19:
|
|
459
|
+
if (tag !== 152) {
|
|
460
|
+
break;
|
|
461
|
+
}
|
|
462
|
+
message.fee_and_charges_bill = reader.int32();
|
|
463
|
+
continue;
|
|
464
|
+
case 20:
|
|
465
|
+
if (tag !== 160) {
|
|
466
|
+
break;
|
|
467
|
+
}
|
|
468
|
+
message.effective_roi = reader.int32();
|
|
469
|
+
continue;
|
|
470
|
+
case 21:
|
|
471
|
+
if (tag !== 168) {
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
474
|
+
message.effective_annual_roi = reader.int32();
|
|
475
|
+
continue;
|
|
476
|
+
case 22:
|
|
477
|
+
if (tag !== 178) {
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
message.emi_card_description = reader.string();
|
|
481
|
+
continue;
|
|
482
|
+
case 23:
|
|
483
|
+
if (tag !== 186) {
|
|
484
|
+
break;
|
|
485
|
+
}
|
|
486
|
+
message.bill_card_description = reader.string();
|
|
487
|
+
continue;
|
|
488
|
+
case 24:
|
|
489
|
+
if (tag !== 192) {
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
message.apr_value = reader.int32();
|
|
493
|
+
continue;
|
|
494
|
+
case 25:
|
|
495
|
+
if (tag !== 202) {
|
|
496
|
+
break;
|
|
497
|
+
}
|
|
498
|
+
message.apr_type = reader.string();
|
|
499
|
+
continue;
|
|
500
|
+
case 26:
|
|
501
|
+
if (tag !== 208) {
|
|
502
|
+
break;
|
|
503
|
+
}
|
|
504
|
+
message.max_amount = reader.int32();
|
|
505
|
+
continue;
|
|
506
|
+
case 27:
|
|
507
|
+
if (tag !== 216) {
|
|
508
|
+
break;
|
|
509
|
+
}
|
|
510
|
+
message.credit_report_fees = reader.int32();
|
|
511
|
+
continue;
|
|
512
|
+
case 28:
|
|
513
|
+
if (tag !== 224) {
|
|
514
|
+
break;
|
|
515
|
+
}
|
|
516
|
+
message.credit_report_actual_fees = reader.int32();
|
|
517
|
+
continue;
|
|
518
|
+
case 29:
|
|
519
|
+
if (tag !== 232) {
|
|
520
|
+
break;
|
|
521
|
+
}
|
|
522
|
+
message.plan_id = reader.int32();
|
|
523
|
+
continue;
|
|
524
|
+
}
|
|
525
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
526
|
+
break;
|
|
527
|
+
}
|
|
528
|
+
reader.skipType(tag & 7);
|
|
529
|
+
}
|
|
530
|
+
return message;
|
|
531
|
+
},
|
|
532
|
+
fromJSON(object) {
|
|
533
|
+
return {
|
|
534
|
+
gateway_fees: isSet(object.gateway_fees) ? globalThis.Number(object.gateway_fees) : 0,
|
|
535
|
+
striked_gateway_fees: isSet(object.striked_gateway_fees) ? globalThis.Number(object.striked_gateway_fees) : 0,
|
|
536
|
+
bill_date: isSet(object.bill_date) ? globalThis.String(object.bill_date) : "",
|
|
537
|
+
requested_amount: isSet(object.requested_amount) ? globalThis.Number(object.requested_amount) : 0,
|
|
538
|
+
tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
|
|
539
|
+
emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
|
|
540
|
+
net_amount_payable: isSet(object.net_amount_payable) ? globalThis.Number(object.net_amount_payable) : 0,
|
|
541
|
+
first_emi_date: isSet(object.first_emi_date) ? globalThis.String(object.first_emi_date) : "",
|
|
542
|
+
final_disbursal_amount: isSet(object.final_disbursal_amount)
|
|
543
|
+
? globalThis.Number(object.final_disbursal_amount)
|
|
544
|
+
: 0,
|
|
545
|
+
upfront_interest: isSet(object.upfront_interest) ? globalThis.Number(object.upfront_interest) : 0,
|
|
546
|
+
rate_of_interest: isSet(object.rate_of_interest) ? globalThis.Number(object.rate_of_interest) : 0,
|
|
547
|
+
bill_amount: isSet(object.bill_amount) ? globalThis.Number(object.bill_amount) : 0,
|
|
548
|
+
total_interest_pay: isSet(object.total_interest_pay) ? globalThis.Number(object.total_interest_pay) : 0,
|
|
549
|
+
effective_annual_rate: isSet(object.effective_annual_rate) ? globalThis.Number(object.effective_annual_rate) : 0,
|
|
550
|
+
transaction_fee_bill_amount: isSet(object.transaction_fee_bill_amount)
|
|
551
|
+
? globalThis.Number(object.transaction_fee_bill_amount)
|
|
552
|
+
: 0,
|
|
553
|
+
processing_fee_plus_gst: isSet(object.processing_fee_plus_gst)
|
|
554
|
+
? globalThis.Number(object.processing_fee_plus_gst)
|
|
555
|
+
: 0,
|
|
556
|
+
trans_fee_plus_gst: isSet(object.trans_fee_plus_gst) ? globalThis.Number(object.trans_fee_plus_gst) : 0,
|
|
557
|
+
fee_and_charges: isSet(object.fee_and_charges) ? globalThis.Number(object.fee_and_charges) : 0,
|
|
558
|
+
fee_and_charges_bill: isSet(object.fee_and_charges_bill) ? globalThis.Number(object.fee_and_charges_bill) : 0,
|
|
559
|
+
effective_roi: isSet(object.effective_roi) ? globalThis.Number(object.effective_roi) : 0,
|
|
560
|
+
effective_annual_roi: isSet(object.effective_annual_roi) ? globalThis.Number(object.effective_annual_roi) : 0,
|
|
561
|
+
emi_card_description: isSet(object.emi_card_description) ? globalThis.String(object.emi_card_description) : "",
|
|
562
|
+
bill_card_description: isSet(object.bill_card_description) ? globalThis.String(object.bill_card_description) : "",
|
|
563
|
+
apr_value: isSet(object.apr_value) ? globalThis.Number(object.apr_value) : 0,
|
|
564
|
+
apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) : "",
|
|
565
|
+
max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : 0,
|
|
566
|
+
credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : 0,
|
|
567
|
+
credit_report_actual_fees: isSet(object.credit_report_actual_fees)
|
|
568
|
+
? globalThis.Number(object.credit_report_actual_fees)
|
|
569
|
+
: 0,
|
|
570
|
+
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
|
|
571
|
+
};
|
|
572
|
+
},
|
|
573
|
+
toJSON(message) {
|
|
574
|
+
const obj = {};
|
|
575
|
+
if (message.gateway_fees !== 0) {
|
|
576
|
+
obj.gateway_fees = Math.round(message.gateway_fees);
|
|
577
|
+
}
|
|
578
|
+
if (message.striked_gateway_fees !== 0) {
|
|
579
|
+
obj.striked_gateway_fees = Math.round(message.striked_gateway_fees);
|
|
580
|
+
}
|
|
581
|
+
if (message.bill_date !== "") {
|
|
582
|
+
obj.bill_date = message.bill_date;
|
|
583
|
+
}
|
|
584
|
+
if (message.requested_amount !== 0) {
|
|
585
|
+
obj.requested_amount = Math.round(message.requested_amount);
|
|
586
|
+
}
|
|
587
|
+
if (message.tenure !== 0) {
|
|
588
|
+
obj.tenure = Math.round(message.tenure);
|
|
589
|
+
}
|
|
590
|
+
if (message.emi_amount !== 0) {
|
|
591
|
+
obj.emi_amount = Math.round(message.emi_amount);
|
|
592
|
+
}
|
|
593
|
+
if (message.net_amount_payable !== 0) {
|
|
594
|
+
obj.net_amount_payable = Math.round(message.net_amount_payable);
|
|
595
|
+
}
|
|
596
|
+
if (message.first_emi_date !== "") {
|
|
597
|
+
obj.first_emi_date = message.first_emi_date;
|
|
598
|
+
}
|
|
599
|
+
if (message.final_disbursal_amount !== 0) {
|
|
600
|
+
obj.final_disbursal_amount = Math.round(message.final_disbursal_amount);
|
|
601
|
+
}
|
|
602
|
+
if (message.upfront_interest !== 0) {
|
|
603
|
+
obj.upfront_interest = message.upfront_interest;
|
|
604
|
+
}
|
|
605
|
+
if (message.rate_of_interest !== 0) {
|
|
606
|
+
obj.rate_of_interest = Math.round(message.rate_of_interest);
|
|
607
|
+
}
|
|
608
|
+
if (message.bill_amount !== 0) {
|
|
609
|
+
obj.bill_amount = Math.round(message.bill_amount);
|
|
610
|
+
}
|
|
611
|
+
if (message.total_interest_pay !== 0) {
|
|
612
|
+
obj.total_interest_pay = Math.round(message.total_interest_pay);
|
|
613
|
+
}
|
|
614
|
+
if (message.effective_annual_rate !== 0) {
|
|
615
|
+
obj.effective_annual_rate = Math.round(message.effective_annual_rate);
|
|
616
|
+
}
|
|
617
|
+
if (message.transaction_fee_bill_amount !== 0) {
|
|
618
|
+
obj.transaction_fee_bill_amount = Math.round(message.transaction_fee_bill_amount);
|
|
619
|
+
}
|
|
620
|
+
if (message.processing_fee_plus_gst !== 0) {
|
|
621
|
+
obj.processing_fee_plus_gst = Math.round(message.processing_fee_plus_gst);
|
|
622
|
+
}
|
|
623
|
+
if (message.trans_fee_plus_gst !== 0) {
|
|
624
|
+
obj.trans_fee_plus_gst = Math.round(message.trans_fee_plus_gst);
|
|
625
|
+
}
|
|
626
|
+
if (message.fee_and_charges !== 0) {
|
|
627
|
+
obj.fee_and_charges = Math.round(message.fee_and_charges);
|
|
628
|
+
}
|
|
629
|
+
if (message.fee_and_charges_bill !== 0) {
|
|
630
|
+
obj.fee_and_charges_bill = Math.round(message.fee_and_charges_bill);
|
|
631
|
+
}
|
|
632
|
+
if (message.effective_roi !== 0) {
|
|
633
|
+
obj.effective_roi = Math.round(message.effective_roi);
|
|
634
|
+
}
|
|
635
|
+
if (message.effective_annual_roi !== 0) {
|
|
636
|
+
obj.effective_annual_roi = Math.round(message.effective_annual_roi);
|
|
637
|
+
}
|
|
638
|
+
if (message.emi_card_description !== "") {
|
|
639
|
+
obj.emi_card_description = message.emi_card_description;
|
|
640
|
+
}
|
|
641
|
+
if (message.bill_card_description !== "") {
|
|
642
|
+
obj.bill_card_description = message.bill_card_description;
|
|
643
|
+
}
|
|
644
|
+
if (message.apr_value !== 0) {
|
|
645
|
+
obj.apr_value = Math.round(message.apr_value);
|
|
646
|
+
}
|
|
647
|
+
if (message.apr_type !== "") {
|
|
648
|
+
obj.apr_type = message.apr_type;
|
|
649
|
+
}
|
|
650
|
+
if (message.max_amount !== 0) {
|
|
651
|
+
obj.max_amount = Math.round(message.max_amount);
|
|
652
|
+
}
|
|
653
|
+
if (message.credit_report_fees !== 0) {
|
|
654
|
+
obj.credit_report_fees = Math.round(message.credit_report_fees);
|
|
655
|
+
}
|
|
656
|
+
if (message.credit_report_actual_fees !== 0) {
|
|
657
|
+
obj.credit_report_actual_fees = Math.round(message.credit_report_actual_fees);
|
|
658
|
+
}
|
|
659
|
+
if (message.plan_id !== 0) {
|
|
660
|
+
obj.plan_id = Math.round(message.plan_id);
|
|
661
|
+
}
|
|
662
|
+
return obj;
|
|
663
|
+
},
|
|
664
|
+
create(base) {
|
|
665
|
+
return exports.approveLoanResponse.fromPartial(base ?? {});
|
|
666
|
+
},
|
|
667
|
+
fromPartial(object) {
|
|
668
|
+
const message = createBaseapproveLoanResponse();
|
|
669
|
+
message.gateway_fees = object.gateway_fees ?? 0;
|
|
670
|
+
message.striked_gateway_fees = object.striked_gateway_fees ?? 0;
|
|
671
|
+
message.bill_date = object.bill_date ?? "";
|
|
672
|
+
message.requested_amount = object.requested_amount ?? 0;
|
|
673
|
+
message.tenure = object.tenure ?? 0;
|
|
674
|
+
message.emi_amount = object.emi_amount ?? 0;
|
|
675
|
+
message.net_amount_payable = object.net_amount_payable ?? 0;
|
|
676
|
+
message.first_emi_date = object.first_emi_date ?? "";
|
|
677
|
+
message.final_disbursal_amount = object.final_disbursal_amount ?? 0;
|
|
678
|
+
message.upfront_interest = object.upfront_interest ?? 0;
|
|
679
|
+
message.rate_of_interest = object.rate_of_interest ?? 0;
|
|
680
|
+
message.bill_amount = object.bill_amount ?? 0;
|
|
681
|
+
message.total_interest_pay = object.total_interest_pay ?? 0;
|
|
682
|
+
message.effective_annual_rate = object.effective_annual_rate ?? 0;
|
|
683
|
+
message.transaction_fee_bill_amount = object.transaction_fee_bill_amount ?? 0;
|
|
684
|
+
message.processing_fee_plus_gst = object.processing_fee_plus_gst ?? 0;
|
|
685
|
+
message.trans_fee_plus_gst = object.trans_fee_plus_gst ?? 0;
|
|
686
|
+
message.fee_and_charges = object.fee_and_charges ?? 0;
|
|
687
|
+
message.fee_and_charges_bill = object.fee_and_charges_bill ?? 0;
|
|
688
|
+
message.effective_roi = object.effective_roi ?? 0;
|
|
689
|
+
message.effective_annual_roi = object.effective_annual_roi ?? 0;
|
|
690
|
+
message.emi_card_description = object.emi_card_description ?? "";
|
|
691
|
+
message.bill_card_description = object.bill_card_description ?? "";
|
|
692
|
+
message.apr_value = object.apr_value ?? 0;
|
|
693
|
+
message.apr_type = object.apr_type ?? "";
|
|
694
|
+
message.max_amount = object.max_amount ?? 0;
|
|
695
|
+
message.credit_report_fees = object.credit_report_fees ?? 0;
|
|
696
|
+
message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
|
|
697
|
+
message.plan_id = object.plan_id ?? 0;
|
|
698
|
+
return message;
|
|
699
|
+
},
|
|
700
|
+
};
|
|
701
|
+
function isSet(value) {
|
|
702
|
+
return value !== null && value !== undefined;
|
|
703
|
+
}
|