@sniipwebmaster/bill-service-client-grpcweb 25.11.14583 → 25.11.14601
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 +406 -14
- 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
|
|
@@ -3676,7 +3698,8 @@ proto.sniipbillapi.AcceptedPaymentMethod.toObject = function(includeInstance, ms
|
|
|
3676
3698
|
eftposonly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
3677
3699
|
allowinternational: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
3678
3700
|
allowprepaid: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
3679
|
-
allowcryptocom: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
3701
|
+
allowcryptocom: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
3702
|
+
allowedcardsubtypecode: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
3680
3703
|
};
|
|
3681
3704
|
|
|
3682
3705
|
if (includeInstance) {
|
|
@@ -3741,6 +3764,10 @@ proto.sniipbillapi.AcceptedPaymentMethod.deserializeBinaryFromReader = function(
|
|
|
3741
3764
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3742
3765
|
msg.setAllowcryptocom(value);
|
|
3743
3766
|
break;
|
|
3767
|
+
case 8:
|
|
3768
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3769
|
+
msg.setAllowedcardsubtypecode(value);
|
|
3770
|
+
break;
|
|
3744
3771
|
default:
|
|
3745
3772
|
reader.skipField();
|
|
3746
3773
|
break;
|
|
@@ -3819,6 +3846,13 @@ proto.sniipbillapi.AcceptedPaymentMethod.serializeBinaryToWriter = function(mess
|
|
|
3819
3846
|
f
|
|
3820
3847
|
);
|
|
3821
3848
|
}
|
|
3849
|
+
f = message.getAllowedcardsubtypecode();
|
|
3850
|
+
if (f.length > 0) {
|
|
3851
|
+
writer.writeString(
|
|
3852
|
+
8,
|
|
3853
|
+
f
|
|
3854
|
+
);
|
|
3855
|
+
}
|
|
3822
3856
|
};
|
|
3823
3857
|
|
|
3824
3858
|
|
|
@@ -3948,6 +3982,24 @@ proto.sniipbillapi.AcceptedPaymentMethod.prototype.setAllowcryptocom = function(
|
|
|
3948
3982
|
};
|
|
3949
3983
|
|
|
3950
3984
|
|
|
3985
|
+
/**
|
|
3986
|
+
* optional string allowedCardSubtypeCode = 8;
|
|
3987
|
+
* @return {string}
|
|
3988
|
+
*/
|
|
3989
|
+
proto.sniipbillapi.AcceptedPaymentMethod.prototype.getAllowedcardsubtypecode = function() {
|
|
3990
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3991
|
+
};
|
|
3992
|
+
|
|
3993
|
+
|
|
3994
|
+
/**
|
|
3995
|
+
* @param {string} value
|
|
3996
|
+
* @return {!proto.sniipbillapi.AcceptedPaymentMethod} returns this
|
|
3997
|
+
*/
|
|
3998
|
+
proto.sniipbillapi.AcceptedPaymentMethod.prototype.setAllowedcardsubtypecode = function(value) {
|
|
3999
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4000
|
+
};
|
|
4001
|
+
|
|
4002
|
+
|
|
3951
4003
|
|
|
3952
4004
|
|
|
3953
4005
|
|
|
@@ -9544,7 +9596,7 @@ proto.sniipbillapi.BillCreateRequestV2.toObject = function(includeInstance, msg)
|
|
|
9544
9596
|
affiliationconfirmationisgiven: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
9545
9597
|
externalid: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
9546
9598
|
virtualbillsList: jspb.Message.toObjectList(msg.getVirtualbillsList(),
|
|
9547
|
-
proto.sniipbillapi.
|
|
9599
|
+
proto.sniipbillapi.VirtualBillRequest.toObject, includeInstance)
|
|
9548
9600
|
};
|
|
9549
9601
|
|
|
9550
9602
|
if (includeInstance) {
|
|
@@ -9691,8 +9743,8 @@ proto.sniipbillapi.BillCreateRequestV2.deserializeBinaryFromReader = function(ms
|
|
|
9691
9743
|
msg.setExternalid(value);
|
|
9692
9744
|
break;
|
|
9693
9745
|
case 28:
|
|
9694
|
-
var value = new proto.sniipbillapi.
|
|
9695
|
-
reader.readMessage(value,proto.sniipbillapi.
|
|
9746
|
+
var value = new proto.sniipbillapi.VirtualBillRequest;
|
|
9747
|
+
reader.readMessage(value,proto.sniipbillapi.VirtualBillRequest.deserializeBinaryFromReader);
|
|
9696
9748
|
msg.addVirtualbills(value);
|
|
9697
9749
|
break;
|
|
9698
9750
|
default:
|
|
@@ -9919,7 +9971,7 @@ proto.sniipbillapi.BillCreateRequestV2.serializeBinaryToWriter = function(messag
|
|
|
9919
9971
|
writer.writeRepeatedMessage(
|
|
9920
9972
|
28,
|
|
9921
9973
|
f,
|
|
9922
|
-
proto.sniipbillapi.
|
|
9974
|
+
proto.sniipbillapi.VirtualBillRequest.serializeBinaryToWriter
|
|
9923
9975
|
);
|
|
9924
9976
|
}
|
|
9925
9977
|
};
|
|
@@ -10432,17 +10484,17 @@ proto.sniipbillapi.BillCreateRequestV2.prototype.setExternalid = function(value)
|
|
|
10432
10484
|
|
|
10433
10485
|
|
|
10434
10486
|
/**
|
|
10435
|
-
* repeated
|
|
10436
|
-
* @return {!Array<!proto.sniipbillapi.
|
|
10487
|
+
* repeated VirtualBillRequest virtualBills = 28;
|
|
10488
|
+
* @return {!Array<!proto.sniipbillapi.VirtualBillRequest>}
|
|
10437
10489
|
*/
|
|
10438
10490
|
proto.sniipbillapi.BillCreateRequestV2.prototype.getVirtualbillsList = function() {
|
|
10439
|
-
return /** @type{!Array<!proto.sniipbillapi.
|
|
10440
|
-
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.
|
|
10491
|
+
return /** @type{!Array<!proto.sniipbillapi.VirtualBillRequest>} */ (
|
|
10492
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.VirtualBillRequest, 28));
|
|
10441
10493
|
};
|
|
10442
10494
|
|
|
10443
10495
|
|
|
10444
10496
|
/**
|
|
10445
|
-
* @param {!Array<!proto.sniipbillapi.
|
|
10497
|
+
* @param {!Array<!proto.sniipbillapi.VirtualBillRequest>} value
|
|
10446
10498
|
* @return {!proto.sniipbillapi.BillCreateRequestV2} returns this
|
|
10447
10499
|
*/
|
|
10448
10500
|
proto.sniipbillapi.BillCreateRequestV2.prototype.setVirtualbillsList = function(value) {
|
|
@@ -10451,12 +10503,12 @@ proto.sniipbillapi.BillCreateRequestV2.prototype.setVirtualbillsList = function(
|
|
|
10451
10503
|
|
|
10452
10504
|
|
|
10453
10505
|
/**
|
|
10454
|
-
* @param {!proto.sniipbillapi.
|
|
10506
|
+
* @param {!proto.sniipbillapi.VirtualBillRequest=} opt_value
|
|
10455
10507
|
* @param {number=} opt_index
|
|
10456
|
-
* @return {!proto.sniipbillapi.
|
|
10508
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest}
|
|
10457
10509
|
*/
|
|
10458
10510
|
proto.sniipbillapi.BillCreateRequestV2.prototype.addVirtualbills = function(opt_value, opt_index) {
|
|
10459
|
-
return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.sniipbillapi.
|
|
10511
|
+
return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.sniipbillapi.VirtualBillRequest, opt_index);
|
|
10460
10512
|
};
|
|
10461
10513
|
|
|
10462
10514
|
|
|
@@ -13288,7 +13340,8 @@ proto.sniipbillapi.VirtualBill.toObject = function(includeInstance, msg) {
|
|
|
13288
13340
|
reference: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13289
13341
|
bankaccountname: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
13290
13342
|
invoicenumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
13291
|
-
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
13343
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13344
|
+
description: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
13292
13345
|
};
|
|
13293
13346
|
|
|
13294
13347
|
if (includeInstance) {
|
|
@@ -13361,6 +13414,10 @@ proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader = function(msg, reade
|
|
|
13361
13414
|
var value = /** @type {string} */ (reader.readString());
|
|
13362
13415
|
msg.setPaymentprocessor(value);
|
|
13363
13416
|
break;
|
|
13417
|
+
case 11:
|
|
13418
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13419
|
+
msg.setDescription(value);
|
|
13420
|
+
break;
|
|
13364
13421
|
default:
|
|
13365
13422
|
reader.skipField();
|
|
13366
13423
|
break;
|
|
@@ -13453,6 +13510,13 @@ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, write
|
|
|
13453
13510
|
f
|
|
13454
13511
|
);
|
|
13455
13512
|
}
|
|
13513
|
+
f = message.getDescription();
|
|
13514
|
+
if (f.length > 0) {
|
|
13515
|
+
writer.writeString(
|
|
13516
|
+
11,
|
|
13517
|
+
f
|
|
13518
|
+
);
|
|
13519
|
+
}
|
|
13456
13520
|
};
|
|
13457
13521
|
|
|
13458
13522
|
|
|
@@ -13618,6 +13682,334 @@ proto.sniipbillapi.VirtualBill.prototype.setPaymentprocessor = function(value) {
|
|
|
13618
13682
|
};
|
|
13619
13683
|
|
|
13620
13684
|
|
|
13685
|
+
/**
|
|
13686
|
+
* optional string description = 11;
|
|
13687
|
+
* @return {string}
|
|
13688
|
+
*/
|
|
13689
|
+
proto.sniipbillapi.VirtualBill.prototype.getDescription = function() {
|
|
13690
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
13691
|
+
};
|
|
13692
|
+
|
|
13693
|
+
|
|
13694
|
+
/**
|
|
13695
|
+
* @param {string} value
|
|
13696
|
+
* @return {!proto.sniipbillapi.VirtualBill} returns this
|
|
13697
|
+
*/
|
|
13698
|
+
proto.sniipbillapi.VirtualBill.prototype.setDescription = function(value) {
|
|
13699
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
13700
|
+
};
|
|
13701
|
+
|
|
13702
|
+
|
|
13703
|
+
|
|
13704
|
+
|
|
13705
|
+
|
|
13706
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13707
|
+
/**
|
|
13708
|
+
* Creates an object representation of this proto.
|
|
13709
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13710
|
+
* Optional fields that are not set will be set to undefined.
|
|
13711
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13712
|
+
* For the list of reserved names please see:
|
|
13713
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13714
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13715
|
+
* JSPB instance for transitional soy proto support:
|
|
13716
|
+
* http://goto/soy-param-migration
|
|
13717
|
+
* @return {!Object}
|
|
13718
|
+
*/
|
|
13719
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13720
|
+
return proto.sniipbillapi.VirtualBillRequest.toObject(opt_includeInstance, this);
|
|
13721
|
+
};
|
|
13722
|
+
|
|
13723
|
+
|
|
13724
|
+
/**
|
|
13725
|
+
* Static version of the {@see toObject} method.
|
|
13726
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13727
|
+
* the JSPB instance for transitional soy proto support:
|
|
13728
|
+
* http://goto/soy-param-migration
|
|
13729
|
+
* @param {!proto.sniipbillapi.VirtualBillRequest} msg The msg instance to transform.
|
|
13730
|
+
* @return {!Object}
|
|
13731
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13732
|
+
*/
|
|
13733
|
+
proto.sniipbillapi.VirtualBillRequest.toObject = function(includeInstance, msg) {
|
|
13734
|
+
var f, obj = {
|
|
13735
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
13736
|
+
billerconfigid: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
13737
|
+
reference: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13738
|
+
bankaccountname: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
13739
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
13740
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13741
|
+
description: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
13742
|
+
};
|
|
13743
|
+
|
|
13744
|
+
if (includeInstance) {
|
|
13745
|
+
obj.$jspbMessageInstance = msg;
|
|
13746
|
+
}
|
|
13747
|
+
return obj;
|
|
13748
|
+
};
|
|
13749
|
+
}
|
|
13750
|
+
|
|
13751
|
+
|
|
13752
|
+
/**
|
|
13753
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13754
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13755
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest}
|
|
13756
|
+
*/
|
|
13757
|
+
proto.sniipbillapi.VirtualBillRequest.deserializeBinary = function(bytes) {
|
|
13758
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13759
|
+
var msg = new proto.sniipbillapi.VirtualBillRequest;
|
|
13760
|
+
return proto.sniipbillapi.VirtualBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
13761
|
+
};
|
|
13762
|
+
|
|
13763
|
+
|
|
13764
|
+
/**
|
|
13765
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13766
|
+
* given reader into the given message object.
|
|
13767
|
+
* @param {!proto.sniipbillapi.VirtualBillRequest} msg The message object to deserialize into.
|
|
13768
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13769
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest}
|
|
13770
|
+
*/
|
|
13771
|
+
proto.sniipbillapi.VirtualBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13772
|
+
while (reader.nextField()) {
|
|
13773
|
+
if (reader.isEndGroup()) {
|
|
13774
|
+
break;
|
|
13775
|
+
}
|
|
13776
|
+
var field = reader.getFieldNumber();
|
|
13777
|
+
switch (field) {
|
|
13778
|
+
case 3:
|
|
13779
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
13780
|
+
msg.setAmount(value);
|
|
13781
|
+
break;
|
|
13782
|
+
case 6:
|
|
13783
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13784
|
+
msg.setBillerconfigid(value);
|
|
13785
|
+
break;
|
|
13786
|
+
case 7:
|
|
13787
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13788
|
+
msg.setReference(value);
|
|
13789
|
+
break;
|
|
13790
|
+
case 8:
|
|
13791
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13792
|
+
msg.setBankaccountname(value);
|
|
13793
|
+
break;
|
|
13794
|
+
case 9:
|
|
13795
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13796
|
+
msg.setInvoicenumber(value);
|
|
13797
|
+
break;
|
|
13798
|
+
case 10:
|
|
13799
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13800
|
+
msg.setPaymentprocessor(value);
|
|
13801
|
+
break;
|
|
13802
|
+
case 11:
|
|
13803
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13804
|
+
msg.setDescription(value);
|
|
13805
|
+
break;
|
|
13806
|
+
default:
|
|
13807
|
+
reader.skipField();
|
|
13808
|
+
break;
|
|
13809
|
+
}
|
|
13810
|
+
}
|
|
13811
|
+
return msg;
|
|
13812
|
+
};
|
|
13813
|
+
|
|
13814
|
+
|
|
13815
|
+
/**
|
|
13816
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13817
|
+
* @return {!Uint8Array}
|
|
13818
|
+
*/
|
|
13819
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.serializeBinary = function() {
|
|
13820
|
+
var writer = new jspb.BinaryWriter();
|
|
13821
|
+
proto.sniipbillapi.VirtualBillRequest.serializeBinaryToWriter(this, writer);
|
|
13822
|
+
return writer.getResultBuffer();
|
|
13823
|
+
};
|
|
13824
|
+
|
|
13825
|
+
|
|
13826
|
+
/**
|
|
13827
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13828
|
+
* format), writing to the given BinaryWriter.
|
|
13829
|
+
* @param {!proto.sniipbillapi.VirtualBillRequest} message
|
|
13830
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13831
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13832
|
+
*/
|
|
13833
|
+
proto.sniipbillapi.VirtualBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13834
|
+
var f = undefined;
|
|
13835
|
+
f = message.getAmount();
|
|
13836
|
+
if (f !== 0.0) {
|
|
13837
|
+
writer.writeDouble(
|
|
13838
|
+
3,
|
|
13839
|
+
f
|
|
13840
|
+
);
|
|
13841
|
+
}
|
|
13842
|
+
f = message.getBillerconfigid();
|
|
13843
|
+
if (f !== 0) {
|
|
13844
|
+
writer.writeInt64(
|
|
13845
|
+
6,
|
|
13846
|
+
f
|
|
13847
|
+
);
|
|
13848
|
+
}
|
|
13849
|
+
f = message.getReference();
|
|
13850
|
+
if (f.length > 0) {
|
|
13851
|
+
writer.writeString(
|
|
13852
|
+
7,
|
|
13853
|
+
f
|
|
13854
|
+
);
|
|
13855
|
+
}
|
|
13856
|
+
f = message.getBankaccountname();
|
|
13857
|
+
if (f.length > 0) {
|
|
13858
|
+
writer.writeString(
|
|
13859
|
+
8,
|
|
13860
|
+
f
|
|
13861
|
+
);
|
|
13862
|
+
}
|
|
13863
|
+
f = message.getInvoicenumber();
|
|
13864
|
+
if (f.length > 0) {
|
|
13865
|
+
writer.writeString(
|
|
13866
|
+
9,
|
|
13867
|
+
f
|
|
13868
|
+
);
|
|
13869
|
+
}
|
|
13870
|
+
f = message.getPaymentprocessor();
|
|
13871
|
+
if (f.length > 0) {
|
|
13872
|
+
writer.writeString(
|
|
13873
|
+
10,
|
|
13874
|
+
f
|
|
13875
|
+
);
|
|
13876
|
+
}
|
|
13877
|
+
f = message.getDescription();
|
|
13878
|
+
if (f.length > 0) {
|
|
13879
|
+
writer.writeString(
|
|
13880
|
+
11,
|
|
13881
|
+
f
|
|
13882
|
+
);
|
|
13883
|
+
}
|
|
13884
|
+
};
|
|
13885
|
+
|
|
13886
|
+
|
|
13887
|
+
/**
|
|
13888
|
+
* optional double amount = 3;
|
|
13889
|
+
* @return {number}
|
|
13890
|
+
*/
|
|
13891
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getAmount = function() {
|
|
13892
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
13893
|
+
};
|
|
13894
|
+
|
|
13895
|
+
|
|
13896
|
+
/**
|
|
13897
|
+
* @param {number} value
|
|
13898
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13899
|
+
*/
|
|
13900
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setAmount = function(value) {
|
|
13901
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
13902
|
+
};
|
|
13903
|
+
|
|
13904
|
+
|
|
13905
|
+
/**
|
|
13906
|
+
* optional int64 billerConfigId = 6;
|
|
13907
|
+
* @return {number}
|
|
13908
|
+
*/
|
|
13909
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getBillerconfigid = function() {
|
|
13910
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
13911
|
+
};
|
|
13912
|
+
|
|
13913
|
+
|
|
13914
|
+
/**
|
|
13915
|
+
* @param {number} value
|
|
13916
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13917
|
+
*/
|
|
13918
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setBillerconfigid = function(value) {
|
|
13919
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
13920
|
+
};
|
|
13921
|
+
|
|
13922
|
+
|
|
13923
|
+
/**
|
|
13924
|
+
* optional string reference = 7;
|
|
13925
|
+
* @return {string}
|
|
13926
|
+
*/
|
|
13927
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getReference = function() {
|
|
13928
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
13929
|
+
};
|
|
13930
|
+
|
|
13931
|
+
|
|
13932
|
+
/**
|
|
13933
|
+
* @param {string} value
|
|
13934
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13935
|
+
*/
|
|
13936
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setReference = function(value) {
|
|
13937
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
13938
|
+
};
|
|
13939
|
+
|
|
13940
|
+
|
|
13941
|
+
/**
|
|
13942
|
+
* optional string bankAccountName = 8;
|
|
13943
|
+
* @return {string}
|
|
13944
|
+
*/
|
|
13945
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getBankaccountname = function() {
|
|
13946
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
13947
|
+
};
|
|
13948
|
+
|
|
13949
|
+
|
|
13950
|
+
/**
|
|
13951
|
+
* @param {string} value
|
|
13952
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13953
|
+
*/
|
|
13954
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setBankaccountname = function(value) {
|
|
13955
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
13956
|
+
};
|
|
13957
|
+
|
|
13958
|
+
|
|
13959
|
+
/**
|
|
13960
|
+
* optional string invoiceNumber = 9;
|
|
13961
|
+
* @return {string}
|
|
13962
|
+
*/
|
|
13963
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getInvoicenumber = function() {
|
|
13964
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
13965
|
+
};
|
|
13966
|
+
|
|
13967
|
+
|
|
13968
|
+
/**
|
|
13969
|
+
* @param {string} value
|
|
13970
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13971
|
+
*/
|
|
13972
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setInvoicenumber = function(value) {
|
|
13973
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
13974
|
+
};
|
|
13975
|
+
|
|
13976
|
+
|
|
13977
|
+
/**
|
|
13978
|
+
* optional string paymentProcessor = 10;
|
|
13979
|
+
* @return {string}
|
|
13980
|
+
*/
|
|
13981
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getPaymentprocessor = function() {
|
|
13982
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
13983
|
+
};
|
|
13984
|
+
|
|
13985
|
+
|
|
13986
|
+
/**
|
|
13987
|
+
* @param {string} value
|
|
13988
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
13989
|
+
*/
|
|
13990
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setPaymentprocessor = function(value) {
|
|
13991
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
13992
|
+
};
|
|
13993
|
+
|
|
13994
|
+
|
|
13995
|
+
/**
|
|
13996
|
+
* optional string description = 11;
|
|
13997
|
+
* @return {string}
|
|
13998
|
+
*/
|
|
13999
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.getDescription = function() {
|
|
14000
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
14001
|
+
};
|
|
14002
|
+
|
|
14003
|
+
|
|
14004
|
+
/**
|
|
14005
|
+
* @param {string} value
|
|
14006
|
+
* @return {!proto.sniipbillapi.VirtualBillRequest} returns this
|
|
14007
|
+
*/
|
|
14008
|
+
proto.sniipbillapi.VirtualBillRequest.prototype.setDescription = function(value) {
|
|
14009
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
14010
|
+
};
|
|
14011
|
+
|
|
14012
|
+
|
|
13621
14013
|
|
|
13622
14014
|
/**
|
|
13623
14015
|
* List of repeated fields within this message type.
|