@sniipwebmaster/bill-service-client-grpcweb 25.11.14566 → 25.11.14592
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 +465 -13
- package/package.json +1 -1
|
@@ -192,6 +192,7 @@ goog.exportSymbol('proto.sniipbillapi.VerifyBankAccountDetailsResponse', null, g
|
|
|
192
192
|
goog.exportSymbol('proto.sniipbillapi.VerifySmeBillerConfigRequest', null, global);
|
|
193
193
|
goog.exportSymbol('proto.sniipbillapi.VerifySmeBillerConfigResponse', null, global);
|
|
194
194
|
goog.exportSymbol('proto.sniipbillapi.VirtualBill', null, global);
|
|
195
|
+
goog.exportSymbol('proto.sniipbillapi.VirtualBillRequest', null, global);
|
|
195
196
|
goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceRequest', null, global);
|
|
196
197
|
goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceResponse', null, global);
|
|
197
198
|
/**
|
|
@@ -698,6 +699,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
698
699
|
*/
|
|
699
700
|
proto.sniipbillapi.VirtualBill.displayName = 'proto.sniipbillapi.VirtualBill';
|
|
700
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* Generated by JsPbCodeGenerator.
|
|
704
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
705
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
706
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
707
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
708
|
+
* valid.
|
|
709
|
+
* @extends {jspb.Message}
|
|
710
|
+
* @constructor
|
|
711
|
+
*/
|
|
712
|
+
proto.sniipbillapi.VirtualBillRequest = function(opt_data) {
|
|
713
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
714
|
+
};
|
|
715
|
+
goog.inherits(proto.sniipbillapi.VirtualBillRequest, jspb.Message);
|
|
716
|
+
if (goog.DEBUG && !COMPILED) {
|
|
717
|
+
/**
|
|
718
|
+
* @public
|
|
719
|
+
* @override
|
|
720
|
+
*/
|
|
721
|
+
proto.sniipbillapi.VirtualBillRequest.displayName = 'proto.sniipbillapi.VirtualBillRequest';
|
|
722
|
+
}
|
|
701
723
|
/**
|
|
702
724
|
* Generated by JsPbCodeGenerator.
|
|
703
725
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9544,7 +9566,7 @@ proto.sniipbillapi.BillCreateRequestV2.toObject = function(includeInstance, msg)
|
|
|
9544
9566
|
affiliationconfirmationisgiven: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
9545
9567
|
externalid: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
9546
9568
|
virtualbillsList: jspb.Message.toObjectList(msg.getVirtualbillsList(),
|
|
9547
|
-
proto.sniipbillapi.
|
|
9569
|
+
proto.sniipbillapi.VirtualBillRequest.toObject, includeInstance)
|
|
9548
9570
|
};
|
|
9549
9571
|
|
|
9550
9572
|
if (includeInstance) {
|
|
@@ -9691,8 +9713,8 @@ proto.sniipbillapi.BillCreateRequestV2.deserializeBinaryFromReader = function(ms
|
|
|
9691
9713
|
msg.setExternalid(value);
|
|
9692
9714
|
break;
|
|
9693
9715
|
case 28:
|
|
9694
|
-
var value = new proto.sniipbillapi.
|
|
9695
|
-
reader.readMessage(value,proto.sniipbillapi.
|
|
9716
|
+
var value = new proto.sniipbillapi.VirtualBillRequest;
|
|
9717
|
+
reader.readMessage(value,proto.sniipbillapi.VirtualBillRequest.deserializeBinaryFromReader);
|
|
9696
9718
|
msg.addVirtualbills(value);
|
|
9697
9719
|
break;
|
|
9698
9720
|
default:
|
|
@@ -9919,7 +9941,7 @@ proto.sniipbillapi.BillCreateRequestV2.serializeBinaryToWriter = function(messag
|
|
|
9919
9941
|
writer.writeRepeatedMessage(
|
|
9920
9942
|
28,
|
|
9921
9943
|
f,
|
|
9922
|
-
proto.sniipbillapi.
|
|
9944
|
+
proto.sniipbillapi.VirtualBillRequest.serializeBinaryToWriter
|
|
9923
9945
|
);
|
|
9924
9946
|
}
|
|
9925
9947
|
};
|
|
@@ -10432,17 +10454,17 @@ proto.sniipbillapi.BillCreateRequestV2.prototype.setExternalid = function(value)
|
|
|
10432
10454
|
|
|
10433
10455
|
|
|
10434
10456
|
/**
|
|
10435
|
-
* repeated
|
|
10436
|
-
* @return {!Array<!proto.sniipbillapi.
|
|
10457
|
+
* repeated VirtualBillRequest virtualBills = 28;
|
|
10458
|
+
* @return {!Array<!proto.sniipbillapi.VirtualBillRequest>}
|
|
10437
10459
|
*/
|
|
10438
10460
|
proto.sniipbillapi.BillCreateRequestV2.prototype.getVirtualbillsList = function() {
|
|
10439
|
-
return /** @type{!Array<!proto.sniipbillapi.
|
|
10440
|
-
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.
|
|
10461
|
+
return /** @type{!Array<!proto.sniipbillapi.VirtualBillRequest>} */ (
|
|
10462
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.VirtualBillRequest, 28));
|
|
10441
10463
|
};
|
|
10442
10464
|
|
|
10443
10465
|
|
|
10444
10466
|
/**
|
|
10445
|
-
* @param {!Array<!proto.sniipbillapi.
|
|
10467
|
+
* @param {!Array<!proto.sniipbillapi.VirtualBillRequest>} value
|
|
10446
10468
|
* @return {!proto.sniipbillapi.BillCreateRequestV2} returns this
|
|
10447
10469
|
*/
|
|
10448
10470
|
proto.sniipbillapi.BillCreateRequestV2.prototype.setVirtualbillsList = function(value) {
|
|
@@ -10451,12 +10473,12 @@ proto.sniipbillapi.BillCreateRequestV2.prototype.setVirtualbillsList = function(
|
|
|
10451
10473
|
|
|
10452
10474
|
|
|
10453
10475
|
/**
|
|
10454
|
-
* @param {!proto.sniipbillapi.
|
|
10476
|
+
* @param {!proto.sniipbillapi.VirtualBillRequest=} opt_value
|
|
10455
10477
|
* @param {number=} opt_index
|
|
10456
|
-
* @return {!proto.sniipbillapi.
|
|
10478
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest}
|
|
10457
10479
|
*/
|
|
10458
10480
|
proto.sniipbillapi.BillCreateRequestV2.prototype.addVirtualbills = function(opt_value, opt_index) {
|
|
10459
|
-
return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.sniipbillapi.
|
|
10481
|
+
return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.sniipbillapi.VirtualBillRequest, opt_index);
|
|
10460
10482
|
};
|
|
10461
10483
|
|
|
10462
10484
|
|
|
@@ -13285,7 +13307,11 @@ proto.sniipbillapi.VirtualBill.toObject = function(includeInstance, msg) {
|
|
|
13285
13307
|
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
13286
13308
|
billercode: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13287
13309
|
billerconfigid: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
13288
|
-
reference: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
13310
|
+
reference: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13311
|
+
bankaccountname: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
13312
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
13313
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13314
|
+
description: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
13289
13315
|
};
|
|
13290
13316
|
|
|
13291
13317
|
if (includeInstance) {
|
|
@@ -13346,6 +13372,22 @@ proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader = function(msg, reade
|
|
|
13346
13372
|
var value = /** @type {string} */ (reader.readString());
|
|
13347
13373
|
msg.setReference(value);
|
|
13348
13374
|
break;
|
|
13375
|
+
case 8:
|
|
13376
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13377
|
+
msg.setBankaccountname(value);
|
|
13378
|
+
break;
|
|
13379
|
+
case 9:
|
|
13380
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13381
|
+
msg.setInvoicenumber(value);
|
|
13382
|
+
break;
|
|
13383
|
+
case 10:
|
|
13384
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13385
|
+
msg.setPaymentprocessor(value);
|
|
13386
|
+
break;
|
|
13387
|
+
case 11:
|
|
13388
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13389
|
+
msg.setDescription(value);
|
|
13390
|
+
break;
|
|
13349
13391
|
default:
|
|
13350
13392
|
reader.skipField();
|
|
13351
13393
|
break;
|
|
@@ -13417,6 +13459,34 @@ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, write
|
|
|
13417
13459
|
f
|
|
13418
13460
|
);
|
|
13419
13461
|
}
|
|
13462
|
+
f = message.getBankaccountname();
|
|
13463
|
+
if (f.length > 0) {
|
|
13464
|
+
writer.writeString(
|
|
13465
|
+
8,
|
|
13466
|
+
f
|
|
13467
|
+
);
|
|
13468
|
+
}
|
|
13469
|
+
f = message.getInvoicenumber();
|
|
13470
|
+
if (f.length > 0) {
|
|
13471
|
+
writer.writeString(
|
|
13472
|
+
9,
|
|
13473
|
+
f
|
|
13474
|
+
);
|
|
13475
|
+
}
|
|
13476
|
+
f = message.getPaymentprocessor();
|
|
13477
|
+
if (f.length > 0) {
|
|
13478
|
+
writer.writeString(
|
|
13479
|
+
10,
|
|
13480
|
+
f
|
|
13481
|
+
);
|
|
13482
|
+
}
|
|
13483
|
+
f = message.getDescription();
|
|
13484
|
+
if (f.length > 0) {
|
|
13485
|
+
writer.writeString(
|
|
13486
|
+
11,
|
|
13487
|
+
f
|
|
13488
|
+
);
|
|
13489
|
+
}
|
|
13420
13490
|
};
|
|
13421
13491
|
|
|
13422
13492
|
|
|
@@ -13528,6 +13598,388 @@ proto.sniipbillapi.VirtualBill.prototype.setReference = function(value) {
|
|
|
13528
13598
|
};
|
|
13529
13599
|
|
|
13530
13600
|
|
|
13601
|
+
/**
|
|
13602
|
+
* optional string bankAccountName = 8;
|
|
13603
|
+
* @return {string}
|
|
13604
|
+
*/
|
|
13605
|
+
proto.sniipbillapi.VirtualBill.prototype.getBankaccountname = function() {
|
|
13606
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
13607
|
+
};
|
|
13608
|
+
|
|
13609
|
+
|
|
13610
|
+
/**
|
|
13611
|
+
* @param {string} value
|
|
13612
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13613
|
+
*/
|
|
13614
|
+
proto.sniipbillapi.VirtualBill.prototype.setBankaccountname = function(value) {
|
|
13615
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
13616
|
+
};
|
|
13617
|
+
|
|
13618
|
+
|
|
13619
|
+
/**
|
|
13620
|
+
* optional string invoiceNumber = 9;
|
|
13621
|
+
* @return {string}
|
|
13622
|
+
*/
|
|
13623
|
+
proto.sniipbillapi.VirtualBill.prototype.getInvoicenumber = function() {
|
|
13624
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
13625
|
+
};
|
|
13626
|
+
|
|
13627
|
+
|
|
13628
|
+
/**
|
|
13629
|
+
* @param {string} value
|
|
13630
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13631
|
+
*/
|
|
13632
|
+
proto.sniipbillapi.VirtualBill.prototype.setInvoicenumber = function(value) {
|
|
13633
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
13634
|
+
};
|
|
13635
|
+
|
|
13636
|
+
|
|
13637
|
+
/**
|
|
13638
|
+
* optional string paymentProcessor = 10;
|
|
13639
|
+
* @return {string}
|
|
13640
|
+
*/
|
|
13641
|
+
proto.sniipbillapi.VirtualBill.prototype.getPaymentprocessor = function() {
|
|
13642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
13643
|
+
};
|
|
13644
|
+
|
|
13645
|
+
|
|
13646
|
+
/**
|
|
13647
|
+
* @param {string} value
|
|
13648
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13649
|
+
*/
|
|
13650
|
+
proto.sniipbillapi.VirtualBill.prototype.setPaymentprocessor = function(value) {
|
|
13651
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
13652
|
+
};
|
|
13653
|
+
|
|
13654
|
+
|
|
13655
|
+
/**
|
|
13656
|
+
* optional string description = 11;
|
|
13657
|
+
* @return {string}
|
|
13658
|
+
*/
|
|
13659
|
+
proto.sniipbillapi.VirtualBill.prototype.getDescription = function() {
|
|
13660
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
13661
|
+
};
|
|
13662
|
+
|
|
13663
|
+
|
|
13664
|
+
/**
|
|
13665
|
+
* @param {string} value
|
|
13666
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13667
|
+
*/
|
|
13668
|
+
proto.sniipbillapi.VirtualBill.prototype.setDescription = function(value) {
|
|
13669
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
13670
|
+
};
|
|
13671
|
+
|
|
13672
|
+
|
|
13673
|
+
|
|
13674
|
+
|
|
13675
|
+
|
|
13676
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13677
|
+
/**
|
|
13678
|
+
* Creates an object representation of this proto.
|
|
13679
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13680
|
+
* Optional fields that are not set will be set to undefined.
|
|
13681
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13682
|
+
* For the list of reserved names please see:
|
|
13683
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13684
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13685
|
+
* JSPB instance for transitional soy proto support:
|
|
13686
|
+
* http://goto/soy-param-migration
|
|
13687
|
+
* @return {!Object}
|
|
13688
|
+
*/
|
|
13689
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13690
|
+
return proto.sniipbillapi.VirtualBillRequest.toObject(opt_includeInstance, this);
|
|
13691
|
+
};
|
|
13692
|
+
|
|
13693
|
+
|
|
13694
|
+
/**
|
|
13695
|
+
* Static version of the {@see toObject} method.
|
|
13696
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13697
|
+
* the JSPB instance for transitional soy proto support:
|
|
13698
|
+
* http://goto/soy-param-migration
|
|
13699
|
+
* @param {!proto.sniipbillapi.VirtualBillRequest} msg The msg instance to transform.
|
|
13700
|
+
* @return {!Object}
|
|
13701
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13702
|
+
*/
|
|
13703
|
+
proto.sniipbillapi.VirtualBillRequest.toObject = function(includeInstance, msg) {
|
|
13704
|
+
var f, obj = {
|
|
13705
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
13706
|
+
billerconfigid: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
13707
|
+
reference: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13708
|
+
bankaccountname: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
13709
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
13710
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13711
|
+
description: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
13712
|
+
};
|
|
13713
|
+
|
|
13714
|
+
if (includeInstance) {
|
|
13715
|
+
obj.$jspbMessageInstance = msg;
|
|
13716
|
+
}
|
|
13717
|
+
return obj;
|
|
13718
|
+
};
|
|
13719
|
+
}
|
|
13720
|
+
|
|
13721
|
+
|
|
13722
|
+
/**
|
|
13723
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13724
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13725
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest}
|
|
13726
|
+
*/
|
|
13727
|
+
proto.sniipbillapi.VirtualBillRequest.deserializeBinary = function(bytes) {
|
|
13728
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13729
|
+
var msg = new proto.sniipbillapi.VirtualBillRequest;
|
|
13730
|
+
return proto.sniipbillapi.VirtualBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
13731
|
+
};
|
|
13732
|
+
|
|
13733
|
+
|
|
13734
|
+
/**
|
|
13735
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13736
|
+
* given reader into the given message object.
|
|
13737
|
+
* @param {!proto.sniipbillapi.VirtualBillRequest} msg The message object to deserialize into.
|
|
13738
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13739
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest}
|
|
13740
|
+
*/
|
|
13741
|
+
proto.sniipbillapi.VirtualBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13742
|
+
while (reader.nextField()) {
|
|
13743
|
+
if (reader.isEndGroup()) {
|
|
13744
|
+
break;
|
|
13745
|
+
}
|
|
13746
|
+
var field = reader.getFieldNumber();
|
|
13747
|
+
switch (field) {
|
|
13748
|
+
case 3:
|
|
13749
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
13750
|
+
msg.setAmount(value);
|
|
13751
|
+
break;
|
|
13752
|
+
case 6:
|
|
13753
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13754
|
+
msg.setBillerconfigid(value);
|
|
13755
|
+
break;
|
|
13756
|
+
case 7:
|
|
13757
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13758
|
+
msg.setReference(value);
|
|
13759
|
+
break;
|
|
13760
|
+
case 8:
|
|
13761
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13762
|
+
msg.setBankaccountname(value);
|
|
13763
|
+
break;
|
|
13764
|
+
case 9:
|
|
13765
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13766
|
+
msg.setInvoicenumber(value);
|
|
13767
|
+
break;
|
|
13768
|
+
case 10:
|
|
13769
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13770
|
+
msg.setPaymentprocessor(value);
|
|
13771
|
+
break;
|
|
13772
|
+
case 11:
|
|
13773
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13774
|
+
msg.setDescription(value);
|
|
13775
|
+
break;
|
|
13776
|
+
default:
|
|
13777
|
+
reader.skipField();
|
|
13778
|
+
break;
|
|
13779
|
+
}
|
|
13780
|
+
}
|
|
13781
|
+
return msg;
|
|
13782
|
+
};
|
|
13783
|
+
|
|
13784
|
+
|
|
13785
|
+
/**
|
|
13786
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13787
|
+
* @return {!Uint8Array}
|
|
13788
|
+
*/
|
|
13789
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.serializeBinary = function() {
|
|
13790
|
+
var writer = new jspb.BinaryWriter();
|
|
13791
|
+
proto.sniipbillapi.VirtualBillRequest.serializeBinaryToWriter(this, writer);
|
|
13792
|
+
return writer.getResultBuffer();
|
|
13793
|
+
};
|
|
13794
|
+
|
|
13795
|
+
|
|
13796
|
+
/**
|
|
13797
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13798
|
+
* format), writing to the given BinaryWriter.
|
|
13799
|
+
* @param {!proto.sniipbillapi.VirtualBillRequest} message
|
|
13800
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13801
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13802
|
+
*/
|
|
13803
|
+
proto.sniipbillapi.VirtualBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13804
|
+
var f = undefined;
|
|
13805
|
+
f = message.getAmount();
|
|
13806
|
+
if (f !== 0.0) {
|
|
13807
|
+
writer.writeDouble(
|
|
13808
|
+
3,
|
|
13809
|
+
f
|
|
13810
|
+
);
|
|
13811
|
+
}
|
|
13812
|
+
f = message.getBillerconfigid();
|
|
13813
|
+
if (f !== 0) {
|
|
13814
|
+
writer.writeInt64(
|
|
13815
|
+
6,
|
|
13816
|
+
f
|
|
13817
|
+
);
|
|
13818
|
+
}
|
|
13819
|
+
f = message.getReference();
|
|
13820
|
+
if (f.length > 0) {
|
|
13821
|
+
writer.writeString(
|
|
13822
|
+
7,
|
|
13823
|
+
f
|
|
13824
|
+
);
|
|
13825
|
+
}
|
|
13826
|
+
f = message.getBankaccountname();
|
|
13827
|
+
if (f.length > 0) {
|
|
13828
|
+
writer.writeString(
|
|
13829
|
+
8,
|
|
13830
|
+
f
|
|
13831
|
+
);
|
|
13832
|
+
}
|
|
13833
|
+
f = message.getInvoicenumber();
|
|
13834
|
+
if (f.length > 0) {
|
|
13835
|
+
writer.writeString(
|
|
13836
|
+
9,
|
|
13837
|
+
f
|
|
13838
|
+
);
|
|
13839
|
+
}
|
|
13840
|
+
f = message.getPaymentprocessor();
|
|
13841
|
+
if (f.length > 0) {
|
|
13842
|
+
writer.writeString(
|
|
13843
|
+
10,
|
|
13844
|
+
f
|
|
13845
|
+
);
|
|
13846
|
+
}
|
|
13847
|
+
f = message.getDescription();
|
|
13848
|
+
if (f.length > 0) {
|
|
13849
|
+
writer.writeString(
|
|
13850
|
+
11,
|
|
13851
|
+
f
|
|
13852
|
+
);
|
|
13853
|
+
}
|
|
13854
|
+
};
|
|
13855
|
+
|
|
13856
|
+
|
|
13857
|
+
/**
|
|
13858
|
+
* optional double amount = 3;
|
|
13859
|
+
* @return {number}
|
|
13860
|
+
*/
|
|
13861
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getAmount = function() {
|
|
13862
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
13863
|
+
};
|
|
13864
|
+
|
|
13865
|
+
|
|
13866
|
+
/**
|
|
13867
|
+
* @param {number} value
|
|
13868
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13869
|
+
*/
|
|
13870
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setAmount = function(value) {
|
|
13871
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
13872
|
+
};
|
|
13873
|
+
|
|
13874
|
+
|
|
13875
|
+
/**
|
|
13876
|
+
* optional int64 billerConfigId = 6;
|
|
13877
|
+
* @return {number}
|
|
13878
|
+
*/
|
|
13879
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getBillerconfigid = function() {
|
|
13880
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
13881
|
+
};
|
|
13882
|
+
|
|
13883
|
+
|
|
13884
|
+
/**
|
|
13885
|
+
* @param {number} value
|
|
13886
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13887
|
+
*/
|
|
13888
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setBillerconfigid = function(value) {
|
|
13889
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
13890
|
+
};
|
|
13891
|
+
|
|
13892
|
+
|
|
13893
|
+
/**
|
|
13894
|
+
* optional string reference = 7;
|
|
13895
|
+
* @return {string}
|
|
13896
|
+
*/
|
|
13897
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getReference = function() {
|
|
13898
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
13899
|
+
};
|
|
13900
|
+
|
|
13901
|
+
|
|
13902
|
+
/**
|
|
13903
|
+
* @param {string} value
|
|
13904
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13905
|
+
*/
|
|
13906
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setReference = function(value) {
|
|
13907
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
13908
|
+
};
|
|
13909
|
+
|
|
13910
|
+
|
|
13911
|
+
/**
|
|
13912
|
+
* optional string bankAccountName = 8;
|
|
13913
|
+
* @return {string}
|
|
13914
|
+
*/
|
|
13915
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getBankaccountname = function() {
|
|
13916
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
13917
|
+
};
|
|
13918
|
+
|
|
13919
|
+
|
|
13920
|
+
/**
|
|
13921
|
+
* @param {string} value
|
|
13922
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13923
|
+
*/
|
|
13924
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setBankaccountname = function(value) {
|
|
13925
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
13926
|
+
};
|
|
13927
|
+
|
|
13928
|
+
|
|
13929
|
+
/**
|
|
13930
|
+
* optional string invoiceNumber = 9;
|
|
13931
|
+
* @return {string}
|
|
13932
|
+
*/
|
|
13933
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getInvoicenumber = function() {
|
|
13934
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
13935
|
+
};
|
|
13936
|
+
|
|
13937
|
+
|
|
13938
|
+
/**
|
|
13939
|
+
* @param {string} value
|
|
13940
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13941
|
+
*/
|
|
13942
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setInvoicenumber = function(value) {
|
|
13943
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
13944
|
+
};
|
|
13945
|
+
|
|
13946
|
+
|
|
13947
|
+
/**
|
|
13948
|
+
* optional string paymentProcessor = 10;
|
|
13949
|
+
* @return {string}
|
|
13950
|
+
*/
|
|
13951
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getPaymentprocessor = function() {
|
|
13952
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
13953
|
+
};
|
|
13954
|
+
|
|
13955
|
+
|
|
13956
|
+
/**
|
|
13957
|
+
* @param {string} value
|
|
13958
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13959
|
+
*/
|
|
13960
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setPaymentprocessor = function(value) {
|
|
13961
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
13962
|
+
};
|
|
13963
|
+
|
|
13964
|
+
|
|
13965
|
+
/**
|
|
13966
|
+
* optional string description = 11;
|
|
13967
|
+
* @return {string}
|
|
13968
|
+
*/
|
|
13969
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getDescription = function() {
|
|
13970
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
13971
|
+
};
|
|
13972
|
+
|
|
13973
|
+
|
|
13974
|
+
/**
|
|
13975
|
+
* @param {string} value
|
|
13976
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13977
|
+
*/
|
|
13978
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setDescription = function(value) {
|
|
13979
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
13980
|
+
};
|
|
13981
|
+
|
|
13982
|
+
|
|
13531
13983
|
|
|
13532
13984
|
/**
|
|
13533
13985
|
* List of repeated fields within this message type.
|