@sniipwebmaster/bill-service-client-grpcweb 0.2.5082 → 0.2.5108
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/dependancies/service_pb.js +55 -136
- package/package.json +1 -1
|
@@ -2162,7 +2162,6 @@ proto.sniipbillapi.BillCreateRequest.prototype.toObject = function(opt_includeIn
|
|
|
2162
2162
|
proto.sniipbillapi.BillCreateRequest.toObject = function(includeInstance, msg) {
|
|
2163
2163
|
var f, obj = {
|
|
2164
2164
|
billerid: msg.getBillerid(),
|
|
2165
|
-
paymentgatewayid: msg.getPaymentgatewayid(),
|
|
2166
2165
|
billercode: msg.getBillercode(),
|
|
2167
2166
|
userid: msg.getUserid(),
|
|
2168
2167
|
type: msg.getType(),
|
|
@@ -2222,10 +2221,6 @@ proto.sniipbillapi.BillCreateRequest.deserializeBinaryFromReader = function(msg,
|
|
|
2222
2221
|
var value = /** @type {number} */ (reader.readInt64());
|
|
2223
2222
|
msg.setBillerid(value);
|
|
2224
2223
|
break;
|
|
2225
|
-
case 2:
|
|
2226
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2227
|
-
msg.setPaymentgatewayid(value);
|
|
2228
|
-
break;
|
|
2229
2224
|
case 3:
|
|
2230
2225
|
var value = /** @type {string} */ (reader.readString());
|
|
2231
2226
|
msg.setBillercode(value);
|
|
@@ -2348,13 +2343,6 @@ proto.sniipbillapi.BillCreateRequest.prototype.serializeBinaryToWriter = functio
|
|
|
2348
2343
|
f
|
|
2349
2344
|
);
|
|
2350
2345
|
}
|
|
2351
|
-
f = this.getPaymentgatewayid();
|
|
2352
|
-
if (f !== 0) {
|
|
2353
|
-
writer.writeInt64(
|
|
2354
|
-
2,
|
|
2355
|
-
f
|
|
2356
|
-
);
|
|
2357
|
-
}
|
|
2358
2346
|
f = this.getBillercode();
|
|
2359
2347
|
if (f.length > 0) {
|
|
2360
2348
|
writer.writeString(
|
|
@@ -2515,21 +2503,6 @@ proto.sniipbillapi.BillCreateRequest.prototype.setBillerid = function(value) {
|
|
|
2515
2503
|
};
|
|
2516
2504
|
|
|
2517
2505
|
|
|
2518
|
-
/**
|
|
2519
|
-
* optional int64 paymentGatewayId = 2;
|
|
2520
|
-
* @return {number}
|
|
2521
|
-
*/
|
|
2522
|
-
proto.sniipbillapi.BillCreateRequest.prototype.getPaymentgatewayid = function() {
|
|
2523
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
2524
|
-
};
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
/** @param {number} value */
|
|
2528
|
-
proto.sniipbillapi.BillCreateRequest.prototype.setPaymentgatewayid = function(value) {
|
|
2529
|
-
jspb.Message.setField(this, 2, value);
|
|
2530
|
-
};
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
2506
|
/**
|
|
2534
2507
|
* optional string billerCode = 3;
|
|
2535
2508
|
* @return {string}
|
|
@@ -3104,13 +3077,11 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
|
|
|
3104
3077
|
maxamountpermitted: msg.getMaxamountpermitted(),
|
|
3105
3078
|
minamountpermitted: msg.getMinamountpermitted(),
|
|
3106
3079
|
partialpaymentpermitted: msg.getPartialpaymentpermitted(),
|
|
3107
|
-
paymentgatewayid: msg.getPaymentgatewayid(),
|
|
3108
3080
|
reference: msg.getReference(),
|
|
3109
3081
|
scheduleitemsList: jspb.Message.toObjectList(msg.getScheduleitemsList(),
|
|
3110
3082
|
proto.sniipbillapi.ScheduleItem.toObject, includeInstance),
|
|
3111
3083
|
shouldgetpaymentdetails: msg.getShouldgetpaymentdetails(),
|
|
3112
3084
|
source: msg.getSource(),
|
|
3113
|
-
surchargerate: msg.getSurchargerate(),
|
|
3114
3085
|
totalamount: msg.getTotalamount(),
|
|
3115
3086
|
type: msg.getType(),
|
|
3116
3087
|
remainingunpaidamount: msg.getRemainingunpaidamount(),
|
|
@@ -3136,7 +3107,9 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
|
|
|
3136
3107
|
donationtext: msg.getDonationtext(),
|
|
3137
3108
|
originaldonationamount: msg.getOriginaldonationamount(),
|
|
3138
3109
|
donationamountdifference: msg.getDonationamountdifference(),
|
|
3139
|
-
billerdescription: msg.getBillerdescription()
|
|
3110
|
+
billerdescription: msg.getBillerdescription(),
|
|
3111
|
+
billertimezone: msg.getBillertimezone(),
|
|
3112
|
+
billertimezoneabbr: msg.getBillertimezoneabbr()
|
|
3140
3113
|
};
|
|
3141
3114
|
|
|
3142
3115
|
if (includeInstance) {
|
|
@@ -3254,10 +3227,6 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
3254
3227
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3255
3228
|
msg.setPartialpaymentpermitted(value);
|
|
3256
3229
|
break;
|
|
3257
|
-
case 21:
|
|
3258
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
3259
|
-
msg.setPaymentgatewayid(value);
|
|
3260
|
-
break;
|
|
3261
3230
|
case 22:
|
|
3262
3231
|
var value = /** @type {string} */ (reader.readString());
|
|
3263
3232
|
msg.setReference(value);
|
|
@@ -3276,10 +3245,6 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
3276
3245
|
var value = /** @type {string} */ (reader.readString());
|
|
3277
3246
|
msg.setSource(value);
|
|
3278
3247
|
break;
|
|
3279
|
-
case 26:
|
|
3280
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
3281
|
-
msg.setSurchargerate(value);
|
|
3282
|
-
break;
|
|
3283
3248
|
case 27:
|
|
3284
3249
|
var value = /** @type {number} */ (reader.readDouble());
|
|
3285
3250
|
msg.setTotalamount(value);
|
|
@@ -3384,6 +3349,14 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
3384
3349
|
var value = /** @type {string} */ (reader.readString());
|
|
3385
3350
|
msg.setBillerdescription(value);
|
|
3386
3351
|
break;
|
|
3352
|
+
case 53:
|
|
3353
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3354
|
+
msg.setBillertimezone(value);
|
|
3355
|
+
break;
|
|
3356
|
+
case 54:
|
|
3357
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3358
|
+
msg.setBillertimezoneabbr(value);
|
|
3359
|
+
break;
|
|
3387
3360
|
default:
|
|
3388
3361
|
reader.skipField();
|
|
3389
3362
|
break;
|
|
@@ -3562,13 +3535,6 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
|
|
|
3562
3535
|
f
|
|
3563
3536
|
);
|
|
3564
3537
|
}
|
|
3565
|
-
f = this.getPaymentgatewayid();
|
|
3566
|
-
if (f !== 0) {
|
|
3567
|
-
writer.writeInt64(
|
|
3568
|
-
21,
|
|
3569
|
-
f
|
|
3570
|
-
);
|
|
3571
|
-
}
|
|
3572
3538
|
f = this.getReference();
|
|
3573
3539
|
if (f.length > 0) {
|
|
3574
3540
|
writer.writeString(
|
|
@@ -3598,13 +3564,6 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
|
|
|
3598
3564
|
f
|
|
3599
3565
|
);
|
|
3600
3566
|
}
|
|
3601
|
-
f = this.getSurchargerate();
|
|
3602
|
-
if (f !== 0.0) {
|
|
3603
|
-
writer.writeDouble(
|
|
3604
|
-
26,
|
|
3605
|
-
f
|
|
3606
|
-
);
|
|
3607
|
-
}
|
|
3608
3567
|
f = this.getTotalamount();
|
|
3609
3568
|
if (f !== 0.0) {
|
|
3610
3569
|
writer.writeDouble(
|
|
@@ -3787,6 +3746,20 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
|
|
|
3787
3746
|
f
|
|
3788
3747
|
);
|
|
3789
3748
|
}
|
|
3749
|
+
f = this.getBillertimezone();
|
|
3750
|
+
if (f.length > 0) {
|
|
3751
|
+
writer.writeString(
|
|
3752
|
+
53,
|
|
3753
|
+
f
|
|
3754
|
+
);
|
|
3755
|
+
}
|
|
3756
|
+
f = this.getBillertimezoneabbr();
|
|
3757
|
+
if (f.length > 0) {
|
|
3758
|
+
writer.writeString(
|
|
3759
|
+
54,
|
|
3760
|
+
f
|
|
3761
|
+
);
|
|
3762
|
+
}
|
|
3790
3763
|
};
|
|
3791
3764
|
|
|
3792
3765
|
|
|
@@ -4118,21 +4091,6 @@ proto.sniipbillapi.BillDetail.prototype.setPartialpaymentpermitted = function(va
|
|
|
4118
4091
|
};
|
|
4119
4092
|
|
|
4120
4093
|
|
|
4121
|
-
/**
|
|
4122
|
-
* optional int64 paymentGatewayId = 21;
|
|
4123
|
-
* @return {number}
|
|
4124
|
-
*/
|
|
4125
|
-
proto.sniipbillapi.BillDetail.prototype.getPaymentgatewayid = function() {
|
|
4126
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 21, 0));
|
|
4127
|
-
};
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
/** @param {number} value */
|
|
4131
|
-
proto.sniipbillapi.BillDetail.prototype.setPaymentgatewayid = function(value) {
|
|
4132
|
-
jspb.Message.setField(this, 21, value);
|
|
4133
|
-
};
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
4094
|
/**
|
|
4137
4095
|
* optional string reference = 22;
|
|
4138
4096
|
* @return {string}
|
|
@@ -4203,21 +4161,6 @@ proto.sniipbillapi.BillDetail.prototype.setSource = function(value) {
|
|
|
4203
4161
|
};
|
|
4204
4162
|
|
|
4205
4163
|
|
|
4206
|
-
/**
|
|
4207
|
-
* optional double surchargeRate = 26;
|
|
4208
|
-
* @return {number}
|
|
4209
|
-
*/
|
|
4210
|
-
proto.sniipbillapi.BillDetail.prototype.getSurchargerate = function() {
|
|
4211
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 26, 0));
|
|
4212
|
-
};
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
/** @param {number} value */
|
|
4216
|
-
proto.sniipbillapi.BillDetail.prototype.setSurchargerate = function(value) {
|
|
4217
|
-
jspb.Message.setField(this, 26, value);
|
|
4218
|
-
};
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
4164
|
/**
|
|
4222
4165
|
* optional double totalAmount = 27;
|
|
4223
4166
|
* @return {number}
|
|
@@ -4620,6 +4563,36 @@ proto.sniipbillapi.BillDetail.prototype.setBillerdescription = function(value) {
|
|
|
4620
4563
|
};
|
|
4621
4564
|
|
|
4622
4565
|
|
|
4566
|
+
/**
|
|
4567
|
+
* optional string billerTimezone = 53;
|
|
4568
|
+
* @return {string}
|
|
4569
|
+
*/
|
|
4570
|
+
proto.sniipbillapi.BillDetail.prototype.getBillertimezone = function() {
|
|
4571
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 53, ""));
|
|
4572
|
+
};
|
|
4573
|
+
|
|
4574
|
+
|
|
4575
|
+
/** @param {string} value */
|
|
4576
|
+
proto.sniipbillapi.BillDetail.prototype.setBillertimezone = function(value) {
|
|
4577
|
+
jspb.Message.setField(this, 53, value);
|
|
4578
|
+
};
|
|
4579
|
+
|
|
4580
|
+
|
|
4581
|
+
/**
|
|
4582
|
+
* optional string billerTimezoneAbbr = 54;
|
|
4583
|
+
* @return {string}
|
|
4584
|
+
*/
|
|
4585
|
+
proto.sniipbillapi.BillDetail.prototype.getBillertimezoneabbr = function() {
|
|
4586
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 54, ""));
|
|
4587
|
+
};
|
|
4588
|
+
|
|
4589
|
+
|
|
4590
|
+
/** @param {string} value */
|
|
4591
|
+
proto.sniipbillapi.BillDetail.prototype.setBillertimezoneabbr = function(value) {
|
|
4592
|
+
jspb.Message.setField(this, 54, value);
|
|
4593
|
+
};
|
|
4594
|
+
|
|
4595
|
+
|
|
4623
4596
|
|
|
4624
4597
|
/**
|
|
4625
4598
|
* Generated by JsPbCodeGenerator.
|
|
@@ -20536,14 +20509,12 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
|
|
|
20536
20509
|
formattedreference: msg.getFormattedreference(),
|
|
20537
20510
|
billerlogo: msg.getBillerlogo(),
|
|
20538
20511
|
billercrnnickname: msg.getBillercrnnickname(),
|
|
20539
|
-
paymentgatewayid: msg.getPaymentgatewayid(),
|
|
20540
20512
|
source: msg.getSource(),
|
|
20541
20513
|
remainingunpaidamount: msg.getRemainingunpaidamount(),
|
|
20542
20514
|
duedate: msg.getDuedate(),
|
|
20543
20515
|
billpaid: msg.getBillpaid(),
|
|
20544
20516
|
billarchived: msg.getBillarchived(),
|
|
20545
20517
|
isoverdue: msg.getIsoverdue(),
|
|
20546
|
-
surchargerate: msg.getSurchargerate(),
|
|
20547
20518
|
maxamountpermitted: msg.getMaxamountpermitted(),
|
|
20548
20519
|
minamountpermitted: msg.getMinamountpermitted(),
|
|
20549
20520
|
partialpaymentpermitted: msg.getPartialpaymentpermitted(),
|
|
@@ -20650,10 +20621,6 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
|
|
|
20650
20621
|
var value = /** @type {string} */ (reader.readString());
|
|
20651
20622
|
msg.setBillercrnnickname(value);
|
|
20652
20623
|
break;
|
|
20653
|
-
case 9:
|
|
20654
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
20655
|
-
msg.setPaymentgatewayid(value);
|
|
20656
|
-
break;
|
|
20657
20624
|
case 10:
|
|
20658
20625
|
var value = /** @type {string} */ (reader.readString());
|
|
20659
20626
|
msg.setSource(value);
|
|
@@ -20678,10 +20645,6 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
|
|
|
20678
20645
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
20679
20646
|
msg.setIsoverdue(value);
|
|
20680
20647
|
break;
|
|
20681
|
-
case 17:
|
|
20682
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
20683
|
-
msg.setSurchargerate(value);
|
|
20684
|
-
break;
|
|
20685
20648
|
case 18:
|
|
20686
20649
|
var value = /** @type {number} */ (reader.readDouble());
|
|
20687
20650
|
msg.setMaxamountpermitted(value);
|
|
@@ -20929,13 +20892,6 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
|
|
|
20929
20892
|
f
|
|
20930
20893
|
);
|
|
20931
20894
|
}
|
|
20932
|
-
f = this.getPaymentgatewayid();
|
|
20933
|
-
if (f !== 0) {
|
|
20934
|
-
writer.writeInt64(
|
|
20935
|
-
9,
|
|
20936
|
-
f
|
|
20937
|
-
);
|
|
20938
|
-
}
|
|
20939
20895
|
f = this.getSource();
|
|
20940
20896
|
if (f.length > 0) {
|
|
20941
20897
|
writer.writeString(
|
|
@@ -20978,13 +20934,6 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
|
|
|
20978
20934
|
f
|
|
20979
20935
|
);
|
|
20980
20936
|
}
|
|
20981
|
-
f = this.getSurchargerate();
|
|
20982
|
-
if (f !== 0.0) {
|
|
20983
|
-
writer.writeDouble(
|
|
20984
|
-
17,
|
|
20985
|
-
f
|
|
20986
|
-
);
|
|
20987
|
-
}
|
|
20988
20937
|
f = this.getMaxamountpermitted();
|
|
20989
20938
|
if (f !== 0.0) {
|
|
20990
20939
|
writer.writeDouble(
|
|
@@ -21383,21 +21332,6 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setBillercrnnickname = function(va
|
|
|
21383
21332
|
};
|
|
21384
21333
|
|
|
21385
21334
|
|
|
21386
|
-
/**
|
|
21387
|
-
* optional int64 paymentGatewayId = 9;
|
|
21388
|
-
* @return {number}
|
|
21389
|
-
*/
|
|
21390
|
-
proto.sniipbillapi.SimpleBillDetail.prototype.getPaymentgatewayid = function() {
|
|
21391
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
|
|
21392
|
-
};
|
|
21393
|
-
|
|
21394
|
-
|
|
21395
|
-
/** @param {number} value */
|
|
21396
|
-
proto.sniipbillapi.SimpleBillDetail.prototype.setPaymentgatewayid = function(value) {
|
|
21397
|
-
jspb.Message.setField(this, 9, value);
|
|
21398
|
-
};
|
|
21399
|
-
|
|
21400
|
-
|
|
21401
21335
|
/**
|
|
21402
21336
|
* optional string source = 10;
|
|
21403
21337
|
* @return {string}
|
|
@@ -21494,21 +21428,6 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setIsoverdue = function(value) {
|
|
|
21494
21428
|
};
|
|
21495
21429
|
|
|
21496
21430
|
|
|
21497
|
-
/**
|
|
21498
|
-
* optional double surchargeRate = 17;
|
|
21499
|
-
* @return {number}
|
|
21500
|
-
*/
|
|
21501
|
-
proto.sniipbillapi.SimpleBillDetail.prototype.getSurchargerate = function() {
|
|
21502
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 17, 0));
|
|
21503
|
-
};
|
|
21504
|
-
|
|
21505
|
-
|
|
21506
|
-
/** @param {number} value */
|
|
21507
|
-
proto.sniipbillapi.SimpleBillDetail.prototype.setSurchargerate = function(value) {
|
|
21508
|
-
jspb.Message.setField(this, 17, value);
|
|
21509
|
-
};
|
|
21510
|
-
|
|
21511
|
-
|
|
21512
21431
|
/**
|
|
21513
21432
|
* optional double maxAmountPermitted = 18;
|
|
21514
21433
|
* @return {number}
|