@sniipwebmaster/agent-billing-client-grpcweb 24.6.2534 → 24.6.2547
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 +132 -30
- package/package.json +1 -1
|
@@ -1842,7 +1842,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1842
1842
|
* @constructor
|
|
1843
1843
|
*/
|
|
1844
1844
|
proto.agentbillingserviceapi.AgentBillTransaction = function(opt_data) {
|
|
1845
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1845
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1846
1846
|
};
|
|
1847
1847
|
goog.inherits(proto.agentbillingserviceapi.AgentBillTransaction, jspb.Message);
|
|
1848
1848
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -22116,13 +22116,6 @@ proto.agentbillingserviceapi.UploadBatch.prototype.setDueamounttoprocess = funct
|
|
|
22116
22116
|
|
|
22117
22117
|
|
|
22118
22118
|
|
|
22119
|
-
/**
|
|
22120
|
-
* List of repeated fields within this message type.
|
|
22121
|
-
* @private {!Array<number>}
|
|
22122
|
-
* @const
|
|
22123
|
-
*/
|
|
22124
|
-
proto.agentbillingserviceapi.AgentBillTransaction.repeatedFields_ = [16];
|
|
22125
|
-
|
|
22126
22119
|
|
|
22127
22120
|
|
|
22128
22121
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -22169,8 +22162,10 @@ proto.agentbillingserviceapi.AgentBillTransaction.toObject = function(includeIns
|
|
|
22169
22162
|
settlementdate: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
22170
22163
|
receiptid: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
22171
22164
|
rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
22172
|
-
|
|
22173
|
-
|
|
22165
|
+
billconfig: (f = msg.getBillconfig()) && proto.agentbillingserviceapi.BillConfig.toObject(includeInstance, f),
|
|
22166
|
+
maskedpaymentmethodnumber: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
22167
|
+
paymentmethodtype: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
22168
|
+
attachment: (f = msg.getAttachment()) && proto.agentbillingserviceapi.AgentAttachmentInfo.toObject(includeInstance, f)
|
|
22174
22169
|
};
|
|
22175
22170
|
|
|
22176
22171
|
if (includeInstance) {
|
|
@@ -22270,7 +22265,20 @@ proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinaryFromReader =
|
|
|
22270
22265
|
case 16:
|
|
22271
22266
|
var value = new proto.agentbillingserviceapi.BillConfig;
|
|
22272
22267
|
reader.readMessage(value,proto.agentbillingserviceapi.BillConfig.deserializeBinaryFromReader);
|
|
22273
|
-
msg.
|
|
22268
|
+
msg.setBillconfig(value);
|
|
22269
|
+
break;
|
|
22270
|
+
case 17:
|
|
22271
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22272
|
+
msg.setMaskedpaymentmethodnumber(value);
|
|
22273
|
+
break;
|
|
22274
|
+
case 18:
|
|
22275
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22276
|
+
msg.setPaymentmethodtype(value);
|
|
22277
|
+
break;
|
|
22278
|
+
case 19:
|
|
22279
|
+
var value = new proto.agentbillingserviceapi.AgentAttachmentInfo;
|
|
22280
|
+
reader.readMessage(value,proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinaryFromReader);
|
|
22281
|
+
msg.setAttachment(value);
|
|
22274
22282
|
break;
|
|
22275
22283
|
default:
|
|
22276
22284
|
reader.skipField();
|
|
@@ -22406,14 +22414,36 @@ proto.agentbillingserviceapi.AgentBillTransaction.serializeBinaryToWriter = func
|
|
|
22406
22414
|
f
|
|
22407
22415
|
);
|
|
22408
22416
|
}
|
|
22409
|
-
f = message.
|
|
22410
|
-
if (f
|
|
22411
|
-
writer.
|
|
22417
|
+
f = message.getBillconfig();
|
|
22418
|
+
if (f != null) {
|
|
22419
|
+
writer.writeMessage(
|
|
22412
22420
|
16,
|
|
22413
22421
|
f,
|
|
22414
22422
|
proto.agentbillingserviceapi.BillConfig.serializeBinaryToWriter
|
|
22415
22423
|
);
|
|
22416
22424
|
}
|
|
22425
|
+
f = message.getMaskedpaymentmethodnumber();
|
|
22426
|
+
if (f.length > 0) {
|
|
22427
|
+
writer.writeString(
|
|
22428
|
+
17,
|
|
22429
|
+
f
|
|
22430
|
+
);
|
|
22431
|
+
}
|
|
22432
|
+
f = message.getPaymentmethodtype();
|
|
22433
|
+
if (f.length > 0) {
|
|
22434
|
+
writer.writeString(
|
|
22435
|
+
18,
|
|
22436
|
+
f
|
|
22437
|
+
);
|
|
22438
|
+
}
|
|
22439
|
+
f = message.getAttachment();
|
|
22440
|
+
if (f != null) {
|
|
22441
|
+
writer.writeMessage(
|
|
22442
|
+
19,
|
|
22443
|
+
f,
|
|
22444
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.serializeBinaryToWriter
|
|
22445
|
+
);
|
|
22446
|
+
}
|
|
22417
22447
|
};
|
|
22418
22448
|
|
|
22419
22449
|
|
|
@@ -22688,40 +22718,112 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setRewardamount = fu
|
|
|
22688
22718
|
|
|
22689
22719
|
|
|
22690
22720
|
/**
|
|
22691
|
-
*
|
|
22692
|
-
* @return {
|
|
22721
|
+
* optional BillConfig billConfig = 16;
|
|
22722
|
+
* @return {?proto.agentbillingserviceapi.BillConfig}
|
|
22693
22723
|
*/
|
|
22694
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
22695
|
-
return /** @type{
|
|
22696
|
-
jspb.Message.
|
|
22724
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillconfig = function() {
|
|
22725
|
+
return /** @type{?proto.agentbillingserviceapi.BillConfig} */ (
|
|
22726
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.BillConfig, 16));
|
|
22697
22727
|
};
|
|
22698
22728
|
|
|
22699
22729
|
|
|
22700
22730
|
/**
|
|
22701
|
-
* @param {
|
|
22731
|
+
* @param {?proto.agentbillingserviceapi.BillConfig|undefined} value
|
|
22702
22732
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
22703
22733
|
*/
|
|
22704
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
22705
|
-
return jspb.Message.
|
|
22734
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillconfig = function(value) {
|
|
22735
|
+
return jspb.Message.setWrapperField(this, 16, value);
|
|
22706
22736
|
};
|
|
22707
22737
|
|
|
22708
22738
|
|
|
22709
22739
|
/**
|
|
22710
|
-
*
|
|
22711
|
-
* @
|
|
22712
|
-
* @return {!proto.agentbillingserviceapi.BillConfig}
|
|
22740
|
+
* Clears the message field making it undefined.
|
|
22741
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
22713
22742
|
*/
|
|
22714
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
22715
|
-
return
|
|
22743
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.clearBillconfig = function() {
|
|
22744
|
+
return this.setBillconfig(undefined);
|
|
22716
22745
|
};
|
|
22717
22746
|
|
|
22718
22747
|
|
|
22719
22748
|
/**
|
|
22720
|
-
*
|
|
22749
|
+
* Returns whether this field is set.
|
|
22750
|
+
* @return {boolean}
|
|
22751
|
+
*/
|
|
22752
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.hasBillconfig = function() {
|
|
22753
|
+
return jspb.Message.getField(this, 16) != null;
|
|
22754
|
+
};
|
|
22755
|
+
|
|
22756
|
+
|
|
22757
|
+
/**
|
|
22758
|
+
* optional string maskedPaymentMethodNumber = 17;
|
|
22759
|
+
* @return {string}
|
|
22760
|
+
*/
|
|
22761
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getMaskedpaymentmethodnumber = function() {
|
|
22762
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
22763
|
+
};
|
|
22764
|
+
|
|
22765
|
+
|
|
22766
|
+
/**
|
|
22767
|
+
* @param {string} value
|
|
22721
22768
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
22722
22769
|
*/
|
|
22723
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
22724
|
-
return
|
|
22770
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setMaskedpaymentmethodnumber = function(value) {
|
|
22771
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
22772
|
+
};
|
|
22773
|
+
|
|
22774
|
+
|
|
22775
|
+
/**
|
|
22776
|
+
* optional string paymentMethodType = 18;
|
|
22777
|
+
* @return {string}
|
|
22778
|
+
*/
|
|
22779
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getPaymentmethodtype = function() {
|
|
22780
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
22781
|
+
};
|
|
22782
|
+
|
|
22783
|
+
|
|
22784
|
+
/**
|
|
22785
|
+
* @param {string} value
|
|
22786
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
22787
|
+
*/
|
|
22788
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setPaymentmethodtype = function(value) {
|
|
22789
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
22790
|
+
};
|
|
22791
|
+
|
|
22792
|
+
|
|
22793
|
+
/**
|
|
22794
|
+
* optional AgentAttachmentInfo attachment = 19;
|
|
22795
|
+
* @return {?proto.agentbillingserviceapi.AgentAttachmentInfo}
|
|
22796
|
+
*/
|
|
22797
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAttachment = function() {
|
|
22798
|
+
return /** @type{?proto.agentbillingserviceapi.AgentAttachmentInfo} */ (
|
|
22799
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.AgentAttachmentInfo, 19));
|
|
22800
|
+
};
|
|
22801
|
+
|
|
22802
|
+
|
|
22803
|
+
/**
|
|
22804
|
+
* @param {?proto.agentbillingserviceapi.AgentAttachmentInfo|undefined} value
|
|
22805
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
22806
|
+
*/
|
|
22807
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAttachment = function(value) {
|
|
22808
|
+
return jspb.Message.setWrapperField(this, 19, value);
|
|
22809
|
+
};
|
|
22810
|
+
|
|
22811
|
+
|
|
22812
|
+
/**
|
|
22813
|
+
* Clears the message field making it undefined.
|
|
22814
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
22815
|
+
*/
|
|
22816
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.clearAttachment = function() {
|
|
22817
|
+
return this.setAttachment(undefined);
|
|
22818
|
+
};
|
|
22819
|
+
|
|
22820
|
+
|
|
22821
|
+
/**
|
|
22822
|
+
* Returns whether this field is set.
|
|
22823
|
+
* @return {boolean}
|
|
22824
|
+
*/
|
|
22825
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.hasAttachment = function() {
|
|
22826
|
+
return jspb.Message.getField(this, 19) != null;
|
|
22725
22827
|
};
|
|
22726
22828
|
|
|
22727
22829
|
|