@sniipwebmaster/bill-service-client-grpcweb 25.11.14548 → 25.11.14566
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 +412 -4
- package/package.json +1 -1
|
@@ -191,6 +191,7 @@ goog.exportSymbol('proto.sniipbillapi.VerifyBankAccountDetailsRequest', null, gl
|
|
|
191
191
|
goog.exportSymbol('proto.sniipbillapi.VerifyBankAccountDetailsResponse', null, global);
|
|
192
192
|
goog.exportSymbol('proto.sniipbillapi.VerifySmeBillerConfigRequest', null, global);
|
|
193
193
|
goog.exportSymbol('proto.sniipbillapi.VerifySmeBillerConfigResponse', null, global);
|
|
194
|
+
goog.exportSymbol('proto.sniipbillapi.VirtualBill', null, global);
|
|
194
195
|
goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceRequest', null, global);
|
|
195
196
|
goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceResponse', null, global);
|
|
196
197
|
/**
|
|
@@ -676,6 +677,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
676
677
|
*/
|
|
677
678
|
proto.sniipbillapi.BillDetail.displayName = 'proto.sniipbillapi.BillDetail';
|
|
678
679
|
}
|
|
680
|
+
/**
|
|
681
|
+
* Generated by JsPbCodeGenerator.
|
|
682
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
683
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
684
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
685
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
686
|
+
* valid.
|
|
687
|
+
* @extends {jspb.Message}
|
|
688
|
+
* @constructor
|
|
689
|
+
*/
|
|
690
|
+
proto.sniipbillapi.VirtualBill = function(opt_data) {
|
|
691
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
692
|
+
};
|
|
693
|
+
goog.inherits(proto.sniipbillapi.VirtualBill, jspb.Message);
|
|
694
|
+
if (goog.DEBUG && !COMPILED) {
|
|
695
|
+
/**
|
|
696
|
+
* @public
|
|
697
|
+
* @override
|
|
698
|
+
*/
|
|
699
|
+
proto.sniipbillapi.VirtualBill.displayName = 'proto.sniipbillapi.VirtualBill';
|
|
700
|
+
}
|
|
679
701
|
/**
|
|
680
702
|
* Generated by JsPbCodeGenerator.
|
|
681
703
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9460,7 +9482,7 @@ proto.sniipbillapi.BillCreateRequest.prototype.setInvoicenumber = function(value
|
|
|
9460
9482
|
* @private {!Array<number>}
|
|
9461
9483
|
* @const
|
|
9462
9484
|
*/
|
|
9463
|
-
proto.sniipbillapi.BillCreateRequestV2.repeatedFields_ = [23];
|
|
9485
|
+
proto.sniipbillapi.BillCreateRequestV2.repeatedFields_ = [23,28];
|
|
9464
9486
|
|
|
9465
9487
|
|
|
9466
9488
|
|
|
@@ -9520,7 +9542,9 @@ proto.sniipbillapi.BillCreateRequestV2.toObject = function(includeInstance, msg)
|
|
|
9520
9542
|
isagentbill: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
9521
9543
|
requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
|
9522
9544
|
affiliationconfirmationisgiven: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
9523
|
-
externalid: jspb.Message.getFieldWithDefault(msg, 27, "")
|
|
9545
|
+
externalid: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
9546
|
+
virtualbillsList: jspb.Message.toObjectList(msg.getVirtualbillsList(),
|
|
9547
|
+
proto.sniipbillapi.VirtualBill.toObject, includeInstance)
|
|
9524
9548
|
};
|
|
9525
9549
|
|
|
9526
9550
|
if (includeInstance) {
|
|
@@ -9666,6 +9690,11 @@ proto.sniipbillapi.BillCreateRequestV2.deserializeBinaryFromReader = function(ms
|
|
|
9666
9690
|
var value = /** @type {string} */ (reader.readString());
|
|
9667
9691
|
msg.setExternalid(value);
|
|
9668
9692
|
break;
|
|
9693
|
+
case 28:
|
|
9694
|
+
var value = new proto.sniipbillapi.VirtualBill;
|
|
9695
|
+
reader.readMessage(value,proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader);
|
|
9696
|
+
msg.addVirtualbills(value);
|
|
9697
|
+
break;
|
|
9669
9698
|
default:
|
|
9670
9699
|
reader.skipField();
|
|
9671
9700
|
break;
|
|
@@ -9885,6 +9914,14 @@ proto.sniipbillapi.BillCreateRequestV2.serializeBinaryToWriter = function(messag
|
|
|
9885
9914
|
f
|
|
9886
9915
|
);
|
|
9887
9916
|
}
|
|
9917
|
+
f = message.getVirtualbillsList();
|
|
9918
|
+
if (f.length > 0) {
|
|
9919
|
+
writer.writeRepeatedMessage(
|
|
9920
|
+
28,
|
|
9921
|
+
f,
|
|
9922
|
+
proto.sniipbillapi.VirtualBill.serializeBinaryToWriter
|
|
9923
|
+
);
|
|
9924
|
+
}
|
|
9888
9925
|
};
|
|
9889
9926
|
|
|
9890
9927
|
|
|
@@ -10394,6 +10431,44 @@ proto.sniipbillapi.BillCreateRequestV2.prototype.setExternalid = function(value)
|
|
|
10394
10431
|
};
|
|
10395
10432
|
|
|
10396
10433
|
|
|
10434
|
+
/**
|
|
10435
|
+
* repeated VirtualBill virtualBills = 28;
|
|
10436
|
+
* @return {!Array<!proto.sniipbillapi.VirtualBill>}
|
|
10437
|
+
*/
|
|
10438
|
+
proto.sniipbillapi.BillCreateRequestV2.prototype.getVirtualbillsList = function() {
|
|
10439
|
+
return /** @type{!Array<!proto.sniipbillapi.VirtualBill>} */ (
|
|
10440
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.VirtualBill, 28));
|
|
10441
|
+
};
|
|
10442
|
+
|
|
10443
|
+
|
|
10444
|
+
/**
|
|
10445
|
+
* @param {!Array<!proto.sniipbillapi.VirtualBill>} value
|
|
10446
|
+
* @return {!proto.sniipbillapi.BillCreateRequestV2} returns this
|
|
10447
|
+
*/
|
|
10448
|
+
proto.sniipbillapi.BillCreateRequestV2.prototype.setVirtualbillsList = function(value) {
|
|
10449
|
+
return jspb.Message.setRepeatedWrapperField(this, 28, value);
|
|
10450
|
+
};
|
|
10451
|
+
|
|
10452
|
+
|
|
10453
|
+
/**
|
|
10454
|
+
* @param {!proto.sniipbillapi.VirtualBill=} opt_value
|
|
10455
|
+
* @param {number=} opt_index
|
|
10456
|
+
* @return {!proto.sniipbillapi.VirtualBill}
|
|
10457
|
+
*/
|
|
10458
|
+
proto.sniipbillapi.BillCreateRequestV2.prototype.addVirtualbills = function(opt_value, opt_index) {
|
|
10459
|
+
return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.sniipbillapi.VirtualBill, opt_index);
|
|
10460
|
+
};
|
|
10461
|
+
|
|
10462
|
+
|
|
10463
|
+
/**
|
|
10464
|
+
* Clears the list making it empty but non-null.
|
|
10465
|
+
* @return {!proto.sniipbillapi.BillCreateRequestV2} returns this
|
|
10466
|
+
*/
|
|
10467
|
+
proto.sniipbillapi.BillCreateRequestV2.prototype.clearVirtualbillsList = function() {
|
|
10468
|
+
return this.setVirtualbillsList([]);
|
|
10469
|
+
};
|
|
10470
|
+
|
|
10471
|
+
|
|
10397
10472
|
|
|
10398
10473
|
|
|
10399
10474
|
|
|
@@ -10581,7 +10656,7 @@ proto.sniipbillapi.BillCreateResponse.prototype.setBillid = function(value) {
|
|
|
10581
10656
|
* @private {!Array<number>}
|
|
10582
10657
|
* @const
|
|
10583
10658
|
*/
|
|
10584
|
-
proto.sniipbillapi.BillDetail.repeatedFields_ = [1,23,61,67];
|
|
10659
|
+
proto.sniipbillapi.BillDetail.repeatedFields_ = [1,23,61,67,95];
|
|
10585
10660
|
|
|
10586
10661
|
|
|
10587
10662
|
|
|
@@ -10694,7 +10769,9 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
|
|
|
10694
10769
|
billerstate: jspb.Message.getFieldWithDefault(msg, 91, ""),
|
|
10695
10770
|
billerpostcode: jspb.Message.getFieldWithDefault(msg, 92, ""),
|
|
10696
10771
|
billerphone: jspb.Message.getFieldWithDefault(msg, 93, ""),
|
|
10697
|
-
agentuserid: jspb.Message.getFieldWithDefault(msg, 94, 0)
|
|
10772
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 94, 0),
|
|
10773
|
+
virtualbillsList: jspb.Message.toObjectList(msg.getVirtualbillsList(),
|
|
10774
|
+
proto.sniipbillapi.VirtualBill.toObject, includeInstance)
|
|
10698
10775
|
};
|
|
10699
10776
|
|
|
10700
10777
|
if (includeInstance) {
|
|
@@ -11046,6 +11123,11 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
11046
11123
|
var value = /** @type {number} */ (reader.readInt64());
|
|
11047
11124
|
msg.setAgentuserid(value);
|
|
11048
11125
|
break;
|
|
11126
|
+
case 95:
|
|
11127
|
+
var value = new proto.sniipbillapi.VirtualBill;
|
|
11128
|
+
reader.readMessage(value,proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader);
|
|
11129
|
+
msg.addVirtualbills(value);
|
|
11130
|
+
break;
|
|
11049
11131
|
default:
|
|
11050
11132
|
reader.skipField();
|
|
11051
11133
|
break;
|
|
@@ -11624,6 +11706,14 @@ proto.sniipbillapi.BillDetail.serializeBinaryToWriter = function(message, writer
|
|
|
11624
11706
|
f
|
|
11625
11707
|
);
|
|
11626
11708
|
}
|
|
11709
|
+
f = message.getVirtualbillsList();
|
|
11710
|
+
if (f.length > 0) {
|
|
11711
|
+
writer.writeRepeatedMessage(
|
|
11712
|
+
95,
|
|
11713
|
+
f,
|
|
11714
|
+
proto.sniipbillapi.VirtualBill.serializeBinaryToWriter
|
|
11715
|
+
);
|
|
11716
|
+
}
|
|
11627
11717
|
};
|
|
11628
11718
|
|
|
11629
11719
|
|
|
@@ -13120,6 +13210,324 @@ proto.sniipbillapi.BillDetail.prototype.setAgentuserid = function(value) {
|
|
|
13120
13210
|
};
|
|
13121
13211
|
|
|
13122
13212
|
|
|
13213
|
+
/**
|
|
13214
|
+
* repeated VirtualBill virtualBills = 95;
|
|
13215
|
+
* @return {!Array<!proto.sniipbillapi.VirtualBill>}
|
|
13216
|
+
*/
|
|
13217
|
+
proto.sniipbillapi.BillDetail.prototype.getVirtualbillsList = function() {
|
|
13218
|
+
return /** @type{!Array<!proto.sniipbillapi.VirtualBill>} */ (
|
|
13219
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.VirtualBill, 95));
|
|
13220
|
+
};
|
|
13221
|
+
|
|
13222
|
+
|
|
13223
|
+
/**
|
|
13224
|
+
* @param {!Array<!proto.sniipbillapi.VirtualBill>} value
|
|
13225
|
+
* @return {!proto.sniipbillapi.BillDetail} returns this
|
|
13226
|
+
*/
|
|
13227
|
+
proto.sniipbillapi.BillDetail.prototype.setVirtualbillsList = function(value) {
|
|
13228
|
+
return jspb.Message.setRepeatedWrapperField(this, 95, value);
|
|
13229
|
+
};
|
|
13230
|
+
|
|
13231
|
+
|
|
13232
|
+
/**
|
|
13233
|
+
* @param {!proto.sniipbillapi.VirtualBill=} opt_value
|
|
13234
|
+
* @param {number=} opt_index
|
|
13235
|
+
* @return {!proto.sniipbillapi.VirtualBill}
|
|
13236
|
+
*/
|
|
13237
|
+
proto.sniipbillapi.BillDetail.prototype.addVirtualbills = function(opt_value, opt_index) {
|
|
13238
|
+
return jspb.Message.addToRepeatedWrapperField(this, 95, opt_value, proto.sniipbillapi.VirtualBill, opt_index);
|
|
13239
|
+
};
|
|
13240
|
+
|
|
13241
|
+
|
|
13242
|
+
/**
|
|
13243
|
+
* Clears the list making it empty but non-null.
|
|
13244
|
+
* @return {!proto.sniipbillapi.BillDetail} returns this
|
|
13245
|
+
*/
|
|
13246
|
+
proto.sniipbillapi.BillDetail.prototype.clearVirtualbillsList = function() {
|
|
13247
|
+
return this.setVirtualbillsList([]);
|
|
13248
|
+
};
|
|
13249
|
+
|
|
13250
|
+
|
|
13251
|
+
|
|
13252
|
+
|
|
13253
|
+
|
|
13254
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13255
|
+
/**
|
|
13256
|
+
* Creates an object representation of this proto.
|
|
13257
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13258
|
+
* Optional fields that are not set will be set to undefined.
|
|
13259
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13260
|
+
* For the list of reserved names please see:
|
|
13261
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13262
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13263
|
+
* JSPB instance for transitional soy proto support:
|
|
13264
|
+
* http://goto/soy-param-migration
|
|
13265
|
+
* @return {!Object}
|
|
13266
|
+
*/
|
|
13267
|
+
proto.sniipbillapi.VirtualBill.prototype.toObject = function(opt_includeInstance) {
|
|
13268
|
+
return proto.sniipbillapi.VirtualBill.toObject(opt_includeInstance, this);
|
|
13269
|
+
};
|
|
13270
|
+
|
|
13271
|
+
|
|
13272
|
+
/**
|
|
13273
|
+
* Static version of the {@see toObject} method.
|
|
13274
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13275
|
+
* the JSPB instance for transitional soy proto support:
|
|
13276
|
+
* http://goto/soy-param-migration
|
|
13277
|
+
* @param {!proto.sniipbillapi.VirtualBill} msg The msg instance to transform.
|
|
13278
|
+
* @return {!Object}
|
|
13279
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13280
|
+
*/
|
|
13281
|
+
proto.sniipbillapi.VirtualBill.toObject = function(includeInstance, msg) {
|
|
13282
|
+
var f, obj = {
|
|
13283
|
+
virtualbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
13284
|
+
billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
13285
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
13286
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13287
|
+
billerconfigid: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
13288
|
+
reference: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
13289
|
+
};
|
|
13290
|
+
|
|
13291
|
+
if (includeInstance) {
|
|
13292
|
+
obj.$jspbMessageInstance = msg;
|
|
13293
|
+
}
|
|
13294
|
+
return obj;
|
|
13295
|
+
};
|
|
13296
|
+
}
|
|
13297
|
+
|
|
13298
|
+
|
|
13299
|
+
/**
|
|
13300
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13301
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13302
|
+
* @return {!proto.sniipbillapi.VirtualBill}
|
|
13303
|
+
*/
|
|
13304
|
+
proto.sniipbillapi.VirtualBill.deserializeBinary = function(bytes) {
|
|
13305
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13306
|
+
var msg = new proto.sniipbillapi.VirtualBill;
|
|
13307
|
+
return proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader(msg, reader);
|
|
13308
|
+
};
|
|
13309
|
+
|
|
13310
|
+
|
|
13311
|
+
/**
|
|
13312
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13313
|
+
* given reader into the given message object.
|
|
13314
|
+
* @param {!proto.sniipbillapi.VirtualBill} msg The message object to deserialize into.
|
|
13315
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13316
|
+
* @return {!proto.sniipbillapi.VirtualBill}
|
|
13317
|
+
*/
|
|
13318
|
+
proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader = function(msg, reader) {
|
|
13319
|
+
while (reader.nextField()) {
|
|
13320
|
+
if (reader.isEndGroup()) {
|
|
13321
|
+
break;
|
|
13322
|
+
}
|
|
13323
|
+
var field = reader.getFieldNumber();
|
|
13324
|
+
switch (field) {
|
|
13325
|
+
case 1:
|
|
13326
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13327
|
+
msg.setVirtualbillid(value);
|
|
13328
|
+
break;
|
|
13329
|
+
case 2:
|
|
13330
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13331
|
+
msg.setBillid(value);
|
|
13332
|
+
break;
|
|
13333
|
+
case 3:
|
|
13334
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
13335
|
+
msg.setAmount(value);
|
|
13336
|
+
break;
|
|
13337
|
+
case 5:
|
|
13338
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13339
|
+
msg.setBillercode(value);
|
|
13340
|
+
break;
|
|
13341
|
+
case 6:
|
|
13342
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13343
|
+
msg.setBillerconfigid(value);
|
|
13344
|
+
break;
|
|
13345
|
+
case 7:
|
|
13346
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13347
|
+
msg.setReference(value);
|
|
13348
|
+
break;
|
|
13349
|
+
default:
|
|
13350
|
+
reader.skipField();
|
|
13351
|
+
break;
|
|
13352
|
+
}
|
|
13353
|
+
}
|
|
13354
|
+
return msg;
|
|
13355
|
+
};
|
|
13356
|
+
|
|
13357
|
+
|
|
13358
|
+
/**
|
|
13359
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13360
|
+
* @return {!Uint8Array}
|
|
13361
|
+
*/
|
|
13362
|
+
proto.sniipbillapi.VirtualBill.prototype.serializeBinary = function() {
|
|
13363
|
+
var writer = new jspb.BinaryWriter();
|
|
13364
|
+
proto.sniipbillapi.VirtualBill.serializeBinaryToWriter(this, writer);
|
|
13365
|
+
return writer.getResultBuffer();
|
|
13366
|
+
};
|
|
13367
|
+
|
|
13368
|
+
|
|
13369
|
+
/**
|
|
13370
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13371
|
+
* format), writing to the given BinaryWriter.
|
|
13372
|
+
* @param {!proto.sniipbillapi.VirtualBill} message
|
|
13373
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13374
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13375
|
+
*/
|
|
13376
|
+
proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, writer) {
|
|
13377
|
+
var f = undefined;
|
|
13378
|
+
f = message.getVirtualbillid();
|
|
13379
|
+
if (f !== 0) {
|
|
13380
|
+
writer.writeInt64(
|
|
13381
|
+
1,
|
|
13382
|
+
f
|
|
13383
|
+
);
|
|
13384
|
+
}
|
|
13385
|
+
f = message.getBillid();
|
|
13386
|
+
if (f !== 0) {
|
|
13387
|
+
writer.writeInt64(
|
|
13388
|
+
2,
|
|
13389
|
+
f
|
|
13390
|
+
);
|
|
13391
|
+
}
|
|
13392
|
+
f = message.getAmount();
|
|
13393
|
+
if (f !== 0.0) {
|
|
13394
|
+
writer.writeDouble(
|
|
13395
|
+
3,
|
|
13396
|
+
f
|
|
13397
|
+
);
|
|
13398
|
+
}
|
|
13399
|
+
f = message.getBillercode();
|
|
13400
|
+
if (f.length > 0) {
|
|
13401
|
+
writer.writeString(
|
|
13402
|
+
5,
|
|
13403
|
+
f
|
|
13404
|
+
);
|
|
13405
|
+
}
|
|
13406
|
+
f = message.getBillerconfigid();
|
|
13407
|
+
if (f !== 0) {
|
|
13408
|
+
writer.writeInt64(
|
|
13409
|
+
6,
|
|
13410
|
+
f
|
|
13411
|
+
);
|
|
13412
|
+
}
|
|
13413
|
+
f = message.getReference();
|
|
13414
|
+
if (f.length > 0) {
|
|
13415
|
+
writer.writeString(
|
|
13416
|
+
7,
|
|
13417
|
+
f
|
|
13418
|
+
);
|
|
13419
|
+
}
|
|
13420
|
+
};
|
|
13421
|
+
|
|
13422
|
+
|
|
13423
|
+
/**
|
|
13424
|
+
* optional int64 virtualBillId = 1;
|
|
13425
|
+
* @return {number}
|
|
13426
|
+
*/
|
|
13427
|
+
proto.sniipbillapi.VirtualBill.prototype.getVirtualbillid = function() {
|
|
13428
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
13429
|
+
};
|
|
13430
|
+
|
|
13431
|
+
|
|
13432
|
+
/**
|
|
13433
|
+
* @param {number} value
|
|
13434
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13435
|
+
*/
|
|
13436
|
+
proto.sniipbillapi.VirtualBill.prototype.setVirtualbillid = function(value) {
|
|
13437
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
13438
|
+
};
|
|
13439
|
+
|
|
13440
|
+
|
|
13441
|
+
/**
|
|
13442
|
+
* optional int64 billId = 2;
|
|
13443
|
+
* @return {number}
|
|
13444
|
+
*/
|
|
13445
|
+
proto.sniipbillapi.VirtualBill.prototype.getBillid = function() {
|
|
13446
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
13447
|
+
};
|
|
13448
|
+
|
|
13449
|
+
|
|
13450
|
+
/**
|
|
13451
|
+
* @param {number} value
|
|
13452
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13453
|
+
*/
|
|
13454
|
+
proto.sniipbillapi.VirtualBill.prototype.setBillid = function(value) {
|
|
13455
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
13456
|
+
};
|
|
13457
|
+
|
|
13458
|
+
|
|
13459
|
+
/**
|
|
13460
|
+
* optional double amount = 3;
|
|
13461
|
+
* @return {number}
|
|
13462
|
+
*/
|
|
13463
|
+
proto.sniipbillapi.VirtualBill.prototype.getAmount = function() {
|
|
13464
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
13465
|
+
};
|
|
13466
|
+
|
|
13467
|
+
|
|
13468
|
+
/**
|
|
13469
|
+
* @param {number} value
|
|
13470
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13471
|
+
*/
|
|
13472
|
+
proto.sniipbillapi.VirtualBill.prototype.setAmount = function(value) {
|
|
13473
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
13474
|
+
};
|
|
13475
|
+
|
|
13476
|
+
|
|
13477
|
+
/**
|
|
13478
|
+
* optional string billerCode = 5;
|
|
13479
|
+
* @return {string}
|
|
13480
|
+
*/
|
|
13481
|
+
proto.sniipbillapi.VirtualBill.prototype.getBillercode = function() {
|
|
13482
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
13483
|
+
};
|
|
13484
|
+
|
|
13485
|
+
|
|
13486
|
+
/**
|
|
13487
|
+
* @param {string} value
|
|
13488
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13489
|
+
*/
|
|
13490
|
+
proto.sniipbillapi.VirtualBill.prototype.setBillercode = function(value) {
|
|
13491
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
13492
|
+
};
|
|
13493
|
+
|
|
13494
|
+
|
|
13495
|
+
/**
|
|
13496
|
+
* optional int64 billerConfigId = 6;
|
|
13497
|
+
* @return {number}
|
|
13498
|
+
*/
|
|
13499
|
+
proto.sniipbillapi.VirtualBill.prototype.getBillerconfigid = function() {
|
|
13500
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
13501
|
+
};
|
|
13502
|
+
|
|
13503
|
+
|
|
13504
|
+
/**
|
|
13505
|
+
* @param {number} value
|
|
13506
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13507
|
+
*/
|
|
13508
|
+
proto.sniipbillapi.VirtualBill.prototype.setBillerconfigid = function(value) {
|
|
13509
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
13510
|
+
};
|
|
13511
|
+
|
|
13512
|
+
|
|
13513
|
+
/**
|
|
13514
|
+
* optional string reference = 7;
|
|
13515
|
+
* @return {string}
|
|
13516
|
+
*/
|
|
13517
|
+
proto.sniipbillapi.VirtualBill.prototype.getReference = function() {
|
|
13518
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
13519
|
+
};
|
|
13520
|
+
|
|
13521
|
+
|
|
13522
|
+
/**
|
|
13523
|
+
* @param {string} value
|
|
13524
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13525
|
+
*/
|
|
13526
|
+
proto.sniipbillapi.VirtualBill.prototype.setReference = function(value) {
|
|
13527
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
13528
|
+
};
|
|
13529
|
+
|
|
13530
|
+
|
|
13123
13531
|
|
|
13124
13532
|
/**
|
|
13125
13533
|
* List of repeated fields within this message type.
|