@sniipwebmaster/bill-service-client-grpcweb 0.2.4544 → 0.2.4570
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_grpc_web_pb.js +110 -0
- package/dependancies/service_pb.js +1257 -109
- package/package.json +1 -1
|
@@ -50,6 +50,8 @@ goog.exportSymbol('proto.sniipbillapi.CopyExistingBillRequest', null, global);
|
|
|
50
50
|
goog.exportSymbol('proto.sniipbillapi.CreateBillRequest', null, global);
|
|
51
51
|
goog.exportSymbol('proto.sniipbillapi.CreateBillsRequest', null, global);
|
|
52
52
|
goog.exportSymbol('proto.sniipbillapi.CreateDraftBillRequest', null, global);
|
|
53
|
+
goog.exportSymbol('proto.sniipbillapi.CreateItemPaymentRequest', null, global);
|
|
54
|
+
goog.exportSymbol('proto.sniipbillapi.CreateItemPaymentResponse', null, global);
|
|
53
55
|
goog.exportSymbol('proto.sniipbillapi.CreateOrUpdateBillFromXeroInvoiceRequest', null, global);
|
|
54
56
|
goog.exportSymbol('proto.sniipbillapi.DeleteBillRequest', null, global);
|
|
55
57
|
goog.exportSymbol('proto.sniipbillapi.DeleteBillsRequest', null, global);
|
|
@@ -66,6 +68,7 @@ goog.exportSymbol('proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest', null,
|
|
|
66
68
|
goog.exportSymbol('proto.sniipbillapi.GetBillsRequest', null, global);
|
|
67
69
|
goog.exportSymbol('proto.sniipbillapi.GetBlockedOrganisationsForUserRequest', null, global);
|
|
68
70
|
goog.exportSymbol('proto.sniipbillapi.GetExistingBillRequest', null, global);
|
|
71
|
+
goog.exportSymbol('proto.sniipbillapi.GetItemPaymentDetailsRequest', null, global);
|
|
69
72
|
goog.exportSymbol('proto.sniipbillapi.GetPaidBillCountRequest', null, global);
|
|
70
73
|
goog.exportSymbol('proto.sniipbillapi.GetSimpleBillRequest', null, global);
|
|
71
74
|
goog.exportSymbol('proto.sniipbillapi.GetToDoListRequest', null, global);
|
|
@@ -74,6 +77,7 @@ goog.exportSymbol('proto.sniipbillapi.GetUnpaidMbillsRequest', null, global);
|
|
|
74
77
|
goog.exportSymbol('proto.sniipbillapi.GetUnpaidMbillsResponse', null, global);
|
|
75
78
|
goog.exportSymbol('proto.sniipbillapi.Invoice', null, global);
|
|
76
79
|
goog.exportSymbol('proto.sniipbillapi.InvoiceBillPair', null, global);
|
|
80
|
+
goog.exportSymbol('proto.sniipbillapi.ItemPaymentDetailsResponse', null, global);
|
|
77
81
|
goog.exportSymbol('proto.sniipbillapi.LinkAnonymousBillRequest', null, global);
|
|
78
82
|
goog.exportSymbol('proto.sniipbillapi.LinkedAnomymousBillResponse', null, global);
|
|
79
83
|
goog.exportSymbol('proto.sniipbillapi.MarkBillAsPaidRequest', null, global);
|
|
@@ -85,6 +89,7 @@ goog.exportSymbol('proto.sniipbillapi.PaidBillCount', null, global);
|
|
|
85
89
|
goog.exportSymbol('proto.sniipbillapi.PaymentMethodDetails', null, global);
|
|
86
90
|
goog.exportSymbol('proto.sniipbillapi.ResponseCode', null, global);
|
|
87
91
|
goog.exportSymbol('proto.sniipbillapi.RetrieveBillDetailsRequest', null, global);
|
|
92
|
+
goog.exportSymbol('proto.sniipbillapi.SaveItemPaymentDetailsRequest', null, global);
|
|
88
93
|
goog.exportSymbol('proto.sniipbillapi.ScanInfoBillRequest', null, global);
|
|
89
94
|
goog.exportSymbol('proto.sniipbillapi.ScanInfoBillResponse', null, global);
|
|
90
95
|
goog.exportSymbol('proto.sniipbillapi.ScheduleItem', null, global);
|
|
@@ -10381,6 +10386,638 @@ proto.sniipbillapi.CreateDraftBillRequest.prototype.hasData = function() {
|
|
|
10381
10386
|
|
|
10382
10387
|
|
|
10383
10388
|
|
|
10389
|
+
/**
|
|
10390
|
+
* Generated by JsPbCodeGenerator.
|
|
10391
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
10392
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
10393
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
10394
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
10395
|
+
* valid.
|
|
10396
|
+
* @extends {jspb.Message}
|
|
10397
|
+
* @constructor
|
|
10398
|
+
*/
|
|
10399
|
+
proto.sniipbillapi.CreateItemPaymentRequest = function(opt_data) {
|
|
10400
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
10401
|
+
};
|
|
10402
|
+
goog.inherits(proto.sniipbillapi.CreateItemPaymentRequest, jspb.Message);
|
|
10403
|
+
if (goog.DEBUG && !COMPILED) {
|
|
10404
|
+
proto.sniipbillapi.CreateItemPaymentRequest.displayName = 'proto.sniipbillapi.CreateItemPaymentRequest';
|
|
10405
|
+
}
|
|
10406
|
+
|
|
10407
|
+
|
|
10408
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10409
|
+
/**
|
|
10410
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
10411
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10412
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10413
|
+
* For the list of reserved names please see:
|
|
10414
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
10415
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
10416
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
10417
|
+
* @return {!Object}
|
|
10418
|
+
*/
|
|
10419
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10420
|
+
return proto.sniipbillapi.CreateItemPaymentRequest.toObject(opt_includeInstance, this);
|
|
10421
|
+
};
|
|
10422
|
+
|
|
10423
|
+
|
|
10424
|
+
/**
|
|
10425
|
+
* Static version of the {@see toObject} method.
|
|
10426
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
10427
|
+
* instance for transitional soy proto support:
|
|
10428
|
+
* http://goto/soy-param-migration
|
|
10429
|
+
* @param {!proto.sniipbillapi.CreateItemPaymentRequest} msg The msg instance to transform.
|
|
10430
|
+
* @return {!Object}
|
|
10431
|
+
*/
|
|
10432
|
+
proto.sniipbillapi.CreateItemPaymentRequest.toObject = function(includeInstance, msg) {
|
|
10433
|
+
var f, obj = {
|
|
10434
|
+
itemid: msg.getItemid(),
|
|
10435
|
+
amount: msg.getAmount(),
|
|
10436
|
+
userid: msg.getUserid(),
|
|
10437
|
+
platform: msg.getPlatform(),
|
|
10438
|
+
version: msg.getVersion(),
|
|
10439
|
+
latitude: msg.getLatitude(),
|
|
10440
|
+
longitude: msg.getLongitude(),
|
|
10441
|
+
manufacturer: msg.getManufacturer(),
|
|
10442
|
+
model: msg.getModel(),
|
|
10443
|
+
osversion: msg.getOsversion(),
|
|
10444
|
+
deviceid: msg.getDeviceid()
|
|
10445
|
+
};
|
|
10446
|
+
|
|
10447
|
+
if (includeInstance) {
|
|
10448
|
+
obj.$jspbMessageInstance = msg;
|
|
10449
|
+
}
|
|
10450
|
+
return obj;
|
|
10451
|
+
};
|
|
10452
|
+
}
|
|
10453
|
+
|
|
10454
|
+
|
|
10455
|
+
/**
|
|
10456
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10457
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10458
|
+
* @return {!proto.sniipbillapi.CreateItemPaymentRequest}
|
|
10459
|
+
*/
|
|
10460
|
+
proto.sniipbillapi.CreateItemPaymentRequest.deserializeBinary = function(bytes) {
|
|
10461
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10462
|
+
var msg = new proto.sniipbillapi.CreateItemPaymentRequest;
|
|
10463
|
+
return proto.sniipbillapi.CreateItemPaymentRequest.deserializeBinaryFromReader(msg, reader);
|
|
10464
|
+
};
|
|
10465
|
+
|
|
10466
|
+
|
|
10467
|
+
/**
|
|
10468
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10469
|
+
* given reader into the given message object.
|
|
10470
|
+
* @param {!proto.sniipbillapi.CreateItemPaymentRequest} msg The message object to deserialize into.
|
|
10471
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10472
|
+
* @return {!proto.sniipbillapi.CreateItemPaymentRequest}
|
|
10473
|
+
*/
|
|
10474
|
+
proto.sniipbillapi.CreateItemPaymentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10475
|
+
while (reader.nextField()) {
|
|
10476
|
+
if (reader.isEndGroup()) {
|
|
10477
|
+
break;
|
|
10478
|
+
}
|
|
10479
|
+
var field = reader.getFieldNumber();
|
|
10480
|
+
switch (field) {
|
|
10481
|
+
case 1:
|
|
10482
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10483
|
+
msg.setItemid(value);
|
|
10484
|
+
break;
|
|
10485
|
+
case 2:
|
|
10486
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
10487
|
+
msg.setAmount(value);
|
|
10488
|
+
break;
|
|
10489
|
+
case 3:
|
|
10490
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10491
|
+
msg.setUserid(value);
|
|
10492
|
+
break;
|
|
10493
|
+
case 4:
|
|
10494
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10495
|
+
msg.setPlatform(value);
|
|
10496
|
+
break;
|
|
10497
|
+
case 5:
|
|
10498
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10499
|
+
msg.setVersion(value);
|
|
10500
|
+
break;
|
|
10501
|
+
case 6:
|
|
10502
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10503
|
+
msg.setLatitude(value);
|
|
10504
|
+
break;
|
|
10505
|
+
case 7:
|
|
10506
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10507
|
+
msg.setLongitude(value);
|
|
10508
|
+
break;
|
|
10509
|
+
case 8:
|
|
10510
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10511
|
+
msg.setManufacturer(value);
|
|
10512
|
+
break;
|
|
10513
|
+
case 9:
|
|
10514
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10515
|
+
msg.setModel(value);
|
|
10516
|
+
break;
|
|
10517
|
+
case 10:
|
|
10518
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10519
|
+
msg.setOsversion(value);
|
|
10520
|
+
break;
|
|
10521
|
+
case 11:
|
|
10522
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10523
|
+
msg.setDeviceid(value);
|
|
10524
|
+
break;
|
|
10525
|
+
default:
|
|
10526
|
+
reader.skipField();
|
|
10527
|
+
break;
|
|
10528
|
+
}
|
|
10529
|
+
}
|
|
10530
|
+
return msg;
|
|
10531
|
+
};
|
|
10532
|
+
|
|
10533
|
+
|
|
10534
|
+
/**
|
|
10535
|
+
* Class method variant: serializes the given message to binary data
|
|
10536
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
10537
|
+
* @param {!proto.sniipbillapi.CreateItemPaymentRequest} message
|
|
10538
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10539
|
+
*/
|
|
10540
|
+
proto.sniipbillapi.CreateItemPaymentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10541
|
+
message.serializeBinaryToWriter(writer);
|
|
10542
|
+
};
|
|
10543
|
+
|
|
10544
|
+
|
|
10545
|
+
/**
|
|
10546
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10547
|
+
* @return {!Uint8Array}
|
|
10548
|
+
*/
|
|
10549
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.serializeBinary = function() {
|
|
10550
|
+
var writer = new jspb.BinaryWriter();
|
|
10551
|
+
this.serializeBinaryToWriter(writer);
|
|
10552
|
+
return writer.getResultBuffer();
|
|
10553
|
+
};
|
|
10554
|
+
|
|
10555
|
+
|
|
10556
|
+
/**
|
|
10557
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
10558
|
+
* writing to the given BinaryWriter.
|
|
10559
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10560
|
+
*/
|
|
10561
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
10562
|
+
var f = undefined;
|
|
10563
|
+
f = this.getItemid();
|
|
10564
|
+
if (f !== 0) {
|
|
10565
|
+
writer.writeInt64(
|
|
10566
|
+
1,
|
|
10567
|
+
f
|
|
10568
|
+
);
|
|
10569
|
+
}
|
|
10570
|
+
f = this.getAmount();
|
|
10571
|
+
if (f !== 0.0) {
|
|
10572
|
+
writer.writeDouble(
|
|
10573
|
+
2,
|
|
10574
|
+
f
|
|
10575
|
+
);
|
|
10576
|
+
}
|
|
10577
|
+
f = this.getUserid();
|
|
10578
|
+
if (f !== 0) {
|
|
10579
|
+
writer.writeInt64(
|
|
10580
|
+
3,
|
|
10581
|
+
f
|
|
10582
|
+
);
|
|
10583
|
+
}
|
|
10584
|
+
f = this.getPlatform();
|
|
10585
|
+
if (f.length > 0) {
|
|
10586
|
+
writer.writeString(
|
|
10587
|
+
4,
|
|
10588
|
+
f
|
|
10589
|
+
);
|
|
10590
|
+
}
|
|
10591
|
+
f = this.getVersion();
|
|
10592
|
+
if (f.length > 0) {
|
|
10593
|
+
writer.writeString(
|
|
10594
|
+
5,
|
|
10595
|
+
f
|
|
10596
|
+
);
|
|
10597
|
+
}
|
|
10598
|
+
f = this.getLatitude();
|
|
10599
|
+
if (f.length > 0) {
|
|
10600
|
+
writer.writeString(
|
|
10601
|
+
6,
|
|
10602
|
+
f
|
|
10603
|
+
);
|
|
10604
|
+
}
|
|
10605
|
+
f = this.getLongitude();
|
|
10606
|
+
if (f.length > 0) {
|
|
10607
|
+
writer.writeString(
|
|
10608
|
+
7,
|
|
10609
|
+
f
|
|
10610
|
+
);
|
|
10611
|
+
}
|
|
10612
|
+
f = this.getManufacturer();
|
|
10613
|
+
if (f.length > 0) {
|
|
10614
|
+
writer.writeString(
|
|
10615
|
+
8,
|
|
10616
|
+
f
|
|
10617
|
+
);
|
|
10618
|
+
}
|
|
10619
|
+
f = this.getModel();
|
|
10620
|
+
if (f.length > 0) {
|
|
10621
|
+
writer.writeString(
|
|
10622
|
+
9,
|
|
10623
|
+
f
|
|
10624
|
+
);
|
|
10625
|
+
}
|
|
10626
|
+
f = this.getOsversion();
|
|
10627
|
+
if (f.length > 0) {
|
|
10628
|
+
writer.writeString(
|
|
10629
|
+
10,
|
|
10630
|
+
f
|
|
10631
|
+
);
|
|
10632
|
+
}
|
|
10633
|
+
f = this.getDeviceid();
|
|
10634
|
+
if (f.length > 0) {
|
|
10635
|
+
writer.writeString(
|
|
10636
|
+
11,
|
|
10637
|
+
f
|
|
10638
|
+
);
|
|
10639
|
+
}
|
|
10640
|
+
};
|
|
10641
|
+
|
|
10642
|
+
|
|
10643
|
+
/**
|
|
10644
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
10645
|
+
* @return {!proto.sniipbillapi.CreateItemPaymentRequest} The clone.
|
|
10646
|
+
*/
|
|
10647
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.cloneMessage = function() {
|
|
10648
|
+
return /** @type {!proto.sniipbillapi.CreateItemPaymentRequest} */ (jspb.Message.cloneMessage(this));
|
|
10649
|
+
};
|
|
10650
|
+
|
|
10651
|
+
|
|
10652
|
+
/**
|
|
10653
|
+
* optional int64 itemId = 1;
|
|
10654
|
+
* @return {number}
|
|
10655
|
+
*/
|
|
10656
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getItemid = function() {
|
|
10657
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
10658
|
+
};
|
|
10659
|
+
|
|
10660
|
+
|
|
10661
|
+
/** @param {number} value */
|
|
10662
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setItemid = function(value) {
|
|
10663
|
+
jspb.Message.setField(this, 1, value);
|
|
10664
|
+
};
|
|
10665
|
+
|
|
10666
|
+
|
|
10667
|
+
/**
|
|
10668
|
+
* optional double amount = 2;
|
|
10669
|
+
* @return {number}
|
|
10670
|
+
*/
|
|
10671
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getAmount = function() {
|
|
10672
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
10673
|
+
};
|
|
10674
|
+
|
|
10675
|
+
|
|
10676
|
+
/** @param {number} value */
|
|
10677
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setAmount = function(value) {
|
|
10678
|
+
jspb.Message.setField(this, 2, value);
|
|
10679
|
+
};
|
|
10680
|
+
|
|
10681
|
+
|
|
10682
|
+
/**
|
|
10683
|
+
* optional int64 userId = 3;
|
|
10684
|
+
* @return {number}
|
|
10685
|
+
*/
|
|
10686
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getUserid = function() {
|
|
10687
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
10688
|
+
};
|
|
10689
|
+
|
|
10690
|
+
|
|
10691
|
+
/** @param {number} value */
|
|
10692
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setUserid = function(value) {
|
|
10693
|
+
jspb.Message.setField(this, 3, value);
|
|
10694
|
+
};
|
|
10695
|
+
|
|
10696
|
+
|
|
10697
|
+
/**
|
|
10698
|
+
* optional string platform = 4;
|
|
10699
|
+
* @return {string}
|
|
10700
|
+
*/
|
|
10701
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getPlatform = function() {
|
|
10702
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
10703
|
+
};
|
|
10704
|
+
|
|
10705
|
+
|
|
10706
|
+
/** @param {string} value */
|
|
10707
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setPlatform = function(value) {
|
|
10708
|
+
jspb.Message.setField(this, 4, value);
|
|
10709
|
+
};
|
|
10710
|
+
|
|
10711
|
+
|
|
10712
|
+
/**
|
|
10713
|
+
* optional string version = 5;
|
|
10714
|
+
* @return {string}
|
|
10715
|
+
*/
|
|
10716
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getVersion = function() {
|
|
10717
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
10718
|
+
};
|
|
10719
|
+
|
|
10720
|
+
|
|
10721
|
+
/** @param {string} value */
|
|
10722
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setVersion = function(value) {
|
|
10723
|
+
jspb.Message.setField(this, 5, value);
|
|
10724
|
+
};
|
|
10725
|
+
|
|
10726
|
+
|
|
10727
|
+
/**
|
|
10728
|
+
* optional string latitude = 6;
|
|
10729
|
+
* @return {string}
|
|
10730
|
+
*/
|
|
10731
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getLatitude = function() {
|
|
10732
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
|
|
10733
|
+
};
|
|
10734
|
+
|
|
10735
|
+
|
|
10736
|
+
/** @param {string} value */
|
|
10737
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setLatitude = function(value) {
|
|
10738
|
+
jspb.Message.setField(this, 6, value);
|
|
10739
|
+
};
|
|
10740
|
+
|
|
10741
|
+
|
|
10742
|
+
/**
|
|
10743
|
+
* optional string longitude = 7;
|
|
10744
|
+
* @return {string}
|
|
10745
|
+
*/
|
|
10746
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getLongitude = function() {
|
|
10747
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
|
|
10748
|
+
};
|
|
10749
|
+
|
|
10750
|
+
|
|
10751
|
+
/** @param {string} value */
|
|
10752
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setLongitude = function(value) {
|
|
10753
|
+
jspb.Message.setField(this, 7, value);
|
|
10754
|
+
};
|
|
10755
|
+
|
|
10756
|
+
|
|
10757
|
+
/**
|
|
10758
|
+
* optional string manufacturer = 8;
|
|
10759
|
+
* @return {string}
|
|
10760
|
+
*/
|
|
10761
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getManufacturer = function() {
|
|
10762
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
|
|
10763
|
+
};
|
|
10764
|
+
|
|
10765
|
+
|
|
10766
|
+
/** @param {string} value */
|
|
10767
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setManufacturer = function(value) {
|
|
10768
|
+
jspb.Message.setField(this, 8, value);
|
|
10769
|
+
};
|
|
10770
|
+
|
|
10771
|
+
|
|
10772
|
+
/**
|
|
10773
|
+
* optional string model = 9;
|
|
10774
|
+
* @return {string}
|
|
10775
|
+
*/
|
|
10776
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getModel = function() {
|
|
10777
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
|
|
10778
|
+
};
|
|
10779
|
+
|
|
10780
|
+
|
|
10781
|
+
/** @param {string} value */
|
|
10782
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setModel = function(value) {
|
|
10783
|
+
jspb.Message.setField(this, 9, value);
|
|
10784
|
+
};
|
|
10785
|
+
|
|
10786
|
+
|
|
10787
|
+
/**
|
|
10788
|
+
* optional string osVersion = 10;
|
|
10789
|
+
* @return {string}
|
|
10790
|
+
*/
|
|
10791
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getOsversion = function() {
|
|
10792
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
|
|
10793
|
+
};
|
|
10794
|
+
|
|
10795
|
+
|
|
10796
|
+
/** @param {string} value */
|
|
10797
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setOsversion = function(value) {
|
|
10798
|
+
jspb.Message.setField(this, 10, value);
|
|
10799
|
+
};
|
|
10800
|
+
|
|
10801
|
+
|
|
10802
|
+
/**
|
|
10803
|
+
* optional string deviceId = 11;
|
|
10804
|
+
* @return {string}
|
|
10805
|
+
*/
|
|
10806
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.getDeviceid = function() {
|
|
10807
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
|
|
10808
|
+
};
|
|
10809
|
+
|
|
10810
|
+
|
|
10811
|
+
/** @param {string} value */
|
|
10812
|
+
proto.sniipbillapi.CreateItemPaymentRequest.prototype.setDeviceid = function(value) {
|
|
10813
|
+
jspb.Message.setField(this, 11, value);
|
|
10814
|
+
};
|
|
10815
|
+
|
|
10816
|
+
|
|
10817
|
+
|
|
10818
|
+
/**
|
|
10819
|
+
* Generated by JsPbCodeGenerator.
|
|
10820
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
10821
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
10822
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
10823
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
10824
|
+
* valid.
|
|
10825
|
+
* @extends {jspb.Message}
|
|
10826
|
+
* @constructor
|
|
10827
|
+
*/
|
|
10828
|
+
proto.sniipbillapi.CreateItemPaymentResponse = function(opt_data) {
|
|
10829
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
10830
|
+
};
|
|
10831
|
+
goog.inherits(proto.sniipbillapi.CreateItemPaymentResponse, jspb.Message);
|
|
10832
|
+
if (goog.DEBUG && !COMPILED) {
|
|
10833
|
+
proto.sniipbillapi.CreateItemPaymentResponse.displayName = 'proto.sniipbillapi.CreateItemPaymentResponse';
|
|
10834
|
+
}
|
|
10835
|
+
|
|
10836
|
+
|
|
10837
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10838
|
+
/**
|
|
10839
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
10840
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10841
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10842
|
+
* For the list of reserved names please see:
|
|
10843
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
10844
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
10845
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
10846
|
+
* @return {!Object}
|
|
10847
|
+
*/
|
|
10848
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10849
|
+
return proto.sniipbillapi.CreateItemPaymentResponse.toObject(opt_includeInstance, this);
|
|
10850
|
+
};
|
|
10851
|
+
|
|
10852
|
+
|
|
10853
|
+
/**
|
|
10854
|
+
* Static version of the {@see toObject} method.
|
|
10855
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
10856
|
+
* instance for transitional soy proto support:
|
|
10857
|
+
* http://goto/soy-param-migration
|
|
10858
|
+
* @param {!proto.sniipbillapi.CreateItemPaymentResponse} msg The msg instance to transform.
|
|
10859
|
+
* @return {!Object}
|
|
10860
|
+
*/
|
|
10861
|
+
proto.sniipbillapi.CreateItemPaymentResponse.toObject = function(includeInstance, msg) {
|
|
10862
|
+
var f, obj = {
|
|
10863
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
|
|
10864
|
+
uuid: msg.getUuid()
|
|
10865
|
+
};
|
|
10866
|
+
|
|
10867
|
+
if (includeInstance) {
|
|
10868
|
+
obj.$jspbMessageInstance = msg;
|
|
10869
|
+
}
|
|
10870
|
+
return obj;
|
|
10871
|
+
};
|
|
10872
|
+
}
|
|
10873
|
+
|
|
10874
|
+
|
|
10875
|
+
/**
|
|
10876
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10877
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10878
|
+
* @return {!proto.sniipbillapi.CreateItemPaymentResponse}
|
|
10879
|
+
*/
|
|
10880
|
+
proto.sniipbillapi.CreateItemPaymentResponse.deserializeBinary = function(bytes) {
|
|
10881
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10882
|
+
var msg = new proto.sniipbillapi.CreateItemPaymentResponse;
|
|
10883
|
+
return proto.sniipbillapi.CreateItemPaymentResponse.deserializeBinaryFromReader(msg, reader);
|
|
10884
|
+
};
|
|
10885
|
+
|
|
10886
|
+
|
|
10887
|
+
/**
|
|
10888
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10889
|
+
* given reader into the given message object.
|
|
10890
|
+
* @param {!proto.sniipbillapi.CreateItemPaymentResponse} msg The message object to deserialize into.
|
|
10891
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10892
|
+
* @return {!proto.sniipbillapi.CreateItemPaymentResponse}
|
|
10893
|
+
*/
|
|
10894
|
+
proto.sniipbillapi.CreateItemPaymentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10895
|
+
while (reader.nextField()) {
|
|
10896
|
+
if (reader.isEndGroup()) {
|
|
10897
|
+
break;
|
|
10898
|
+
}
|
|
10899
|
+
var field = reader.getFieldNumber();
|
|
10900
|
+
switch (field) {
|
|
10901
|
+
case 1:
|
|
10902
|
+
var value = new proto.sniipbillapi.ResponseCode;
|
|
10903
|
+
reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
|
|
10904
|
+
msg.setResponsecode(value);
|
|
10905
|
+
break;
|
|
10906
|
+
case 2:
|
|
10907
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10908
|
+
msg.setUuid(value);
|
|
10909
|
+
break;
|
|
10910
|
+
default:
|
|
10911
|
+
reader.skipField();
|
|
10912
|
+
break;
|
|
10913
|
+
}
|
|
10914
|
+
}
|
|
10915
|
+
return msg;
|
|
10916
|
+
};
|
|
10917
|
+
|
|
10918
|
+
|
|
10919
|
+
/**
|
|
10920
|
+
* Class method variant: serializes the given message to binary data
|
|
10921
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
10922
|
+
* @param {!proto.sniipbillapi.CreateItemPaymentResponse} message
|
|
10923
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10924
|
+
*/
|
|
10925
|
+
proto.sniipbillapi.CreateItemPaymentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10926
|
+
message.serializeBinaryToWriter(writer);
|
|
10927
|
+
};
|
|
10928
|
+
|
|
10929
|
+
|
|
10930
|
+
/**
|
|
10931
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10932
|
+
* @return {!Uint8Array}
|
|
10933
|
+
*/
|
|
10934
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.serializeBinary = function() {
|
|
10935
|
+
var writer = new jspb.BinaryWriter();
|
|
10936
|
+
this.serializeBinaryToWriter(writer);
|
|
10937
|
+
return writer.getResultBuffer();
|
|
10938
|
+
};
|
|
10939
|
+
|
|
10940
|
+
|
|
10941
|
+
/**
|
|
10942
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
10943
|
+
* writing to the given BinaryWriter.
|
|
10944
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10945
|
+
*/
|
|
10946
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
10947
|
+
var f = undefined;
|
|
10948
|
+
f = this.getResponsecode();
|
|
10949
|
+
if (f != null) {
|
|
10950
|
+
writer.writeMessage(
|
|
10951
|
+
1,
|
|
10952
|
+
f,
|
|
10953
|
+
proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
|
|
10954
|
+
);
|
|
10955
|
+
}
|
|
10956
|
+
f = this.getUuid();
|
|
10957
|
+
if (f.length > 0) {
|
|
10958
|
+
writer.writeString(
|
|
10959
|
+
2,
|
|
10960
|
+
f
|
|
10961
|
+
);
|
|
10962
|
+
}
|
|
10963
|
+
};
|
|
10964
|
+
|
|
10965
|
+
|
|
10966
|
+
/**
|
|
10967
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
10968
|
+
* @return {!proto.sniipbillapi.CreateItemPaymentResponse} The clone.
|
|
10969
|
+
*/
|
|
10970
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.cloneMessage = function() {
|
|
10971
|
+
return /** @type {!proto.sniipbillapi.CreateItemPaymentResponse} */ (jspb.Message.cloneMessage(this));
|
|
10972
|
+
};
|
|
10973
|
+
|
|
10974
|
+
|
|
10975
|
+
/**
|
|
10976
|
+
* optional ResponseCode responseCode = 1;
|
|
10977
|
+
* @return {proto.sniipbillapi.ResponseCode}
|
|
10978
|
+
*/
|
|
10979
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.getResponsecode = function() {
|
|
10980
|
+
return /** @type{proto.sniipbillapi.ResponseCode} */ (
|
|
10981
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
|
|
10982
|
+
};
|
|
10983
|
+
|
|
10984
|
+
|
|
10985
|
+
/** @param {proto.sniipbillapi.ResponseCode|undefined} value */
|
|
10986
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.setResponsecode = function(value) {
|
|
10987
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
10988
|
+
};
|
|
10989
|
+
|
|
10990
|
+
|
|
10991
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.clearResponsecode = function() {
|
|
10992
|
+
this.setResponsecode(undefined);
|
|
10993
|
+
};
|
|
10994
|
+
|
|
10995
|
+
|
|
10996
|
+
/**
|
|
10997
|
+
* Returns whether this field is set.
|
|
10998
|
+
* @return{!boolean}
|
|
10999
|
+
*/
|
|
11000
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.hasResponsecode = function() {
|
|
11001
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11002
|
+
};
|
|
11003
|
+
|
|
11004
|
+
|
|
11005
|
+
/**
|
|
11006
|
+
* optional string uuid = 2;
|
|
11007
|
+
* @return {string}
|
|
11008
|
+
*/
|
|
11009
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.getUuid = function() {
|
|
11010
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
11011
|
+
};
|
|
11012
|
+
|
|
11013
|
+
|
|
11014
|
+
/** @param {string} value */
|
|
11015
|
+
proto.sniipbillapi.CreateItemPaymentResponse.prototype.setUuid = function(value) {
|
|
11016
|
+
jspb.Message.setField(this, 2, value);
|
|
11017
|
+
};
|
|
11018
|
+
|
|
11019
|
+
|
|
11020
|
+
|
|
10384
11021
|
/**
|
|
10385
11022
|
* Generated by JsPbCodeGenerator.
|
|
10386
11023
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -13875,23 +14512,182 @@ proto.sniipbillapi.GetExistingBillRequest.prototype.getData = function() {
|
|
|
13875
14512
|
};
|
|
13876
14513
|
|
|
13877
14514
|
|
|
13878
|
-
/** @param {proto.sniipbillapi.ExistingBillGetRequest|undefined} value */
|
|
13879
|
-
proto.sniipbillapi.GetExistingBillRequest.prototype.setData = function(value) {
|
|
13880
|
-
jspb.Message.setWrapperField(this, 1, value);
|
|
14515
|
+
/** @param {proto.sniipbillapi.ExistingBillGetRequest|undefined} value */
|
|
14516
|
+
proto.sniipbillapi.GetExistingBillRequest.prototype.setData = function(value) {
|
|
14517
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
14518
|
+
};
|
|
14519
|
+
|
|
14520
|
+
|
|
14521
|
+
proto.sniipbillapi.GetExistingBillRequest.prototype.clearData = function() {
|
|
14522
|
+
this.setData(undefined);
|
|
14523
|
+
};
|
|
14524
|
+
|
|
14525
|
+
|
|
14526
|
+
/**
|
|
14527
|
+
* Returns whether this field is set.
|
|
14528
|
+
* @return{!boolean}
|
|
14529
|
+
*/
|
|
14530
|
+
proto.sniipbillapi.GetExistingBillRequest.prototype.hasData = function() {
|
|
14531
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14532
|
+
};
|
|
14533
|
+
|
|
14534
|
+
|
|
14535
|
+
|
|
14536
|
+
/**
|
|
14537
|
+
* Generated by JsPbCodeGenerator.
|
|
14538
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
14539
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
14540
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
14541
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
14542
|
+
* valid.
|
|
14543
|
+
* @extends {jspb.Message}
|
|
14544
|
+
* @constructor
|
|
14545
|
+
*/
|
|
14546
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest = function(opt_data) {
|
|
14547
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
14548
|
+
};
|
|
14549
|
+
goog.inherits(proto.sniipbillapi.GetItemPaymentDetailsRequest, jspb.Message);
|
|
14550
|
+
if (goog.DEBUG && !COMPILED) {
|
|
14551
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.displayName = 'proto.sniipbillapi.GetItemPaymentDetailsRequest';
|
|
14552
|
+
}
|
|
14553
|
+
|
|
14554
|
+
|
|
14555
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14556
|
+
/**
|
|
14557
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
14558
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14559
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14560
|
+
* For the list of reserved names please see:
|
|
14561
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
14562
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
14563
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
14564
|
+
* @return {!Object}
|
|
14565
|
+
*/
|
|
14566
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14567
|
+
return proto.sniipbillapi.GetItemPaymentDetailsRequest.toObject(opt_includeInstance, this);
|
|
14568
|
+
};
|
|
14569
|
+
|
|
14570
|
+
|
|
14571
|
+
/**
|
|
14572
|
+
* Static version of the {@see toObject} method.
|
|
14573
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
14574
|
+
* instance for transitional soy proto support:
|
|
14575
|
+
* http://goto/soy-param-migration
|
|
14576
|
+
* @param {!proto.sniipbillapi.GetItemPaymentDetailsRequest} msg The msg instance to transform.
|
|
14577
|
+
* @return {!Object}
|
|
14578
|
+
*/
|
|
14579
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.toObject = function(includeInstance, msg) {
|
|
14580
|
+
var f, obj = {
|
|
14581
|
+
uuid: msg.getUuid()
|
|
14582
|
+
};
|
|
14583
|
+
|
|
14584
|
+
if (includeInstance) {
|
|
14585
|
+
obj.$jspbMessageInstance = msg;
|
|
14586
|
+
}
|
|
14587
|
+
return obj;
|
|
14588
|
+
};
|
|
14589
|
+
}
|
|
14590
|
+
|
|
14591
|
+
|
|
14592
|
+
/**
|
|
14593
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14594
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14595
|
+
* @return {!proto.sniipbillapi.GetItemPaymentDetailsRequest}
|
|
14596
|
+
*/
|
|
14597
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.deserializeBinary = function(bytes) {
|
|
14598
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14599
|
+
var msg = new proto.sniipbillapi.GetItemPaymentDetailsRequest;
|
|
14600
|
+
return proto.sniipbillapi.GetItemPaymentDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
14601
|
+
};
|
|
14602
|
+
|
|
14603
|
+
|
|
14604
|
+
/**
|
|
14605
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14606
|
+
* given reader into the given message object.
|
|
14607
|
+
* @param {!proto.sniipbillapi.GetItemPaymentDetailsRequest} msg The message object to deserialize into.
|
|
14608
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14609
|
+
* @return {!proto.sniipbillapi.GetItemPaymentDetailsRequest}
|
|
14610
|
+
*/
|
|
14611
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14612
|
+
while (reader.nextField()) {
|
|
14613
|
+
if (reader.isEndGroup()) {
|
|
14614
|
+
break;
|
|
14615
|
+
}
|
|
14616
|
+
var field = reader.getFieldNumber();
|
|
14617
|
+
switch (field) {
|
|
14618
|
+
case 1:
|
|
14619
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14620
|
+
msg.setUuid(value);
|
|
14621
|
+
break;
|
|
14622
|
+
default:
|
|
14623
|
+
reader.skipField();
|
|
14624
|
+
break;
|
|
14625
|
+
}
|
|
14626
|
+
}
|
|
14627
|
+
return msg;
|
|
14628
|
+
};
|
|
14629
|
+
|
|
14630
|
+
|
|
14631
|
+
/**
|
|
14632
|
+
* Class method variant: serializes the given message to binary data
|
|
14633
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
14634
|
+
* @param {!proto.sniipbillapi.GetItemPaymentDetailsRequest} message
|
|
14635
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14636
|
+
*/
|
|
14637
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14638
|
+
message.serializeBinaryToWriter(writer);
|
|
14639
|
+
};
|
|
14640
|
+
|
|
14641
|
+
|
|
14642
|
+
/**
|
|
14643
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14644
|
+
* @return {!Uint8Array}
|
|
14645
|
+
*/
|
|
14646
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.prototype.serializeBinary = function() {
|
|
14647
|
+
var writer = new jspb.BinaryWriter();
|
|
14648
|
+
this.serializeBinaryToWriter(writer);
|
|
14649
|
+
return writer.getResultBuffer();
|
|
14650
|
+
};
|
|
14651
|
+
|
|
14652
|
+
|
|
14653
|
+
/**
|
|
14654
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
14655
|
+
* writing to the given BinaryWriter.
|
|
14656
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14657
|
+
*/
|
|
14658
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
14659
|
+
var f = undefined;
|
|
14660
|
+
f = this.getUuid();
|
|
14661
|
+
if (f.length > 0) {
|
|
14662
|
+
writer.writeString(
|
|
14663
|
+
1,
|
|
14664
|
+
f
|
|
14665
|
+
);
|
|
14666
|
+
}
|
|
14667
|
+
};
|
|
14668
|
+
|
|
14669
|
+
|
|
14670
|
+
/**
|
|
14671
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
14672
|
+
* @return {!proto.sniipbillapi.GetItemPaymentDetailsRequest} The clone.
|
|
14673
|
+
*/
|
|
14674
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.prototype.cloneMessage = function() {
|
|
14675
|
+
return /** @type {!proto.sniipbillapi.GetItemPaymentDetailsRequest} */ (jspb.Message.cloneMessage(this));
|
|
13881
14676
|
};
|
|
13882
14677
|
|
|
13883
14678
|
|
|
13884
|
-
|
|
13885
|
-
|
|
14679
|
+
/**
|
|
14680
|
+
* optional string uuid = 1;
|
|
14681
|
+
* @return {string}
|
|
14682
|
+
*/
|
|
14683
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.prototype.getUuid = function() {
|
|
14684
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
13886
14685
|
};
|
|
13887
14686
|
|
|
13888
14687
|
|
|
13889
|
-
/**
|
|
13890
|
-
|
|
13891
|
-
|
|
13892
|
-
*/
|
|
13893
|
-
proto.sniipbillapi.GetExistingBillRequest.prototype.hasData = function() {
|
|
13894
|
-
return jspb.Message.getField(this, 1) != null;
|
|
14688
|
+
/** @param {string} value */
|
|
14689
|
+
proto.sniipbillapi.GetItemPaymentDetailsRequest.prototype.setUuid = function(value) {
|
|
14690
|
+
jspb.Message.setField(this, 1, value);
|
|
13895
14691
|
};
|
|
13896
14692
|
|
|
13897
14693
|
|
|
@@ -15450,10 +16246,258 @@ proto.sniipbillapi.InvoiceBillPair.deserializeBinaryFromReader = function(msg, r
|
|
|
15450
16246
|
/**
|
|
15451
16247
|
* Class method variant: serializes the given message to binary data
|
|
15452
16248
|
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
15453
|
-
* @param {!proto.sniipbillapi.InvoiceBillPair} message
|
|
16249
|
+
* @param {!proto.sniipbillapi.InvoiceBillPair} message
|
|
16250
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16251
|
+
*/
|
|
16252
|
+
proto.sniipbillapi.InvoiceBillPair.serializeBinaryToWriter = function(message, writer) {
|
|
16253
|
+
message.serializeBinaryToWriter(writer);
|
|
16254
|
+
};
|
|
16255
|
+
|
|
16256
|
+
|
|
16257
|
+
/**
|
|
16258
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16259
|
+
* @return {!Uint8Array}
|
|
16260
|
+
*/
|
|
16261
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.serializeBinary = function() {
|
|
16262
|
+
var writer = new jspb.BinaryWriter();
|
|
16263
|
+
this.serializeBinaryToWriter(writer);
|
|
16264
|
+
return writer.getResultBuffer();
|
|
16265
|
+
};
|
|
16266
|
+
|
|
16267
|
+
|
|
16268
|
+
/**
|
|
16269
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
16270
|
+
* writing to the given BinaryWriter.
|
|
16271
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16272
|
+
*/
|
|
16273
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.serializeBinaryToWriter = function (writer) {
|
|
16274
|
+
var f = undefined;
|
|
16275
|
+
f = this.getBadgecount();
|
|
16276
|
+
if (f !== 0) {
|
|
16277
|
+
writer.writeInt64(
|
|
16278
|
+
1,
|
|
16279
|
+
f
|
|
16280
|
+
);
|
|
16281
|
+
}
|
|
16282
|
+
f = this.getBillid();
|
|
16283
|
+
if (f !== 0) {
|
|
16284
|
+
writer.writeInt64(
|
|
16285
|
+
2,
|
|
16286
|
+
f
|
|
16287
|
+
);
|
|
16288
|
+
}
|
|
16289
|
+
f = this.getBillername();
|
|
16290
|
+
if (f.length > 0) {
|
|
16291
|
+
writer.writeString(
|
|
16292
|
+
3,
|
|
16293
|
+
f
|
|
16294
|
+
);
|
|
16295
|
+
}
|
|
16296
|
+
f = this.getInvoiceid();
|
|
16297
|
+
if (f.length > 0) {
|
|
16298
|
+
writer.writeString(
|
|
16299
|
+
4,
|
|
16300
|
+
f
|
|
16301
|
+
);
|
|
16302
|
+
}
|
|
16303
|
+
f = this.getUserid();
|
|
16304
|
+
if (f !== 0) {
|
|
16305
|
+
writer.writeInt64(
|
|
16306
|
+
5,
|
|
16307
|
+
f
|
|
16308
|
+
);
|
|
16309
|
+
}
|
|
16310
|
+
};
|
|
16311
|
+
|
|
16312
|
+
|
|
16313
|
+
/**
|
|
16314
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
16315
|
+
* @return {!proto.sniipbillapi.InvoiceBillPair} The clone.
|
|
16316
|
+
*/
|
|
16317
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.cloneMessage = function() {
|
|
16318
|
+
return /** @type {!proto.sniipbillapi.InvoiceBillPair} */ (jspb.Message.cloneMessage(this));
|
|
16319
|
+
};
|
|
16320
|
+
|
|
16321
|
+
|
|
16322
|
+
/**
|
|
16323
|
+
* optional int64 badgeCount = 1;
|
|
16324
|
+
* @return {number}
|
|
16325
|
+
*/
|
|
16326
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.getBadgecount = function() {
|
|
16327
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
16328
|
+
};
|
|
16329
|
+
|
|
16330
|
+
|
|
16331
|
+
/** @param {number} value */
|
|
16332
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.setBadgecount = function(value) {
|
|
16333
|
+
jspb.Message.setField(this, 1, value);
|
|
16334
|
+
};
|
|
16335
|
+
|
|
16336
|
+
|
|
16337
|
+
/**
|
|
16338
|
+
* optional int64 billId = 2;
|
|
16339
|
+
* @return {number}
|
|
16340
|
+
*/
|
|
16341
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.getBillid = function() {
|
|
16342
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
16343
|
+
};
|
|
16344
|
+
|
|
16345
|
+
|
|
16346
|
+
/** @param {number} value */
|
|
16347
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.setBillid = function(value) {
|
|
16348
|
+
jspb.Message.setField(this, 2, value);
|
|
16349
|
+
};
|
|
16350
|
+
|
|
16351
|
+
|
|
16352
|
+
/**
|
|
16353
|
+
* optional string billerName = 3;
|
|
16354
|
+
* @return {string}
|
|
16355
|
+
*/
|
|
16356
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.getBillername = function() {
|
|
16357
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
16358
|
+
};
|
|
16359
|
+
|
|
16360
|
+
|
|
16361
|
+
/** @param {string} value */
|
|
16362
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.setBillername = function(value) {
|
|
16363
|
+
jspb.Message.setField(this, 3, value);
|
|
16364
|
+
};
|
|
16365
|
+
|
|
16366
|
+
|
|
16367
|
+
/**
|
|
16368
|
+
* optional string invoiceId = 4;
|
|
16369
|
+
* @return {string}
|
|
16370
|
+
*/
|
|
16371
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.getInvoiceid = function() {
|
|
16372
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
16373
|
+
};
|
|
16374
|
+
|
|
16375
|
+
|
|
16376
|
+
/** @param {string} value */
|
|
16377
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.setInvoiceid = function(value) {
|
|
16378
|
+
jspb.Message.setField(this, 4, value);
|
|
16379
|
+
};
|
|
16380
|
+
|
|
16381
|
+
|
|
16382
|
+
/**
|
|
16383
|
+
* optional int64 userId = 5;
|
|
16384
|
+
* @return {number}
|
|
16385
|
+
*/
|
|
16386
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.getUserid = function() {
|
|
16387
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
|
|
16388
|
+
};
|
|
16389
|
+
|
|
16390
|
+
|
|
16391
|
+
/** @param {number} value */
|
|
16392
|
+
proto.sniipbillapi.InvoiceBillPair.prototype.setUserid = function(value) {
|
|
16393
|
+
jspb.Message.setField(this, 5, value);
|
|
16394
|
+
};
|
|
16395
|
+
|
|
16396
|
+
|
|
16397
|
+
|
|
16398
|
+
/**
|
|
16399
|
+
* Generated by JsPbCodeGenerator.
|
|
16400
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
16401
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
16402
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
16403
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
16404
|
+
* valid.
|
|
16405
|
+
* @extends {jspb.Message}
|
|
16406
|
+
* @constructor
|
|
16407
|
+
*/
|
|
16408
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse = function(opt_data) {
|
|
16409
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
16410
|
+
};
|
|
16411
|
+
goog.inherits(proto.sniipbillapi.ItemPaymentDetailsResponse, jspb.Message);
|
|
16412
|
+
if (goog.DEBUG && !COMPILED) {
|
|
16413
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.displayName = 'proto.sniipbillapi.ItemPaymentDetailsResponse';
|
|
16414
|
+
}
|
|
16415
|
+
|
|
16416
|
+
|
|
16417
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16418
|
+
/**
|
|
16419
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
16420
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16421
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16422
|
+
* For the list of reserved names please see:
|
|
16423
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
16424
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
16425
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
16426
|
+
* @return {!Object}
|
|
16427
|
+
*/
|
|
16428
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16429
|
+
return proto.sniipbillapi.ItemPaymentDetailsResponse.toObject(opt_includeInstance, this);
|
|
16430
|
+
};
|
|
16431
|
+
|
|
16432
|
+
|
|
16433
|
+
/**
|
|
16434
|
+
* Static version of the {@see toObject} method.
|
|
16435
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
16436
|
+
* instance for transitional soy proto support:
|
|
16437
|
+
* http://goto/soy-param-migration
|
|
16438
|
+
* @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The msg instance to transform.
|
|
16439
|
+
* @return {!Object}
|
|
16440
|
+
*/
|
|
16441
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.toObject = function(includeInstance, msg) {
|
|
16442
|
+
var f, obj = {
|
|
16443
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f)
|
|
16444
|
+
};
|
|
16445
|
+
|
|
16446
|
+
if (includeInstance) {
|
|
16447
|
+
obj.$jspbMessageInstance = msg;
|
|
16448
|
+
}
|
|
16449
|
+
return obj;
|
|
16450
|
+
};
|
|
16451
|
+
}
|
|
16452
|
+
|
|
16453
|
+
|
|
16454
|
+
/**
|
|
16455
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16456
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16457
|
+
* @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
|
|
16458
|
+
*/
|
|
16459
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinary = function(bytes) {
|
|
16460
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16461
|
+
var msg = new proto.sniipbillapi.ItemPaymentDetailsResponse;
|
|
16462
|
+
return proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
16463
|
+
};
|
|
16464
|
+
|
|
16465
|
+
|
|
16466
|
+
/**
|
|
16467
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16468
|
+
* given reader into the given message object.
|
|
16469
|
+
* @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The message object to deserialize into.
|
|
16470
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16471
|
+
* @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
|
|
16472
|
+
*/
|
|
16473
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16474
|
+
while (reader.nextField()) {
|
|
16475
|
+
if (reader.isEndGroup()) {
|
|
16476
|
+
break;
|
|
16477
|
+
}
|
|
16478
|
+
var field = reader.getFieldNumber();
|
|
16479
|
+
switch (field) {
|
|
16480
|
+
case 1:
|
|
16481
|
+
var value = new proto.sniipbillapi.ResponseCode;
|
|
16482
|
+
reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
|
|
16483
|
+
msg.setResponsecode(value);
|
|
16484
|
+
break;
|
|
16485
|
+
default:
|
|
16486
|
+
reader.skipField();
|
|
16487
|
+
break;
|
|
16488
|
+
}
|
|
16489
|
+
}
|
|
16490
|
+
return msg;
|
|
16491
|
+
};
|
|
16492
|
+
|
|
16493
|
+
|
|
16494
|
+
/**
|
|
16495
|
+
* Class method variant: serializes the given message to binary data
|
|
16496
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
16497
|
+
* @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} message
|
|
15454
16498
|
* @param {!jspb.BinaryWriter} writer
|
|
15455
16499
|
*/
|
|
15456
|
-
proto.sniipbillapi.
|
|
16500
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
15457
16501
|
message.serializeBinaryToWriter(writer);
|
|
15458
16502
|
};
|
|
15459
16503
|
|
|
@@ -15462,7 +16506,7 @@ proto.sniipbillapi.InvoiceBillPair.serializeBinaryToWriter = function(message, w
|
|
|
15462
16506
|
* Serializes the message to binary data (in protobuf wire format).
|
|
15463
16507
|
* @return {!Uint8Array}
|
|
15464
16508
|
*/
|
|
15465
|
-
proto.sniipbillapi.
|
|
16509
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinary = function() {
|
|
15466
16510
|
var writer = new jspb.BinaryWriter();
|
|
15467
16511
|
this.serializeBinaryToWriter(writer);
|
|
15468
16512
|
return writer.getResultBuffer();
|
|
@@ -15474,41 +16518,14 @@ proto.sniipbillapi.InvoiceBillPair.prototype.serializeBinary = function() {
|
|
|
15474
16518
|
* writing to the given BinaryWriter.
|
|
15475
16519
|
* @param {!jspb.BinaryWriter} writer
|
|
15476
16520
|
*/
|
|
15477
|
-
proto.sniipbillapi.
|
|
16521
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
15478
16522
|
var f = undefined;
|
|
15479
|
-
f = this.
|
|
15480
|
-
if (f
|
|
15481
|
-
writer.
|
|
16523
|
+
f = this.getResponsecode();
|
|
16524
|
+
if (f != null) {
|
|
16525
|
+
writer.writeMessage(
|
|
15482
16526
|
1,
|
|
15483
|
-
f
|
|
15484
|
-
|
|
15485
|
-
}
|
|
15486
|
-
f = this.getBillid();
|
|
15487
|
-
if (f !== 0) {
|
|
15488
|
-
writer.writeInt64(
|
|
15489
|
-
2,
|
|
15490
|
-
f
|
|
15491
|
-
);
|
|
15492
|
-
}
|
|
15493
|
-
f = this.getBillername();
|
|
15494
|
-
if (f.length > 0) {
|
|
15495
|
-
writer.writeString(
|
|
15496
|
-
3,
|
|
15497
|
-
f
|
|
15498
|
-
);
|
|
15499
|
-
}
|
|
15500
|
-
f = this.getInvoiceid();
|
|
15501
|
-
if (f.length > 0) {
|
|
15502
|
-
writer.writeString(
|
|
15503
|
-
4,
|
|
15504
|
-
f
|
|
15505
|
-
);
|
|
15506
|
-
}
|
|
15507
|
-
f = this.getUserid();
|
|
15508
|
-
if (f !== 0) {
|
|
15509
|
-
writer.writeInt64(
|
|
15510
|
-
5,
|
|
15511
|
-
f
|
|
16527
|
+
f,
|
|
16528
|
+
proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
|
|
15512
16529
|
);
|
|
15513
16530
|
}
|
|
15514
16531
|
};
|
|
@@ -15516,85 +16533,40 @@ proto.sniipbillapi.InvoiceBillPair.prototype.serializeBinaryToWriter = function
|
|
|
15516
16533
|
|
|
15517
16534
|
/**
|
|
15518
16535
|
* Creates a deep clone of this proto. No data is shared with the original.
|
|
15519
|
-
* @return {!proto.sniipbillapi.
|
|
15520
|
-
*/
|
|
15521
|
-
proto.sniipbillapi.InvoiceBillPair.prototype.cloneMessage = function() {
|
|
15522
|
-
return /** @type {!proto.sniipbillapi.InvoiceBillPair} */ (jspb.Message.cloneMessage(this));
|
|
15523
|
-
};
|
|
15524
|
-
|
|
15525
|
-
|
|
15526
|
-
/**
|
|
15527
|
-
* optional int64 badgeCount = 1;
|
|
15528
|
-
* @return {number}
|
|
15529
|
-
*/
|
|
15530
|
-
proto.sniipbillapi.InvoiceBillPair.prototype.getBadgecount = function() {
|
|
15531
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
15532
|
-
};
|
|
15533
|
-
|
|
15534
|
-
|
|
15535
|
-
/** @param {number} value */
|
|
15536
|
-
proto.sniipbillapi.InvoiceBillPair.prototype.setBadgecount = function(value) {
|
|
15537
|
-
jspb.Message.setField(this, 1, value);
|
|
15538
|
-
};
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
/**
|
|
15542
|
-
* optional int64 billId = 2;
|
|
15543
|
-
* @return {number}
|
|
16536
|
+
* @return {!proto.sniipbillapi.ItemPaymentDetailsResponse} The clone.
|
|
15544
16537
|
*/
|
|
15545
|
-
proto.sniipbillapi.
|
|
15546
|
-
return /** @type {
|
|
15547
|
-
};
|
|
15548
|
-
|
|
15549
|
-
|
|
15550
|
-
/** @param {number} value */
|
|
15551
|
-
proto.sniipbillapi.InvoiceBillPair.prototype.setBillid = function(value) {
|
|
15552
|
-
jspb.Message.setField(this, 2, value);
|
|
16538
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.cloneMessage = function() {
|
|
16539
|
+
return /** @type {!proto.sniipbillapi.ItemPaymentDetailsResponse} */ (jspb.Message.cloneMessage(this));
|
|
15553
16540
|
};
|
|
15554
16541
|
|
|
15555
16542
|
|
|
15556
16543
|
/**
|
|
15557
|
-
* optional
|
|
15558
|
-
* @return {
|
|
16544
|
+
* optional ResponseCode responseCode = 1;
|
|
16545
|
+
* @return {proto.sniipbillapi.ResponseCode}
|
|
15559
16546
|
*/
|
|
15560
|
-
proto.sniipbillapi.
|
|
15561
|
-
return /** @type
|
|
15562
|
-
|
|
15563
|
-
|
|
15564
|
-
|
|
15565
|
-
/** @param {string} value */
|
|
15566
|
-
proto.sniipbillapi.InvoiceBillPair.prototype.setBillername = function(value) {
|
|
15567
|
-
jspb.Message.setField(this, 3, value);
|
|
16547
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getResponsecode = function() {
|
|
16548
|
+
return /** @type{proto.sniipbillapi.ResponseCode} */ (
|
|
16549
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
|
|
15568
16550
|
};
|
|
15569
16551
|
|
|
15570
16552
|
|
|
15571
|
-
/**
|
|
15572
|
-
|
|
15573
|
-
|
|
15574
|
-
*/
|
|
15575
|
-
proto.sniipbillapi.InvoiceBillPair.prototype.getInvoiceid = function() {
|
|
15576
|
-
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
16553
|
+
/** @param {proto.sniipbillapi.ResponseCode|undefined} value */
|
|
16554
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setResponsecode = function(value) {
|
|
16555
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
15577
16556
|
};
|
|
15578
16557
|
|
|
15579
16558
|
|
|
15580
|
-
|
|
15581
|
-
|
|
15582
|
-
jspb.Message.setField(this, 4, value);
|
|
16559
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.clearResponsecode = function() {
|
|
16560
|
+
this.setResponsecode(undefined);
|
|
15583
16561
|
};
|
|
15584
16562
|
|
|
15585
16563
|
|
|
15586
16564
|
/**
|
|
15587
|
-
*
|
|
15588
|
-
* @return
|
|
16565
|
+
* Returns whether this field is set.
|
|
16566
|
+
* @return{!boolean}
|
|
15589
16567
|
*/
|
|
15590
|
-
proto.sniipbillapi.
|
|
15591
|
-
return
|
|
15592
|
-
};
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
/** @param {number} value */
|
|
15596
|
-
proto.sniipbillapi.InvoiceBillPair.prototype.setUserid = function(value) {
|
|
15597
|
-
jspb.Message.setField(this, 5, value);
|
|
16568
|
+
proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.hasResponsecode = function() {
|
|
16569
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15598
16570
|
};
|
|
15599
16571
|
|
|
15600
16572
|
|
|
@@ -17601,6 +18573,182 @@ proto.sniipbillapi.RetrieveBillDetailsRequest.prototype.setBillid = function(val
|
|
|
17601
18573
|
|
|
17602
18574
|
|
|
17603
18575
|
|
|
18576
|
+
/**
|
|
18577
|
+
* Generated by JsPbCodeGenerator.
|
|
18578
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
18579
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
18580
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
18581
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
18582
|
+
* valid.
|
|
18583
|
+
* @extends {jspb.Message}
|
|
18584
|
+
* @constructor
|
|
18585
|
+
*/
|
|
18586
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest = function(opt_data) {
|
|
18587
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
18588
|
+
};
|
|
18589
|
+
goog.inherits(proto.sniipbillapi.SaveItemPaymentDetailsRequest, jspb.Message);
|
|
18590
|
+
if (goog.DEBUG && !COMPILED) {
|
|
18591
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.displayName = 'proto.sniipbillapi.SaveItemPaymentDetailsRequest';
|
|
18592
|
+
}
|
|
18593
|
+
|
|
18594
|
+
|
|
18595
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18596
|
+
/**
|
|
18597
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
18598
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18599
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18600
|
+
* For the list of reserved names please see:
|
|
18601
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
18602
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
18603
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
18604
|
+
* @return {!Object}
|
|
18605
|
+
*/
|
|
18606
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18607
|
+
return proto.sniipbillapi.SaveItemPaymentDetailsRequest.toObject(opt_includeInstance, this);
|
|
18608
|
+
};
|
|
18609
|
+
|
|
18610
|
+
|
|
18611
|
+
/**
|
|
18612
|
+
* Static version of the {@see toObject} method.
|
|
18613
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
18614
|
+
* instance for transitional soy proto support:
|
|
18615
|
+
* http://goto/soy-param-migration
|
|
18616
|
+
* @param {!proto.sniipbillapi.SaveItemPaymentDetailsRequest} msg The msg instance to transform.
|
|
18617
|
+
* @return {!Object}
|
|
18618
|
+
*/
|
|
18619
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.toObject = function(includeInstance, msg) {
|
|
18620
|
+
var f, obj = {
|
|
18621
|
+
data: (f = msg.getData()) && proto.sniipbillapi.CreateItemPaymentRequest.toObject(includeInstance, f)
|
|
18622
|
+
};
|
|
18623
|
+
|
|
18624
|
+
if (includeInstance) {
|
|
18625
|
+
obj.$jspbMessageInstance = msg;
|
|
18626
|
+
}
|
|
18627
|
+
return obj;
|
|
18628
|
+
};
|
|
18629
|
+
}
|
|
18630
|
+
|
|
18631
|
+
|
|
18632
|
+
/**
|
|
18633
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18634
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18635
|
+
* @return {!proto.sniipbillapi.SaveItemPaymentDetailsRequest}
|
|
18636
|
+
*/
|
|
18637
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.deserializeBinary = function(bytes) {
|
|
18638
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18639
|
+
var msg = new proto.sniipbillapi.SaveItemPaymentDetailsRequest;
|
|
18640
|
+
return proto.sniipbillapi.SaveItemPaymentDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
18641
|
+
};
|
|
18642
|
+
|
|
18643
|
+
|
|
18644
|
+
/**
|
|
18645
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18646
|
+
* given reader into the given message object.
|
|
18647
|
+
* @param {!proto.sniipbillapi.SaveItemPaymentDetailsRequest} msg The message object to deserialize into.
|
|
18648
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18649
|
+
* @return {!proto.sniipbillapi.SaveItemPaymentDetailsRequest}
|
|
18650
|
+
*/
|
|
18651
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18652
|
+
while (reader.nextField()) {
|
|
18653
|
+
if (reader.isEndGroup()) {
|
|
18654
|
+
break;
|
|
18655
|
+
}
|
|
18656
|
+
var field = reader.getFieldNumber();
|
|
18657
|
+
switch (field) {
|
|
18658
|
+
case 1:
|
|
18659
|
+
var value = new proto.sniipbillapi.CreateItemPaymentRequest;
|
|
18660
|
+
reader.readMessage(value,proto.sniipbillapi.CreateItemPaymentRequest.deserializeBinaryFromReader);
|
|
18661
|
+
msg.setData(value);
|
|
18662
|
+
break;
|
|
18663
|
+
default:
|
|
18664
|
+
reader.skipField();
|
|
18665
|
+
break;
|
|
18666
|
+
}
|
|
18667
|
+
}
|
|
18668
|
+
return msg;
|
|
18669
|
+
};
|
|
18670
|
+
|
|
18671
|
+
|
|
18672
|
+
/**
|
|
18673
|
+
* Class method variant: serializes the given message to binary data
|
|
18674
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
18675
|
+
* @param {!proto.sniipbillapi.SaveItemPaymentDetailsRequest} message
|
|
18676
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18677
|
+
*/
|
|
18678
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18679
|
+
message.serializeBinaryToWriter(writer);
|
|
18680
|
+
};
|
|
18681
|
+
|
|
18682
|
+
|
|
18683
|
+
/**
|
|
18684
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18685
|
+
* @return {!Uint8Array}
|
|
18686
|
+
*/
|
|
18687
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.prototype.serializeBinary = function() {
|
|
18688
|
+
var writer = new jspb.BinaryWriter();
|
|
18689
|
+
this.serializeBinaryToWriter(writer);
|
|
18690
|
+
return writer.getResultBuffer();
|
|
18691
|
+
};
|
|
18692
|
+
|
|
18693
|
+
|
|
18694
|
+
/**
|
|
18695
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
18696
|
+
* writing to the given BinaryWriter.
|
|
18697
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18698
|
+
*/
|
|
18699
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
18700
|
+
var f = undefined;
|
|
18701
|
+
f = this.getData();
|
|
18702
|
+
if (f != null) {
|
|
18703
|
+
writer.writeMessage(
|
|
18704
|
+
1,
|
|
18705
|
+
f,
|
|
18706
|
+
proto.sniipbillapi.CreateItemPaymentRequest.serializeBinaryToWriter
|
|
18707
|
+
);
|
|
18708
|
+
}
|
|
18709
|
+
};
|
|
18710
|
+
|
|
18711
|
+
|
|
18712
|
+
/**
|
|
18713
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
18714
|
+
* @return {!proto.sniipbillapi.SaveItemPaymentDetailsRequest} The clone.
|
|
18715
|
+
*/
|
|
18716
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.prototype.cloneMessage = function() {
|
|
18717
|
+
return /** @type {!proto.sniipbillapi.SaveItemPaymentDetailsRequest} */ (jspb.Message.cloneMessage(this));
|
|
18718
|
+
};
|
|
18719
|
+
|
|
18720
|
+
|
|
18721
|
+
/**
|
|
18722
|
+
* optional CreateItemPaymentRequest data = 1;
|
|
18723
|
+
* @return {proto.sniipbillapi.CreateItemPaymentRequest}
|
|
18724
|
+
*/
|
|
18725
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.prototype.getData = function() {
|
|
18726
|
+
return /** @type{proto.sniipbillapi.CreateItemPaymentRequest} */ (
|
|
18727
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.CreateItemPaymentRequest, 1));
|
|
18728
|
+
};
|
|
18729
|
+
|
|
18730
|
+
|
|
18731
|
+
/** @param {proto.sniipbillapi.CreateItemPaymentRequest|undefined} value */
|
|
18732
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.prototype.setData = function(value) {
|
|
18733
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
18734
|
+
};
|
|
18735
|
+
|
|
18736
|
+
|
|
18737
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.prototype.clearData = function() {
|
|
18738
|
+
this.setData(undefined);
|
|
18739
|
+
};
|
|
18740
|
+
|
|
18741
|
+
|
|
18742
|
+
/**
|
|
18743
|
+
* Returns whether this field is set.
|
|
18744
|
+
* @return{!boolean}
|
|
18745
|
+
*/
|
|
18746
|
+
proto.sniipbillapi.SaveItemPaymentDetailsRequest.prototype.hasData = function() {
|
|
18747
|
+
return jspb.Message.getField(this, 1) != null;
|
|
18748
|
+
};
|
|
18749
|
+
|
|
18750
|
+
|
|
18751
|
+
|
|
17604
18752
|
/**
|
|
17605
18753
|
* Generated by JsPbCodeGenerator.
|
|
17606
18754
|
* @param {Array=} opt_data Optional initial data array, typically from a
|