@sniipwebmaster/checkout-service-client-grpcweb 26.2.291 → 26.6.437
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 +183 -61
- package/dependancies/service_pb.js +2880 -566
- package/package.json +1 -1
|
@@ -39,6 +39,8 @@ goog.exportSymbol('proto.checkoutserviceapi.PaymentResponse', null, global);
|
|
|
39
39
|
goog.exportSymbol('proto.checkoutserviceapi.PaymentStatusRequest', null, global);
|
|
40
40
|
goog.exportSymbol('proto.checkoutserviceapi.PaymentStatusResponse', null, global);
|
|
41
41
|
goog.exportSymbol('proto.checkoutserviceapi.ProcessSettlementFileRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.checkoutserviceapi.PubSubMessage', null, global);
|
|
43
|
+
goog.exportSymbol('proto.checkoutserviceapi.PubSubPushRequest', null, global);
|
|
42
44
|
goog.exportSymbol('proto.checkoutserviceapi.ResponseCode', null, global);
|
|
43
45
|
goog.exportSymbol('proto.checkoutserviceapi.Scope', null, global);
|
|
44
46
|
goog.exportSymbol('proto.checkoutserviceapi.SettleFile', null, global);
|
|
@@ -46,7 +48,11 @@ goog.exportSymbol('proto.checkoutserviceapi.SettleFileDetailsResponse', null, gl
|
|
|
46
48
|
goog.exportSymbol('proto.checkoutserviceapi.SettleFilesResponse', null, global);
|
|
47
49
|
goog.exportSymbol('proto.checkoutserviceapi.SettlementFileDetailsRequest', null, global);
|
|
48
50
|
goog.exportSymbol('proto.checkoutserviceapi.SettlementFilesRequest', null, global);
|
|
51
|
+
goog.exportSymbol('proto.checkoutserviceapi.SettlementFilesRequest.SettlementFilesRequestMidType', null, global);
|
|
49
52
|
goog.exportSymbol('proto.checkoutserviceapi.SettlementTransaction', null, global);
|
|
53
|
+
goog.exportSymbol('proto.checkoutserviceapi.TokenPaymentRequest', null, global);
|
|
54
|
+
goog.exportSymbol('proto.checkoutserviceapi.TokenizeGooglePayRequest', null, global);
|
|
55
|
+
goog.exportSymbol('proto.checkoutserviceapi.TokenizeGooglePayResponse', null, global);
|
|
50
56
|
goog.exportSymbol('proto.checkoutserviceapi.WalletToken', null, global);
|
|
51
57
|
goog.exportSymbol('proto.checkoutserviceapi.Webhook3DS', null, global);
|
|
52
58
|
goog.exportSymbol('proto.checkoutserviceapi.WebhookBalances', null, global);
|
|
@@ -544,6 +550,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
544
550
|
*/
|
|
545
551
|
proto.checkoutserviceapi.WebhookResponse.displayName = 'proto.checkoutserviceapi.WebhookResponse';
|
|
546
552
|
}
|
|
553
|
+
/**
|
|
554
|
+
* Generated by JsPbCodeGenerator.
|
|
555
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
556
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
557
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
558
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
559
|
+
* valid.
|
|
560
|
+
* @extends {jspb.Message}
|
|
561
|
+
* @constructor
|
|
562
|
+
*/
|
|
563
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest = function(opt_data) {
|
|
564
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
565
|
+
};
|
|
566
|
+
goog.inherits(proto.checkoutserviceapi.TokenizeGooglePayRequest, jspb.Message);
|
|
567
|
+
if (goog.DEBUG && !COMPILED) {
|
|
568
|
+
/**
|
|
569
|
+
* @public
|
|
570
|
+
* @override
|
|
571
|
+
*/
|
|
572
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.displayName = 'proto.checkoutserviceapi.TokenizeGooglePayRequest';
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* Generated by JsPbCodeGenerator.
|
|
576
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
577
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
578
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
579
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
580
|
+
* valid.
|
|
581
|
+
* @extends {jspb.Message}
|
|
582
|
+
* @constructor
|
|
583
|
+
*/
|
|
584
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse = function(opt_data) {
|
|
585
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
586
|
+
};
|
|
587
|
+
goog.inherits(proto.checkoutserviceapi.TokenizeGooglePayResponse, jspb.Message);
|
|
588
|
+
if (goog.DEBUG && !COMPILED) {
|
|
589
|
+
/**
|
|
590
|
+
* @public
|
|
591
|
+
* @override
|
|
592
|
+
*/
|
|
593
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.displayName = 'proto.checkoutserviceapi.TokenizeGooglePayResponse';
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Generated by JsPbCodeGenerator.
|
|
597
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
598
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
599
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
600
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
601
|
+
* valid.
|
|
602
|
+
* @extends {jspb.Message}
|
|
603
|
+
* @constructor
|
|
604
|
+
*/
|
|
605
|
+
proto.checkoutserviceapi.TokenPaymentRequest = function(opt_data) {
|
|
606
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
607
|
+
};
|
|
608
|
+
goog.inherits(proto.checkoutserviceapi.TokenPaymentRequest, jspb.Message);
|
|
609
|
+
if (goog.DEBUG && !COMPILED) {
|
|
610
|
+
/**
|
|
611
|
+
* @public
|
|
612
|
+
* @override
|
|
613
|
+
*/
|
|
614
|
+
proto.checkoutserviceapi.TokenPaymentRequest.displayName = 'proto.checkoutserviceapi.TokenPaymentRequest';
|
|
615
|
+
}
|
|
547
616
|
/**
|
|
548
617
|
* Generated by JsPbCodeGenerator.
|
|
549
618
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -754,6 +823,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
754
823
|
*/
|
|
755
824
|
proto.checkoutserviceapi.SettlementTransaction.displayName = 'proto.checkoutserviceapi.SettlementTransaction';
|
|
756
825
|
}
|
|
826
|
+
/**
|
|
827
|
+
* Generated by JsPbCodeGenerator.
|
|
828
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
829
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
830
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
831
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
832
|
+
* valid.
|
|
833
|
+
* @extends {jspb.Message}
|
|
834
|
+
* @constructor
|
|
835
|
+
*/
|
|
836
|
+
proto.checkoutserviceapi.PubSubPushRequest = function(opt_data) {
|
|
837
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
838
|
+
};
|
|
839
|
+
goog.inherits(proto.checkoutserviceapi.PubSubPushRequest, jspb.Message);
|
|
840
|
+
if (goog.DEBUG && !COMPILED) {
|
|
841
|
+
/**
|
|
842
|
+
* @public
|
|
843
|
+
* @override
|
|
844
|
+
*/
|
|
845
|
+
proto.checkoutserviceapi.PubSubPushRequest.displayName = 'proto.checkoutserviceapi.PubSubPushRequest';
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Generated by JsPbCodeGenerator.
|
|
849
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
850
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
851
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
852
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
853
|
+
* valid.
|
|
854
|
+
* @extends {jspb.Message}
|
|
855
|
+
* @constructor
|
|
856
|
+
*/
|
|
857
|
+
proto.checkoutserviceapi.PubSubMessage = function(opt_data) {
|
|
858
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
859
|
+
};
|
|
860
|
+
goog.inherits(proto.checkoutserviceapi.PubSubMessage, jspb.Message);
|
|
861
|
+
if (goog.DEBUG && !COMPILED) {
|
|
862
|
+
/**
|
|
863
|
+
* @public
|
|
864
|
+
* @override
|
|
865
|
+
*/
|
|
866
|
+
proto.checkoutserviceapi.PubSubMessage.displayName = 'proto.checkoutserviceapi.PubSubMessage';
|
|
867
|
+
}
|
|
757
868
|
|
|
758
869
|
|
|
759
870
|
|
|
@@ -950,7 +1061,14 @@ proto.checkoutserviceapi.CardDetails.toObject = function(includeInstance, msg) {
|
|
|
950
1061
|
expirymonth: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
951
1062
|
expiryyear: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
952
1063
|
cvv: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
953
|
-
name: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
1064
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1065
|
+
networktoken: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1066
|
+
networktokenexpirymonth: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1067
|
+
networktokenexpiryyear: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1068
|
+
tokencryptogram: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1069
|
+
eci: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1070
|
+
cardtype: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1071
|
+
isclicktopay: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
|
954
1072
|
};
|
|
955
1073
|
|
|
956
1074
|
if (includeInstance) {
|
|
@@ -1007,6 +1125,34 @@ proto.checkoutserviceapi.CardDetails.deserializeBinaryFromReader = function(msg,
|
|
|
1007
1125
|
var value = /** @type {string} */ (reader.readString());
|
|
1008
1126
|
msg.setName(value);
|
|
1009
1127
|
break;
|
|
1128
|
+
case 6:
|
|
1129
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1130
|
+
msg.setNetworktoken(value);
|
|
1131
|
+
break;
|
|
1132
|
+
case 7:
|
|
1133
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1134
|
+
msg.setNetworktokenexpirymonth(value);
|
|
1135
|
+
break;
|
|
1136
|
+
case 8:
|
|
1137
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1138
|
+
msg.setNetworktokenexpiryyear(value);
|
|
1139
|
+
break;
|
|
1140
|
+
case 9:
|
|
1141
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1142
|
+
msg.setTokencryptogram(value);
|
|
1143
|
+
break;
|
|
1144
|
+
case 10:
|
|
1145
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1146
|
+
msg.setEci(value);
|
|
1147
|
+
break;
|
|
1148
|
+
case 11:
|
|
1149
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1150
|
+
msg.setCardtype(value);
|
|
1151
|
+
break;
|
|
1152
|
+
case 12:
|
|
1153
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1154
|
+
msg.setIsclicktopay(value);
|
|
1155
|
+
break;
|
|
1010
1156
|
default:
|
|
1011
1157
|
reader.skipField();
|
|
1012
1158
|
break;
|
|
@@ -1071,6 +1217,55 @@ proto.checkoutserviceapi.CardDetails.serializeBinaryToWriter = function(message,
|
|
|
1071
1217
|
f
|
|
1072
1218
|
);
|
|
1073
1219
|
}
|
|
1220
|
+
f = message.getNetworktoken();
|
|
1221
|
+
if (f.length > 0) {
|
|
1222
|
+
writer.writeString(
|
|
1223
|
+
6,
|
|
1224
|
+
f
|
|
1225
|
+
);
|
|
1226
|
+
}
|
|
1227
|
+
f = message.getNetworktokenexpirymonth();
|
|
1228
|
+
if (f.length > 0) {
|
|
1229
|
+
writer.writeString(
|
|
1230
|
+
7,
|
|
1231
|
+
f
|
|
1232
|
+
);
|
|
1233
|
+
}
|
|
1234
|
+
f = message.getNetworktokenexpiryyear();
|
|
1235
|
+
if (f.length > 0) {
|
|
1236
|
+
writer.writeString(
|
|
1237
|
+
8,
|
|
1238
|
+
f
|
|
1239
|
+
);
|
|
1240
|
+
}
|
|
1241
|
+
f = message.getTokencryptogram();
|
|
1242
|
+
if (f.length > 0) {
|
|
1243
|
+
writer.writeString(
|
|
1244
|
+
9,
|
|
1245
|
+
f
|
|
1246
|
+
);
|
|
1247
|
+
}
|
|
1248
|
+
f = message.getEci();
|
|
1249
|
+
if (f.length > 0) {
|
|
1250
|
+
writer.writeString(
|
|
1251
|
+
10,
|
|
1252
|
+
f
|
|
1253
|
+
);
|
|
1254
|
+
}
|
|
1255
|
+
f = message.getCardtype();
|
|
1256
|
+
if (f.length > 0) {
|
|
1257
|
+
writer.writeString(
|
|
1258
|
+
11,
|
|
1259
|
+
f
|
|
1260
|
+
);
|
|
1261
|
+
}
|
|
1262
|
+
f = message.getIsclicktopay();
|
|
1263
|
+
if (f) {
|
|
1264
|
+
writer.writeBool(
|
|
1265
|
+
12,
|
|
1266
|
+
f
|
|
1267
|
+
);
|
|
1268
|
+
}
|
|
1074
1269
|
};
|
|
1075
1270
|
|
|
1076
1271
|
|
|
@@ -1164,110 +1359,236 @@ proto.checkoutserviceapi.CardDetails.prototype.setName = function(value) {
|
|
|
1164
1359
|
};
|
|
1165
1360
|
|
|
1166
1361
|
|
|
1362
|
+
/**
|
|
1363
|
+
* optional string networkToken = 6;
|
|
1364
|
+
* @return {string}
|
|
1365
|
+
*/
|
|
1366
|
+
proto.checkoutserviceapi.CardDetails.prototype.getNetworktoken = function() {
|
|
1367
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1368
|
+
};
|
|
1167
1369
|
|
|
1168
1370
|
|
|
1169
|
-
|
|
1170
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1171
1371
|
/**
|
|
1172
|
-
*
|
|
1173
|
-
*
|
|
1174
|
-
* Optional fields that are not set will be set to undefined.
|
|
1175
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1176
|
-
* For the list of reserved names please see:
|
|
1177
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1178
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1179
|
-
* JSPB instance for transitional soy proto support:
|
|
1180
|
-
* http://goto/soy-param-migration
|
|
1181
|
-
* @return {!Object}
|
|
1372
|
+
* @param {string} value
|
|
1373
|
+
* @return {!proto.checkoutserviceapi.CardDetails} returns this
|
|
1182
1374
|
*/
|
|
1183
|
-
proto.checkoutserviceapi.
|
|
1184
|
-
return
|
|
1375
|
+
proto.checkoutserviceapi.CardDetails.prototype.setNetworktoken = function(value) {
|
|
1376
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1185
1377
|
};
|
|
1186
1378
|
|
|
1187
1379
|
|
|
1188
1380
|
/**
|
|
1189
|
-
*
|
|
1190
|
-
* @
|
|
1191
|
-
* the JSPB instance for transitional soy proto support:
|
|
1192
|
-
* http://goto/soy-param-migration
|
|
1193
|
-
* @param {!proto.checkoutserviceapi.WalletToken} msg The msg instance to transform.
|
|
1194
|
-
* @return {!Object}
|
|
1195
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1381
|
+
* optional string networkTokenExpiryMonth = 7;
|
|
1382
|
+
* @return {string}
|
|
1196
1383
|
*/
|
|
1197
|
-
proto.checkoutserviceapi.
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
type: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1201
|
-
};
|
|
1384
|
+
proto.checkoutserviceapi.CardDetails.prototype.getNetworktokenexpirymonth = function() {
|
|
1385
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1386
|
+
};
|
|
1202
1387
|
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* @param {string} value
|
|
1391
|
+
* @return {!proto.checkoutserviceapi.CardDetails} returns this
|
|
1392
|
+
*/
|
|
1393
|
+
proto.checkoutserviceapi.CardDetails.prototype.setNetworktokenexpirymonth = function(value) {
|
|
1394
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1207
1395
|
};
|
|
1208
|
-
}
|
|
1209
1396
|
|
|
1210
1397
|
|
|
1211
1398
|
/**
|
|
1212
|
-
*
|
|
1213
|
-
* @
|
|
1214
|
-
* @return {!proto.checkoutserviceapi.WalletToken}
|
|
1399
|
+
* optional string networkTokenExpiryYear = 8;
|
|
1400
|
+
* @return {string}
|
|
1215
1401
|
*/
|
|
1216
|
-
proto.checkoutserviceapi.
|
|
1217
|
-
|
|
1218
|
-
var msg = new proto.checkoutserviceapi.WalletToken;
|
|
1219
|
-
return proto.checkoutserviceapi.WalletToken.deserializeBinaryFromReader(msg, reader);
|
|
1402
|
+
proto.checkoutserviceapi.CardDetails.prototype.getNetworktokenexpiryyear = function() {
|
|
1403
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1220
1404
|
};
|
|
1221
1405
|
|
|
1222
1406
|
|
|
1223
1407
|
/**
|
|
1224
|
-
*
|
|
1225
|
-
*
|
|
1226
|
-
* @param {!proto.checkoutserviceapi.WalletToken} msg The message object to deserialize into.
|
|
1227
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1228
|
-
* @return {!proto.checkoutserviceapi.WalletToken}
|
|
1408
|
+
* @param {string} value
|
|
1409
|
+
* @return {!proto.checkoutserviceapi.CardDetails} returns this
|
|
1229
1410
|
*/
|
|
1230
|
-
proto.checkoutserviceapi.
|
|
1231
|
-
|
|
1232
|
-
if (reader.isEndGroup()) {
|
|
1233
|
-
break;
|
|
1234
|
-
}
|
|
1235
|
-
var field = reader.getFieldNumber();
|
|
1236
|
-
switch (field) {
|
|
1237
|
-
case 1:
|
|
1238
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1239
|
-
msg.setToken(value);
|
|
1240
|
-
break;
|
|
1241
|
-
case 2:
|
|
1242
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1243
|
-
msg.setType(value);
|
|
1244
|
-
break;
|
|
1245
|
-
default:
|
|
1246
|
-
reader.skipField();
|
|
1247
|
-
break;
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
return msg;
|
|
1411
|
+
proto.checkoutserviceapi.CardDetails.prototype.setNetworktokenexpiryyear = function(value) {
|
|
1412
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1251
1413
|
};
|
|
1252
1414
|
|
|
1253
1415
|
|
|
1254
1416
|
/**
|
|
1255
|
-
*
|
|
1256
|
-
* @return {
|
|
1417
|
+
* optional string tokenCryptogram = 9;
|
|
1418
|
+
* @return {string}
|
|
1257
1419
|
*/
|
|
1258
|
-
proto.checkoutserviceapi.
|
|
1259
|
-
|
|
1260
|
-
proto.checkoutserviceapi.WalletToken.serializeBinaryToWriter(this, writer);
|
|
1261
|
-
return writer.getResultBuffer();
|
|
1420
|
+
proto.checkoutserviceapi.CardDetails.prototype.getTokencryptogram = function() {
|
|
1421
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1262
1422
|
};
|
|
1263
1423
|
|
|
1264
1424
|
|
|
1265
1425
|
/**
|
|
1266
|
-
*
|
|
1267
|
-
*
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1426
|
+
* @param {string} value
|
|
1427
|
+
* @return {!proto.checkoutserviceapi.CardDetails} returns this
|
|
1428
|
+
*/
|
|
1429
|
+
proto.checkoutserviceapi.CardDetails.prototype.setTokencryptogram = function(value) {
|
|
1430
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* optional string eci = 10;
|
|
1436
|
+
* @return {string}
|
|
1437
|
+
*/
|
|
1438
|
+
proto.checkoutserviceapi.CardDetails.prototype.getEci = function() {
|
|
1439
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* @param {string} value
|
|
1445
|
+
* @return {!proto.checkoutserviceapi.CardDetails} returns this
|
|
1446
|
+
*/
|
|
1447
|
+
proto.checkoutserviceapi.CardDetails.prototype.setEci = function(value) {
|
|
1448
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* optional string cardType = 11;
|
|
1454
|
+
* @return {string}
|
|
1455
|
+
*/
|
|
1456
|
+
proto.checkoutserviceapi.CardDetails.prototype.getCardtype = function() {
|
|
1457
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* @param {string} value
|
|
1463
|
+
* @return {!proto.checkoutserviceapi.CardDetails} returns this
|
|
1464
|
+
*/
|
|
1465
|
+
proto.checkoutserviceapi.CardDetails.prototype.setCardtype = function(value) {
|
|
1466
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1467
|
+
};
|
|
1468
|
+
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* optional bool isClickToPay = 12;
|
|
1472
|
+
* @return {boolean}
|
|
1473
|
+
*/
|
|
1474
|
+
proto.checkoutserviceapi.CardDetails.prototype.getIsclicktopay = function() {
|
|
1475
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
1476
|
+
};
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* @param {boolean} value
|
|
1481
|
+
* @return {!proto.checkoutserviceapi.CardDetails} returns this
|
|
1482
|
+
*/
|
|
1483
|
+
proto.checkoutserviceapi.CardDetails.prototype.setIsclicktopay = function(value) {
|
|
1484
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1492
|
+
/**
|
|
1493
|
+
* Creates an object representation of this proto.
|
|
1494
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1495
|
+
* Optional fields that are not set will be set to undefined.
|
|
1496
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1497
|
+
* For the list of reserved names please see:
|
|
1498
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1499
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1500
|
+
* JSPB instance for transitional soy proto support:
|
|
1501
|
+
* http://goto/soy-param-migration
|
|
1502
|
+
* @return {!Object}
|
|
1503
|
+
*/
|
|
1504
|
+
proto.checkoutserviceapi.WalletToken.prototype.toObject = function(opt_includeInstance) {
|
|
1505
|
+
return proto.checkoutserviceapi.WalletToken.toObject(opt_includeInstance, this);
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
/**
|
|
1510
|
+
* Static version of the {@see toObject} method.
|
|
1511
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1512
|
+
* the JSPB instance for transitional soy proto support:
|
|
1513
|
+
* http://goto/soy-param-migration
|
|
1514
|
+
* @param {!proto.checkoutserviceapi.WalletToken} msg The msg instance to transform.
|
|
1515
|
+
* @return {!Object}
|
|
1516
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1517
|
+
*/
|
|
1518
|
+
proto.checkoutserviceapi.WalletToken.toObject = function(includeInstance, msg) {
|
|
1519
|
+
var f, obj = {
|
|
1520
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1521
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
if (includeInstance) {
|
|
1525
|
+
obj.$jspbMessageInstance = msg;
|
|
1526
|
+
}
|
|
1527
|
+
return obj;
|
|
1528
|
+
};
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1534
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1535
|
+
* @return {!proto.checkoutserviceapi.WalletToken}
|
|
1536
|
+
*/
|
|
1537
|
+
proto.checkoutserviceapi.WalletToken.deserializeBinary = function(bytes) {
|
|
1538
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1539
|
+
var msg = new proto.checkoutserviceapi.WalletToken;
|
|
1540
|
+
return proto.checkoutserviceapi.WalletToken.deserializeBinaryFromReader(msg, reader);
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1546
|
+
* given reader into the given message object.
|
|
1547
|
+
* @param {!proto.checkoutserviceapi.WalletToken} msg The message object to deserialize into.
|
|
1548
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1549
|
+
* @return {!proto.checkoutserviceapi.WalletToken}
|
|
1550
|
+
*/
|
|
1551
|
+
proto.checkoutserviceapi.WalletToken.deserializeBinaryFromReader = function(msg, reader) {
|
|
1552
|
+
while (reader.nextField()) {
|
|
1553
|
+
if (reader.isEndGroup()) {
|
|
1554
|
+
break;
|
|
1555
|
+
}
|
|
1556
|
+
var field = reader.getFieldNumber();
|
|
1557
|
+
switch (field) {
|
|
1558
|
+
case 1:
|
|
1559
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1560
|
+
msg.setToken(value);
|
|
1561
|
+
break;
|
|
1562
|
+
case 2:
|
|
1563
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1564
|
+
msg.setType(value);
|
|
1565
|
+
break;
|
|
1566
|
+
default:
|
|
1567
|
+
reader.skipField();
|
|
1568
|
+
break;
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
return msg;
|
|
1572
|
+
};
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1577
|
+
* @return {!Uint8Array}
|
|
1578
|
+
*/
|
|
1579
|
+
proto.checkoutserviceapi.WalletToken.prototype.serializeBinary = function() {
|
|
1580
|
+
var writer = new jspb.BinaryWriter();
|
|
1581
|
+
proto.checkoutserviceapi.WalletToken.serializeBinaryToWriter(this, writer);
|
|
1582
|
+
return writer.getResultBuffer();
|
|
1583
|
+
};
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1588
|
+
* format), writing to the given BinaryWriter.
|
|
1589
|
+
* @param {!proto.checkoutserviceapi.WalletToken} message
|
|
1590
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1591
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1271
1592
|
*/
|
|
1272
1593
|
proto.checkoutserviceapi.WalletToken.serializeBinaryToWriter = function(message, writer) {
|
|
1273
1594
|
var f = undefined;
|
|
@@ -2386,7 +2707,9 @@ proto.checkoutserviceapi.PaymentResponse.toObject = function(includeInstance, ms
|
|
|
2386
2707
|
gatewaybankresponsecode: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
2387
2708
|
gatewayresponsemessage: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2388
2709
|
actionurl: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2389
|
-
threedsrequired: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
|
|
2710
|
+
threedsrequired: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
2711
|
+
networkauthorizationcode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
2712
|
+
networktransactionidentifier: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
2390
2713
|
};
|
|
2391
2714
|
|
|
2392
2715
|
if (includeInstance) {
|
|
@@ -2487,6 +2810,14 @@ proto.checkoutserviceapi.PaymentResponse.deserializeBinaryFromReader = function(
|
|
|
2487
2810
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2488
2811
|
msg.setThreedsrequired(value);
|
|
2489
2812
|
break;
|
|
2813
|
+
case 17:
|
|
2814
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2815
|
+
msg.setNetworkauthorizationcode(value);
|
|
2816
|
+
break;
|
|
2817
|
+
case 18:
|
|
2818
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2819
|
+
msg.setNetworktransactionidentifier(value);
|
|
2820
|
+
break;
|
|
2490
2821
|
default:
|
|
2491
2822
|
reader.skipField();
|
|
2492
2823
|
break;
|
|
@@ -2625,6 +2956,20 @@ proto.checkoutserviceapi.PaymentResponse.serializeBinaryToWriter = function(mess
|
|
|
2625
2956
|
f
|
|
2626
2957
|
);
|
|
2627
2958
|
}
|
|
2959
|
+
f = message.getNetworkauthorizationcode();
|
|
2960
|
+
if (f.length > 0) {
|
|
2961
|
+
writer.writeString(
|
|
2962
|
+
17,
|
|
2963
|
+
f
|
|
2964
|
+
);
|
|
2965
|
+
}
|
|
2966
|
+
f = message.getNetworktransactionidentifier();
|
|
2967
|
+
if (f.length > 0) {
|
|
2968
|
+
writer.writeString(
|
|
2969
|
+
18,
|
|
2970
|
+
f
|
|
2971
|
+
);
|
|
2972
|
+
}
|
|
2628
2973
|
};
|
|
2629
2974
|
|
|
2630
2975
|
|
|
@@ -2974,6 +3319,42 @@ proto.checkoutserviceapi.PaymentResponse.prototype.setThreedsrequired = function
|
|
|
2974
3319
|
};
|
|
2975
3320
|
|
|
2976
3321
|
|
|
3322
|
+
/**
|
|
3323
|
+
* optional string networkAuthorizationCode = 17;
|
|
3324
|
+
* @return {string}
|
|
3325
|
+
*/
|
|
3326
|
+
proto.checkoutserviceapi.PaymentResponse.prototype.getNetworkauthorizationcode = function() {
|
|
3327
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
3328
|
+
};
|
|
3329
|
+
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* @param {string} value
|
|
3333
|
+
* @return {!proto.checkoutserviceapi.PaymentResponse} returns this
|
|
3334
|
+
*/
|
|
3335
|
+
proto.checkoutserviceapi.PaymentResponse.prototype.setNetworkauthorizationcode = function(value) {
|
|
3336
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
3337
|
+
};
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
/**
|
|
3341
|
+
* optional string networkTransactionIdentifier = 18;
|
|
3342
|
+
* @return {string}
|
|
3343
|
+
*/
|
|
3344
|
+
proto.checkoutserviceapi.PaymentResponse.prototype.getNetworktransactionidentifier = function() {
|
|
3345
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
3346
|
+
};
|
|
3347
|
+
|
|
3348
|
+
|
|
3349
|
+
/**
|
|
3350
|
+
* @param {string} value
|
|
3351
|
+
* @return {!proto.checkoutserviceapi.PaymentResponse} returns this
|
|
3352
|
+
*/
|
|
3353
|
+
proto.checkoutserviceapi.PaymentResponse.prototype.setNetworktransactionidentifier = function(value) {
|
|
3354
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
3355
|
+
};
|
|
3356
|
+
|
|
3357
|
+
|
|
2977
3358
|
|
|
2978
3359
|
|
|
2979
3360
|
|
|
@@ -7999,8 +8380,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7999
8380
|
* http://goto/soy-param-migration
|
|
8000
8381
|
* @return {!Object}
|
|
8001
8382
|
*/
|
|
8002
|
-
proto.checkoutserviceapi.
|
|
8003
|
-
return proto.checkoutserviceapi.
|
|
8383
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8384
|
+
return proto.checkoutserviceapi.TokenizeGooglePayRequest.toObject(opt_includeInstance, this);
|
|
8004
8385
|
};
|
|
8005
8386
|
|
|
8006
8387
|
|
|
@@ -8009,14 +8390,13 @@ proto.checkoutserviceapi.CardMetadataRequest.prototype.toObject = function(opt_i
|
|
|
8009
8390
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8010
8391
|
* the JSPB instance for transitional soy proto support:
|
|
8011
8392
|
* http://goto/soy-param-migration
|
|
8012
|
-
* @param {!proto.checkoutserviceapi.
|
|
8393
|
+
* @param {!proto.checkoutserviceapi.TokenizeGooglePayRequest} msg The msg instance to transform.
|
|
8013
8394
|
* @return {!Object}
|
|
8014
8395
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8015
8396
|
*/
|
|
8016
|
-
proto.checkoutserviceapi.
|
|
8397
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.toObject = function(includeInstance, msg) {
|
|
8017
8398
|
var f, obj = {
|
|
8018
|
-
|
|
8019
|
-
format: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8399
|
+
paymentdatajson: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8020
8400
|
};
|
|
8021
8401
|
|
|
8022
8402
|
if (includeInstance) {
|
|
@@ -8030,23 +8410,23 @@ proto.checkoutserviceapi.CardMetadataRequest.toObject = function(includeInstance
|
|
|
8030
8410
|
/**
|
|
8031
8411
|
* Deserializes binary data (in protobuf wire format).
|
|
8032
8412
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8033
|
-
* @return {!proto.checkoutserviceapi.
|
|
8413
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayRequest}
|
|
8034
8414
|
*/
|
|
8035
|
-
proto.checkoutserviceapi.
|
|
8415
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.deserializeBinary = function(bytes) {
|
|
8036
8416
|
var reader = new jspb.BinaryReader(bytes);
|
|
8037
|
-
var msg = new proto.checkoutserviceapi.
|
|
8038
|
-
return proto.checkoutserviceapi.
|
|
8417
|
+
var msg = new proto.checkoutserviceapi.TokenizeGooglePayRequest;
|
|
8418
|
+
return proto.checkoutserviceapi.TokenizeGooglePayRequest.deserializeBinaryFromReader(msg, reader);
|
|
8039
8419
|
};
|
|
8040
8420
|
|
|
8041
8421
|
|
|
8042
8422
|
/**
|
|
8043
8423
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8044
8424
|
* given reader into the given message object.
|
|
8045
|
-
* @param {!proto.checkoutserviceapi.
|
|
8425
|
+
* @param {!proto.checkoutserviceapi.TokenizeGooglePayRequest} msg The message object to deserialize into.
|
|
8046
8426
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8047
|
-
* @return {!proto.checkoutserviceapi.
|
|
8427
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayRequest}
|
|
8048
8428
|
*/
|
|
8049
|
-
proto.checkoutserviceapi.
|
|
8429
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8050
8430
|
while (reader.nextField()) {
|
|
8051
8431
|
if (reader.isEndGroup()) {
|
|
8052
8432
|
break;
|
|
@@ -8055,11 +8435,7 @@ proto.checkoutserviceapi.CardMetadataRequest.deserializeBinaryFromReader = funct
|
|
|
8055
8435
|
switch (field) {
|
|
8056
8436
|
case 1:
|
|
8057
8437
|
var value = /** @type {string} */ (reader.readString());
|
|
8058
|
-
msg.
|
|
8059
|
-
break;
|
|
8060
|
-
case 2:
|
|
8061
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8062
|
-
msg.setFormat(value);
|
|
8438
|
+
msg.setPaymentdatajson(value);
|
|
8063
8439
|
break;
|
|
8064
8440
|
default:
|
|
8065
8441
|
reader.skipField();
|
|
@@ -8074,9 +8450,9 @@ proto.checkoutserviceapi.CardMetadataRequest.deserializeBinaryFromReader = funct
|
|
|
8074
8450
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8075
8451
|
* @return {!Uint8Array}
|
|
8076
8452
|
*/
|
|
8077
|
-
proto.checkoutserviceapi.
|
|
8453
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.prototype.serializeBinary = function() {
|
|
8078
8454
|
var writer = new jspb.BinaryWriter();
|
|
8079
|
-
proto.checkoutserviceapi.
|
|
8455
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.serializeBinaryToWriter(this, writer);
|
|
8080
8456
|
return writer.getResultBuffer();
|
|
8081
8457
|
};
|
|
8082
8458
|
|
|
@@ -8084,65 +8460,40 @@ proto.checkoutserviceapi.CardMetadataRequest.prototype.serializeBinary = functio
|
|
|
8084
8460
|
/**
|
|
8085
8461
|
* Serializes the given message to binary data (in protobuf wire
|
|
8086
8462
|
* format), writing to the given BinaryWriter.
|
|
8087
|
-
* @param {!proto.checkoutserviceapi.
|
|
8463
|
+
* @param {!proto.checkoutserviceapi.TokenizeGooglePayRequest} message
|
|
8088
8464
|
* @param {!jspb.BinaryWriter} writer
|
|
8089
8465
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8090
8466
|
*/
|
|
8091
|
-
proto.checkoutserviceapi.
|
|
8467
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8092
8468
|
var f = undefined;
|
|
8093
|
-
f = message.
|
|
8469
|
+
f = message.getPaymentdatajson();
|
|
8094
8470
|
if (f.length > 0) {
|
|
8095
8471
|
writer.writeString(
|
|
8096
8472
|
1,
|
|
8097
8473
|
f
|
|
8098
8474
|
);
|
|
8099
8475
|
}
|
|
8100
|
-
f = message.getFormat();
|
|
8101
|
-
if (f.length > 0) {
|
|
8102
|
-
writer.writeString(
|
|
8103
|
-
2,
|
|
8104
|
-
f
|
|
8105
|
-
);
|
|
8106
|
-
}
|
|
8107
8476
|
};
|
|
8108
8477
|
|
|
8109
8478
|
|
|
8110
8479
|
/**
|
|
8111
|
-
* optional string
|
|
8480
|
+
* optional string paymentDataJson = 1;
|
|
8112
8481
|
* @return {string}
|
|
8113
8482
|
*/
|
|
8114
|
-
proto.checkoutserviceapi.
|
|
8483
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.prototype.getPaymentdatajson = function() {
|
|
8115
8484
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8116
8485
|
};
|
|
8117
8486
|
|
|
8118
8487
|
|
|
8119
8488
|
/**
|
|
8120
8489
|
* @param {string} value
|
|
8121
|
-
* @return {!proto.checkoutserviceapi.
|
|
8490
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayRequest} returns this
|
|
8122
8491
|
*/
|
|
8123
|
-
proto.checkoutserviceapi.
|
|
8492
|
+
proto.checkoutserviceapi.TokenizeGooglePayRequest.prototype.setPaymentdatajson = function(value) {
|
|
8124
8493
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8125
8494
|
};
|
|
8126
8495
|
|
|
8127
8496
|
|
|
8128
|
-
/**
|
|
8129
|
-
* optional string format = 2;
|
|
8130
|
-
* @return {string}
|
|
8131
|
-
*/
|
|
8132
|
-
proto.checkoutserviceapi.CardMetadataRequest.prototype.getFormat = function() {
|
|
8133
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8134
|
-
};
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
/**
|
|
8138
|
-
* @param {string} value
|
|
8139
|
-
* @return {!proto.checkoutserviceapi.CardMetadataRequest} returns this
|
|
8140
|
-
*/
|
|
8141
|
-
proto.checkoutserviceapi.CardMetadataRequest.prototype.setFormat = function(value) {
|
|
8142
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8143
|
-
};
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
8497
|
|
|
8147
8498
|
|
|
8148
8499
|
|
|
@@ -8159,8 +8510,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8159
8510
|
* http://goto/soy-param-migration
|
|
8160
8511
|
* @return {!Object}
|
|
8161
8512
|
*/
|
|
8162
|
-
proto.checkoutserviceapi.
|
|
8163
|
-
return proto.checkoutserviceapi.
|
|
8513
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8514
|
+
return proto.checkoutserviceapi.TokenizeGooglePayResponse.toObject(opt_includeInstance, this);
|
|
8164
8515
|
};
|
|
8165
8516
|
|
|
8166
8517
|
|
|
@@ -8169,22 +8520,28 @@ proto.checkoutserviceapi.CardMetadataResponse.prototype.toObject = function(opt_
|
|
|
8169
8520
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8170
8521
|
* the JSPB instance for transitional soy proto support:
|
|
8171
8522
|
* http://goto/soy-param-migration
|
|
8172
|
-
* @param {!proto.checkoutserviceapi.
|
|
8523
|
+
* @param {!proto.checkoutserviceapi.TokenizeGooglePayResponse} msg The msg instance to transform.
|
|
8173
8524
|
* @return {!Object}
|
|
8174
8525
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8175
8526
|
*/
|
|
8176
|
-
proto.checkoutserviceapi.
|
|
8527
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.toObject = function(includeInstance, msg) {
|
|
8177
8528
|
var f, obj = {
|
|
8178
8529
|
responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8530
|
+
token: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8531
|
+
expireson: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8532
|
+
expirymonth: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
8533
|
+
expiryyear: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
8534
|
+
scheme: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
8535
|
+
last4: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
8536
|
+
bin: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
8537
|
+
cardtype: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
8538
|
+
cardcategory: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
8539
|
+
issuer: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
8540
|
+
issuercountry: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
8541
|
+
productid: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
8542
|
+
producttype: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
8543
|
+
tokenformat: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
8544
|
+
name: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
8188
8545
|
};
|
|
8189
8546
|
|
|
8190
8547
|
if (includeInstance) {
|
|
@@ -8198,23 +8555,23 @@ proto.checkoutserviceapi.CardMetadataResponse.toObject = function(includeInstanc
|
|
|
8198
8555
|
/**
|
|
8199
8556
|
* Deserializes binary data (in protobuf wire format).
|
|
8200
8557
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8201
|
-
* @return {!proto.checkoutserviceapi.
|
|
8558
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse}
|
|
8202
8559
|
*/
|
|
8203
|
-
proto.checkoutserviceapi.
|
|
8560
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.deserializeBinary = function(bytes) {
|
|
8204
8561
|
var reader = new jspb.BinaryReader(bytes);
|
|
8205
|
-
var msg = new proto.checkoutserviceapi.
|
|
8206
|
-
return proto.checkoutserviceapi.
|
|
8562
|
+
var msg = new proto.checkoutserviceapi.TokenizeGooglePayResponse;
|
|
8563
|
+
return proto.checkoutserviceapi.TokenizeGooglePayResponse.deserializeBinaryFromReader(msg, reader);
|
|
8207
8564
|
};
|
|
8208
8565
|
|
|
8209
8566
|
|
|
8210
8567
|
/**
|
|
8211
8568
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8212
8569
|
* given reader into the given message object.
|
|
8213
|
-
* @param {!proto.checkoutserviceapi.
|
|
8570
|
+
* @param {!proto.checkoutserviceapi.TokenizeGooglePayResponse} msg The message object to deserialize into.
|
|
8214
8571
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8215
|
-
* @return {!proto.checkoutserviceapi.
|
|
8572
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse}
|
|
8216
8573
|
*/
|
|
8217
|
-
proto.checkoutserviceapi.
|
|
8574
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8218
8575
|
while (reader.nextField()) {
|
|
8219
8576
|
if (reader.isEndGroup()) {
|
|
8220
8577
|
break;
|
|
@@ -8228,40 +8585,63 @@ proto.checkoutserviceapi.CardMetadataResponse.deserializeBinaryFromReader = func
|
|
|
8228
8585
|
break;
|
|
8229
8586
|
case 2:
|
|
8230
8587
|
var value = /** @type {string} */ (reader.readString());
|
|
8231
|
-
msg.
|
|
8588
|
+
msg.setToken(value);
|
|
8232
8589
|
break;
|
|
8233
8590
|
case 3:
|
|
8234
8591
|
var value = /** @type {string} */ (reader.readString());
|
|
8235
|
-
msg.
|
|
8592
|
+
msg.setExpireson(value);
|
|
8236
8593
|
break;
|
|
8237
8594
|
case 4:
|
|
8238
|
-
var value = /** @type {
|
|
8239
|
-
msg.
|
|
8595
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8596
|
+
msg.setExpirymonth(value);
|
|
8240
8597
|
break;
|
|
8241
8598
|
case 5:
|
|
8242
|
-
var value = /** @type {
|
|
8243
|
-
msg.
|
|
8599
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8600
|
+
msg.setExpiryyear(value);
|
|
8244
8601
|
break;
|
|
8245
8602
|
case 6:
|
|
8246
8603
|
var value = /** @type {string} */ (reader.readString());
|
|
8247
|
-
msg.
|
|
8604
|
+
msg.setScheme(value);
|
|
8248
8605
|
break;
|
|
8249
8606
|
case 7:
|
|
8250
8607
|
var value = /** @type {string} */ (reader.readString());
|
|
8251
|
-
msg.
|
|
8608
|
+
msg.setLast4(value);
|
|
8252
8609
|
break;
|
|
8253
8610
|
case 8:
|
|
8254
|
-
var value =
|
|
8255
|
-
|
|
8256
|
-
msg.setCardPayouts(value);
|
|
8611
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8612
|
+
msg.setBin(value);
|
|
8257
8613
|
break;
|
|
8258
8614
|
case 9:
|
|
8259
8615
|
var value = /** @type {string} */ (reader.readString());
|
|
8260
|
-
msg.
|
|
8616
|
+
msg.setCardtype(value);
|
|
8261
8617
|
break;
|
|
8262
8618
|
case 10:
|
|
8263
8619
|
var value = /** @type {string} */ (reader.readString());
|
|
8264
|
-
msg.
|
|
8620
|
+
msg.setCardcategory(value);
|
|
8621
|
+
break;
|
|
8622
|
+
case 11:
|
|
8623
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8624
|
+
msg.setIssuer(value);
|
|
8625
|
+
break;
|
|
8626
|
+
case 12:
|
|
8627
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8628
|
+
msg.setIssuercountry(value);
|
|
8629
|
+
break;
|
|
8630
|
+
case 13:
|
|
8631
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8632
|
+
msg.setProductid(value);
|
|
8633
|
+
break;
|
|
8634
|
+
case 14:
|
|
8635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8636
|
+
msg.setProducttype(value);
|
|
8637
|
+
break;
|
|
8638
|
+
case 15:
|
|
8639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8640
|
+
msg.setTokenformat(value);
|
|
8641
|
+
break;
|
|
8642
|
+
case 16:
|
|
8643
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8644
|
+
msg.setName(value);
|
|
8265
8645
|
break;
|
|
8266
8646
|
default:
|
|
8267
8647
|
reader.skipField();
|
|
@@ -8276,9 +8656,9 @@ proto.checkoutserviceapi.CardMetadataResponse.deserializeBinaryFromReader = func
|
|
|
8276
8656
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8277
8657
|
* @return {!Uint8Array}
|
|
8278
8658
|
*/
|
|
8279
|
-
proto.checkoutserviceapi.
|
|
8659
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.serializeBinary = function() {
|
|
8280
8660
|
var writer = new jspb.BinaryWriter();
|
|
8281
|
-
proto.checkoutserviceapi.
|
|
8661
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.serializeBinaryToWriter(this, writer);
|
|
8282
8662
|
return writer.getResultBuffer();
|
|
8283
8663
|
};
|
|
8284
8664
|
|
|
@@ -8286,11 +8666,11 @@ proto.checkoutserviceapi.CardMetadataResponse.prototype.serializeBinary = functi
|
|
|
8286
8666
|
/**
|
|
8287
8667
|
* Serializes the given message to binary data (in protobuf wire
|
|
8288
8668
|
* format), writing to the given BinaryWriter.
|
|
8289
|
-
* @param {!proto.checkoutserviceapi.
|
|
8669
|
+
* @param {!proto.checkoutserviceapi.TokenizeGooglePayResponse} message
|
|
8290
8670
|
* @param {!jspb.BinaryWriter} writer
|
|
8291
8671
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8292
8672
|
*/
|
|
8293
|
-
proto.checkoutserviceapi.
|
|
8673
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8294
8674
|
var f = undefined;
|
|
8295
8675
|
f = message.getResponsecode();
|
|
8296
8676
|
if (f != null) {
|
|
@@ -8300,70 +8680,111 @@ proto.checkoutserviceapi.CardMetadataResponse.serializeBinaryToWriter = function
|
|
|
8300
8680
|
proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
|
|
8301
8681
|
);
|
|
8302
8682
|
}
|
|
8303
|
-
f = message.
|
|
8683
|
+
f = message.getToken();
|
|
8304
8684
|
if (f.length > 0) {
|
|
8305
8685
|
writer.writeString(
|
|
8306
8686
|
2,
|
|
8307
8687
|
f
|
|
8308
8688
|
);
|
|
8309
8689
|
}
|
|
8310
|
-
f = message.
|
|
8690
|
+
f = message.getExpireson();
|
|
8311
8691
|
if (f.length > 0) {
|
|
8312
8692
|
writer.writeString(
|
|
8313
8693
|
3,
|
|
8314
8694
|
f
|
|
8315
8695
|
);
|
|
8316
8696
|
}
|
|
8317
|
-
f = message.
|
|
8318
|
-
if (f
|
|
8319
|
-
writer.
|
|
8697
|
+
f = message.getExpirymonth();
|
|
8698
|
+
if (f !== 0) {
|
|
8699
|
+
writer.writeInt32(
|
|
8320
8700
|
4,
|
|
8321
8701
|
f
|
|
8322
8702
|
);
|
|
8323
8703
|
}
|
|
8324
|
-
f = message.
|
|
8325
|
-
if (f
|
|
8326
|
-
writer.
|
|
8704
|
+
f = message.getExpiryyear();
|
|
8705
|
+
if (f !== 0) {
|
|
8706
|
+
writer.writeInt32(
|
|
8327
8707
|
5,
|
|
8328
8708
|
f
|
|
8329
8709
|
);
|
|
8330
8710
|
}
|
|
8331
|
-
f = message.
|
|
8711
|
+
f = message.getScheme();
|
|
8332
8712
|
if (f.length > 0) {
|
|
8333
8713
|
writer.writeString(
|
|
8334
8714
|
6,
|
|
8335
8715
|
f
|
|
8336
8716
|
);
|
|
8337
8717
|
}
|
|
8338
|
-
f = message.
|
|
8718
|
+
f = message.getLast4();
|
|
8339
8719
|
if (f.length > 0) {
|
|
8340
8720
|
writer.writeString(
|
|
8341
8721
|
7,
|
|
8342
8722
|
f
|
|
8343
8723
|
);
|
|
8344
8724
|
}
|
|
8345
|
-
f = message.
|
|
8346
|
-
if (f
|
|
8347
|
-
writer.
|
|
8725
|
+
f = message.getBin();
|
|
8726
|
+
if (f.length > 0) {
|
|
8727
|
+
writer.writeString(
|
|
8348
8728
|
8,
|
|
8349
|
-
f
|
|
8350
|
-
proto.checkoutserviceapi.CardPayouts.serializeBinaryToWriter
|
|
8729
|
+
f
|
|
8351
8730
|
);
|
|
8352
8731
|
}
|
|
8353
|
-
f = message.
|
|
8732
|
+
f = message.getCardtype();
|
|
8354
8733
|
if (f.length > 0) {
|
|
8355
8734
|
writer.writeString(
|
|
8356
8735
|
9,
|
|
8357
8736
|
f
|
|
8358
8737
|
);
|
|
8359
8738
|
}
|
|
8360
|
-
f = message.
|
|
8739
|
+
f = message.getCardcategory();
|
|
8361
8740
|
if (f.length > 0) {
|
|
8362
8741
|
writer.writeString(
|
|
8363
8742
|
10,
|
|
8364
8743
|
f
|
|
8365
8744
|
);
|
|
8366
8745
|
}
|
|
8746
|
+
f = message.getIssuer();
|
|
8747
|
+
if (f.length > 0) {
|
|
8748
|
+
writer.writeString(
|
|
8749
|
+
11,
|
|
8750
|
+
f
|
|
8751
|
+
);
|
|
8752
|
+
}
|
|
8753
|
+
f = message.getIssuercountry();
|
|
8754
|
+
if (f.length > 0) {
|
|
8755
|
+
writer.writeString(
|
|
8756
|
+
12,
|
|
8757
|
+
f
|
|
8758
|
+
);
|
|
8759
|
+
}
|
|
8760
|
+
f = message.getProductid();
|
|
8761
|
+
if (f.length > 0) {
|
|
8762
|
+
writer.writeString(
|
|
8763
|
+
13,
|
|
8764
|
+
f
|
|
8765
|
+
);
|
|
8766
|
+
}
|
|
8767
|
+
f = message.getProducttype();
|
|
8768
|
+
if (f.length > 0) {
|
|
8769
|
+
writer.writeString(
|
|
8770
|
+
14,
|
|
8771
|
+
f
|
|
8772
|
+
);
|
|
8773
|
+
}
|
|
8774
|
+
f = message.getTokenformat();
|
|
8775
|
+
if (f.length > 0) {
|
|
8776
|
+
writer.writeString(
|
|
8777
|
+
15,
|
|
8778
|
+
f
|
|
8779
|
+
);
|
|
8780
|
+
}
|
|
8781
|
+
f = message.getName();
|
|
8782
|
+
if (f.length > 0) {
|
|
8783
|
+
writer.writeString(
|
|
8784
|
+
16,
|
|
8785
|
+
f
|
|
8786
|
+
);
|
|
8787
|
+
}
|
|
8367
8788
|
};
|
|
8368
8789
|
|
|
8369
8790
|
|
|
@@ -8371,7 +8792,7 @@ proto.checkoutserviceapi.CardMetadataResponse.serializeBinaryToWriter = function
|
|
|
8371
8792
|
* optional ResponseCode responseCode = 1;
|
|
8372
8793
|
* @return {?proto.checkoutserviceapi.ResponseCode}
|
|
8373
8794
|
*/
|
|
8374
|
-
proto.checkoutserviceapi.
|
|
8795
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getResponsecode = function() {
|
|
8375
8796
|
return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
|
|
8376
8797
|
jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 1));
|
|
8377
8798
|
};
|
|
@@ -8379,18 +8800,18 @@ proto.checkoutserviceapi.CardMetadataResponse.prototype.getResponsecode = functi
|
|
|
8379
8800
|
|
|
8380
8801
|
/**
|
|
8381
8802
|
* @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
|
|
8382
|
-
* @return {!proto.checkoutserviceapi.
|
|
8803
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8383
8804
|
*/
|
|
8384
|
-
proto.checkoutserviceapi.
|
|
8805
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setResponsecode = function(value) {
|
|
8385
8806
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
8386
8807
|
};
|
|
8387
8808
|
|
|
8388
8809
|
|
|
8389
8810
|
/**
|
|
8390
8811
|
* Clears the message field making it undefined.
|
|
8391
|
-
* @return {!proto.checkoutserviceapi.
|
|
8812
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8392
8813
|
*/
|
|
8393
|
-
proto.checkoutserviceapi.
|
|
8814
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.clearResponsecode = function() {
|
|
8394
8815
|
return this.setResponsecode(undefined);
|
|
8395
8816
|
};
|
|
8396
8817
|
|
|
@@ -8399,225 +8820,1649 @@ proto.checkoutserviceapi.CardMetadataResponse.prototype.clearResponsecode = func
|
|
|
8399
8820
|
* Returns whether this field is set.
|
|
8400
8821
|
* @return {boolean}
|
|
8401
8822
|
*/
|
|
8402
|
-
proto.checkoutserviceapi.
|
|
8823
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.hasResponsecode = function() {
|
|
8403
8824
|
return jspb.Message.getField(this, 1) != null;
|
|
8404
8825
|
};
|
|
8405
8826
|
|
|
8406
8827
|
|
|
8407
8828
|
/**
|
|
8408
|
-
* optional string
|
|
8829
|
+
* optional string token = 2;
|
|
8409
8830
|
* @return {string}
|
|
8410
8831
|
*/
|
|
8411
|
-
proto.checkoutserviceapi.
|
|
8832
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getToken = function() {
|
|
8412
8833
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8413
8834
|
};
|
|
8414
8835
|
|
|
8415
8836
|
|
|
8416
8837
|
/**
|
|
8417
8838
|
* @param {string} value
|
|
8418
|
-
* @return {!proto.checkoutserviceapi.
|
|
8839
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8419
8840
|
*/
|
|
8420
|
-
proto.checkoutserviceapi.
|
|
8841
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setToken = function(value) {
|
|
8421
8842
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8422
8843
|
};
|
|
8423
8844
|
|
|
8424
8845
|
|
|
8425
8846
|
/**
|
|
8426
|
-
* optional string
|
|
8847
|
+
* optional string expiresOn = 3;
|
|
8427
8848
|
* @return {string}
|
|
8428
8849
|
*/
|
|
8429
|
-
proto.checkoutserviceapi.
|
|
8850
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getExpireson = function() {
|
|
8430
8851
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8431
8852
|
};
|
|
8432
8853
|
|
|
8433
8854
|
|
|
8434
8855
|
/**
|
|
8435
8856
|
* @param {string} value
|
|
8436
|
-
* @return {!proto.checkoutserviceapi.
|
|
8857
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8437
8858
|
*/
|
|
8438
|
-
proto.checkoutserviceapi.
|
|
8859
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setExpireson = function(value) {
|
|
8439
8860
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
8440
8861
|
};
|
|
8441
8862
|
|
|
8442
8863
|
|
|
8443
8864
|
/**
|
|
8444
|
-
* optional
|
|
8445
|
-
* @return {
|
|
8865
|
+
* optional int32 expiryMonth = 4;
|
|
8866
|
+
* @return {number}
|
|
8446
8867
|
*/
|
|
8447
|
-
proto.checkoutserviceapi.
|
|
8448
|
-
return /** @type {
|
|
8868
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getExpirymonth = function() {
|
|
8869
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
8449
8870
|
};
|
|
8450
8871
|
|
|
8451
8872
|
|
|
8452
8873
|
/**
|
|
8453
|
-
* @param {
|
|
8454
|
-
* @return {!proto.checkoutserviceapi.
|
|
8874
|
+
* @param {number} value
|
|
8875
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8455
8876
|
*/
|
|
8456
|
-
proto.checkoutserviceapi.
|
|
8457
|
-
return jspb.Message.
|
|
8877
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setExpirymonth = function(value) {
|
|
8878
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
8458
8879
|
};
|
|
8459
8880
|
|
|
8460
8881
|
|
|
8461
8882
|
/**
|
|
8462
|
-
* optional
|
|
8463
|
-
* @return {
|
|
8883
|
+
* optional int32 expiryYear = 5;
|
|
8884
|
+
* @return {number}
|
|
8464
8885
|
*/
|
|
8465
|
-
proto.checkoutserviceapi.
|
|
8466
|
-
return /** @type {
|
|
8886
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getExpiryyear = function() {
|
|
8887
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
8467
8888
|
};
|
|
8468
8889
|
|
|
8469
8890
|
|
|
8470
8891
|
/**
|
|
8471
|
-
* @param {
|
|
8472
|
-
* @return {!proto.checkoutserviceapi.
|
|
8892
|
+
* @param {number} value
|
|
8893
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8473
8894
|
*/
|
|
8474
|
-
proto.checkoutserviceapi.
|
|
8475
|
-
return jspb.Message.
|
|
8895
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setExpiryyear = function(value) {
|
|
8896
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
8476
8897
|
};
|
|
8477
8898
|
|
|
8478
8899
|
|
|
8479
8900
|
/**
|
|
8480
|
-
* optional string
|
|
8901
|
+
* optional string scheme = 6;
|
|
8481
8902
|
* @return {string}
|
|
8482
8903
|
*/
|
|
8483
|
-
proto.checkoutserviceapi.
|
|
8904
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getScheme = function() {
|
|
8484
8905
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
8485
8906
|
};
|
|
8486
8907
|
|
|
8487
8908
|
|
|
8488
8909
|
/**
|
|
8489
8910
|
* @param {string} value
|
|
8490
|
-
* @return {!proto.checkoutserviceapi.
|
|
8911
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8491
8912
|
*/
|
|
8492
|
-
proto.checkoutserviceapi.
|
|
8913
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setScheme = function(value) {
|
|
8493
8914
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
8494
8915
|
};
|
|
8495
8916
|
|
|
8496
8917
|
|
|
8497
8918
|
/**
|
|
8498
|
-
* optional string
|
|
8919
|
+
* optional string last4 = 7;
|
|
8499
8920
|
* @return {string}
|
|
8500
8921
|
*/
|
|
8501
|
-
proto.checkoutserviceapi.
|
|
8922
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getLast4 = function() {
|
|
8502
8923
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
8503
8924
|
};
|
|
8504
8925
|
|
|
8505
8926
|
|
|
8506
8927
|
/**
|
|
8507
8928
|
* @param {string} value
|
|
8508
|
-
* @return {!proto.checkoutserviceapi.
|
|
8929
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8509
8930
|
*/
|
|
8510
|
-
proto.checkoutserviceapi.
|
|
8931
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setLast4 = function(value) {
|
|
8511
8932
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
8512
8933
|
};
|
|
8513
8934
|
|
|
8514
8935
|
|
|
8515
8936
|
/**
|
|
8516
|
-
* optional
|
|
8517
|
-
* @return {
|
|
8937
|
+
* optional string bin = 8;
|
|
8938
|
+
* @return {string}
|
|
8518
8939
|
*/
|
|
8519
|
-
proto.checkoutserviceapi.
|
|
8520
|
-
return /** @type{
|
|
8521
|
-
jspb.Message.getWrapperField(this, proto.checkoutserviceapi.CardPayouts, 8));
|
|
8940
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getBin = function() {
|
|
8941
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
8522
8942
|
};
|
|
8523
8943
|
|
|
8524
8944
|
|
|
8525
8945
|
/**
|
|
8526
|
-
* @param {
|
|
8527
|
-
* @return {!proto.checkoutserviceapi.
|
|
8528
|
-
*/
|
|
8529
|
-
proto.checkoutserviceapi.
|
|
8530
|
-
return jspb.Message.
|
|
8946
|
+
* @param {string} value
|
|
8947
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8948
|
+
*/
|
|
8949
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setBin = function(value) {
|
|
8950
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
8531
8951
|
};
|
|
8532
8952
|
|
|
8533
8953
|
|
|
8534
8954
|
/**
|
|
8535
|
-
*
|
|
8536
|
-
* @return {
|
|
8955
|
+
* optional string cardType = 9;
|
|
8956
|
+
* @return {string}
|
|
8537
8957
|
*/
|
|
8538
|
-
proto.checkoutserviceapi.
|
|
8539
|
-
return
|
|
8958
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getCardtype = function() {
|
|
8959
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
8540
8960
|
};
|
|
8541
8961
|
|
|
8542
8962
|
|
|
8543
8963
|
/**
|
|
8544
|
-
*
|
|
8545
|
-
* @return {
|
|
8964
|
+
* @param {string} value
|
|
8965
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8546
8966
|
*/
|
|
8547
|
-
proto.checkoutserviceapi.
|
|
8548
|
-
return jspb.Message.
|
|
8967
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setCardtype = function(value) {
|
|
8968
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
8549
8969
|
};
|
|
8550
8970
|
|
|
8551
8971
|
|
|
8552
8972
|
/**
|
|
8553
|
-
* optional string
|
|
8973
|
+
* optional string cardCategory = 10;
|
|
8554
8974
|
* @return {string}
|
|
8555
8975
|
*/
|
|
8556
|
-
proto.checkoutserviceapi.
|
|
8557
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
8976
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getCardcategory = function() {
|
|
8977
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
8558
8978
|
};
|
|
8559
8979
|
|
|
8560
8980
|
|
|
8561
8981
|
/**
|
|
8562
8982
|
* @param {string} value
|
|
8563
|
-
* @return {!proto.checkoutserviceapi.
|
|
8983
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8564
8984
|
*/
|
|
8565
|
-
proto.checkoutserviceapi.
|
|
8566
|
-
return jspb.Message.setProto3StringField(this,
|
|
8985
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setCardcategory = function(value) {
|
|
8986
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
8567
8987
|
};
|
|
8568
8988
|
|
|
8569
8989
|
|
|
8570
8990
|
/**
|
|
8571
|
-
* optional string
|
|
8991
|
+
* optional string issuer = 11;
|
|
8572
8992
|
* @return {string}
|
|
8573
8993
|
*/
|
|
8574
|
-
proto.checkoutserviceapi.
|
|
8575
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
8994
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getIssuer = function() {
|
|
8995
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
8576
8996
|
};
|
|
8577
8997
|
|
|
8578
8998
|
|
|
8579
8999
|
/**
|
|
8580
9000
|
* @param {string} value
|
|
8581
|
-
* @return {!proto.checkoutserviceapi.
|
|
9001
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8582
9002
|
*/
|
|
8583
|
-
proto.checkoutserviceapi.
|
|
8584
|
-
return jspb.Message.setProto3StringField(this,
|
|
9003
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setIssuer = function(value) {
|
|
9004
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
8585
9005
|
};
|
|
8586
9006
|
|
|
8587
9007
|
|
|
9008
|
+
/**
|
|
9009
|
+
* optional string issuerCountry = 12;
|
|
9010
|
+
* @return {string}
|
|
9011
|
+
*/
|
|
9012
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getIssuercountry = function() {
|
|
9013
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
9014
|
+
};
|
|
9015
|
+
|
|
8588
9016
|
|
|
9017
|
+
/**
|
|
9018
|
+
* @param {string} value
|
|
9019
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
9020
|
+
*/
|
|
9021
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setIssuercountry = function(value) {
|
|
9022
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
9023
|
+
};
|
|
8589
9024
|
|
|
8590
9025
|
|
|
8591
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8592
9026
|
/**
|
|
8593
|
-
*
|
|
8594
|
-
*
|
|
8595
|
-
* Optional fields that are not set will be set to undefined.
|
|
8596
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8597
|
-
* For the list of reserved names please see:
|
|
8598
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8599
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8600
|
-
* JSPB instance for transitional soy proto support:
|
|
8601
|
-
* http://goto/soy-param-migration
|
|
8602
|
-
* @return {!Object}
|
|
9027
|
+
* optional string productId = 13;
|
|
9028
|
+
* @return {string}
|
|
8603
9029
|
*/
|
|
8604
|
-
proto.checkoutserviceapi.
|
|
8605
|
-
return
|
|
9030
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getProductid = function() {
|
|
9031
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
8606
9032
|
};
|
|
8607
9033
|
|
|
8608
9034
|
|
|
8609
9035
|
/**
|
|
8610
|
-
*
|
|
8611
|
-
* @
|
|
8612
|
-
* the JSPB instance for transitional soy proto support:
|
|
8613
|
-
* http://goto/soy-param-migration
|
|
8614
|
-
* @param {!proto.checkoutserviceapi.CardPayouts} msg The msg instance to transform.
|
|
8615
|
-
* @return {!Object}
|
|
8616
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9036
|
+
* @param {string} value
|
|
9037
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
8617
9038
|
*/
|
|
8618
|
-
proto.checkoutserviceapi.
|
|
8619
|
-
|
|
8620
|
-
|
|
9039
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setProductid = function(value) {
|
|
9040
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
9041
|
+
};
|
|
9042
|
+
|
|
9043
|
+
|
|
9044
|
+
/**
|
|
9045
|
+
* optional string productType = 14;
|
|
9046
|
+
* @return {string}
|
|
9047
|
+
*/
|
|
9048
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getProducttype = function() {
|
|
9049
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
9050
|
+
};
|
|
9051
|
+
|
|
9052
|
+
|
|
9053
|
+
/**
|
|
9054
|
+
* @param {string} value
|
|
9055
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
9056
|
+
*/
|
|
9057
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setProducttype = function(value) {
|
|
9058
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
9059
|
+
};
|
|
9060
|
+
|
|
9061
|
+
|
|
9062
|
+
/**
|
|
9063
|
+
* optional string tokenFormat = 15;
|
|
9064
|
+
* @return {string}
|
|
9065
|
+
*/
|
|
9066
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getTokenformat = function() {
|
|
9067
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
9068
|
+
};
|
|
9069
|
+
|
|
9070
|
+
|
|
9071
|
+
/**
|
|
9072
|
+
* @param {string} value
|
|
9073
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
9074
|
+
*/
|
|
9075
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setTokenformat = function(value) {
|
|
9076
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
9077
|
+
};
|
|
9078
|
+
|
|
9079
|
+
|
|
9080
|
+
/**
|
|
9081
|
+
* optional string name = 16;
|
|
9082
|
+
* @return {string}
|
|
9083
|
+
*/
|
|
9084
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.getName = function() {
|
|
9085
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
9086
|
+
};
|
|
9087
|
+
|
|
9088
|
+
|
|
9089
|
+
/**
|
|
9090
|
+
* @param {string} value
|
|
9091
|
+
* @return {!proto.checkoutserviceapi.TokenizeGooglePayResponse} returns this
|
|
9092
|
+
*/
|
|
9093
|
+
proto.checkoutserviceapi.TokenizeGooglePayResponse.prototype.setName = function(value) {
|
|
9094
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
9095
|
+
};
|
|
9096
|
+
|
|
9097
|
+
|
|
9098
|
+
|
|
9099
|
+
|
|
9100
|
+
|
|
9101
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9102
|
+
/**
|
|
9103
|
+
* Creates an object representation of this proto.
|
|
9104
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9105
|
+
* Optional fields that are not set will be set to undefined.
|
|
9106
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9107
|
+
* For the list of reserved names please see:
|
|
9108
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9109
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9110
|
+
* JSPB instance for transitional soy proto support:
|
|
9111
|
+
* http://goto/soy-param-migration
|
|
9112
|
+
* @return {!Object}
|
|
9113
|
+
*/
|
|
9114
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9115
|
+
return proto.checkoutserviceapi.TokenPaymentRequest.toObject(opt_includeInstance, this);
|
|
9116
|
+
};
|
|
9117
|
+
|
|
9118
|
+
|
|
9119
|
+
/**
|
|
9120
|
+
* Static version of the {@see toObject} method.
|
|
9121
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9122
|
+
* the JSPB instance for transitional soy proto support:
|
|
9123
|
+
* http://goto/soy-param-migration
|
|
9124
|
+
* @param {!proto.checkoutserviceapi.TokenPaymentRequest} msg The msg instance to transform.
|
|
9125
|
+
* @return {!Object}
|
|
9126
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9127
|
+
*/
|
|
9128
|
+
proto.checkoutserviceapi.TokenPaymentRequest.toObject = function(includeInstance, msg) {
|
|
9129
|
+
var f, obj = {
|
|
9130
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9131
|
+
billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9132
|
+
token: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9133
|
+
paidamountexcludingsurcharge: (f = msg.getPaidamountexcludingsurcharge()) && google_type_decimal_pb.Decimal.toObject(includeInstance, f),
|
|
9134
|
+
paymentprocessorsurchargeamount: (f = msg.getPaymentprocessorsurchargeamount()) && google_type_decimal_pb.Decimal.toObject(includeInstance, f),
|
|
9135
|
+
paidamountincludingsurchargefees: (f = msg.getPaidamountincludingsurchargefees()) && google_type_decimal_pb.Decimal.toObject(includeInstance, f),
|
|
9136
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
9137
|
+
crn: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
9138
|
+
ipaddress: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
9139
|
+
billercodeshortname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
9140
|
+
billercodelongname: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9141
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
9142
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
9143
|
+
reference: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
9144
|
+
billerid: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
9145
|
+
isbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
9146
|
+
anziccode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
9147
|
+
scope: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
9148
|
+
checkoutpaymenttype: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
|
9149
|
+
};
|
|
9150
|
+
|
|
9151
|
+
if (includeInstance) {
|
|
9152
|
+
obj.$jspbMessageInstance = msg;
|
|
9153
|
+
}
|
|
9154
|
+
return obj;
|
|
9155
|
+
};
|
|
9156
|
+
}
|
|
9157
|
+
|
|
9158
|
+
|
|
9159
|
+
/**
|
|
9160
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9161
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9162
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest}
|
|
9163
|
+
*/
|
|
9164
|
+
proto.checkoutserviceapi.TokenPaymentRequest.deserializeBinary = function(bytes) {
|
|
9165
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9166
|
+
var msg = new proto.checkoutserviceapi.TokenPaymentRequest;
|
|
9167
|
+
return proto.checkoutserviceapi.TokenPaymentRequest.deserializeBinaryFromReader(msg, reader);
|
|
9168
|
+
};
|
|
9169
|
+
|
|
9170
|
+
|
|
9171
|
+
/**
|
|
9172
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9173
|
+
* given reader into the given message object.
|
|
9174
|
+
* @param {!proto.checkoutserviceapi.TokenPaymentRequest} msg The message object to deserialize into.
|
|
9175
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9176
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest}
|
|
9177
|
+
*/
|
|
9178
|
+
proto.checkoutserviceapi.TokenPaymentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9179
|
+
while (reader.nextField()) {
|
|
9180
|
+
if (reader.isEndGroup()) {
|
|
9181
|
+
break;
|
|
9182
|
+
}
|
|
9183
|
+
var field = reader.getFieldNumber();
|
|
9184
|
+
switch (field) {
|
|
9185
|
+
case 1:
|
|
9186
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9187
|
+
msg.setUserid(value);
|
|
9188
|
+
break;
|
|
9189
|
+
case 2:
|
|
9190
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9191
|
+
msg.setBillid(value);
|
|
9192
|
+
break;
|
|
9193
|
+
case 3:
|
|
9194
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9195
|
+
msg.setToken(value);
|
|
9196
|
+
break;
|
|
9197
|
+
case 4:
|
|
9198
|
+
var value = new google_type_decimal_pb.Decimal;
|
|
9199
|
+
reader.readMessage(value,google_type_decimal_pb.Decimal.deserializeBinaryFromReader);
|
|
9200
|
+
msg.setPaidamountexcludingsurcharge(value);
|
|
9201
|
+
break;
|
|
9202
|
+
case 5:
|
|
9203
|
+
var value = new google_type_decimal_pb.Decimal;
|
|
9204
|
+
reader.readMessage(value,google_type_decimal_pb.Decimal.deserializeBinaryFromReader);
|
|
9205
|
+
msg.setPaymentprocessorsurchargeamount(value);
|
|
9206
|
+
break;
|
|
9207
|
+
case 6:
|
|
9208
|
+
var value = new google_type_decimal_pb.Decimal;
|
|
9209
|
+
reader.readMessage(value,google_type_decimal_pb.Decimal.deserializeBinaryFromReader);
|
|
9210
|
+
msg.setPaidamountincludingsurchargefees(value);
|
|
9211
|
+
break;
|
|
9212
|
+
case 7:
|
|
9213
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9214
|
+
msg.setTransactionid(value);
|
|
9215
|
+
break;
|
|
9216
|
+
case 8:
|
|
9217
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9218
|
+
msg.setCrn(value);
|
|
9219
|
+
break;
|
|
9220
|
+
case 9:
|
|
9221
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9222
|
+
msg.setIpaddress(value);
|
|
9223
|
+
break;
|
|
9224
|
+
case 10:
|
|
9225
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9226
|
+
msg.setBillercodeshortname(value);
|
|
9227
|
+
break;
|
|
9228
|
+
case 11:
|
|
9229
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9230
|
+
msg.setBillercodelongname(value);
|
|
9231
|
+
break;
|
|
9232
|
+
case 12:
|
|
9233
|
+
var value = /** @type {!proto.checkoutserviceapi.PaymentProcessorMidType} */ (reader.readEnum());
|
|
9234
|
+
msg.setPaymentprocessor(value);
|
|
9235
|
+
break;
|
|
9236
|
+
case 13:
|
|
9237
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9238
|
+
msg.setBillercode(value);
|
|
9239
|
+
break;
|
|
9240
|
+
case 14:
|
|
9241
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9242
|
+
msg.setReference(value);
|
|
9243
|
+
break;
|
|
9244
|
+
case 15:
|
|
9245
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9246
|
+
msg.setBillerid(value);
|
|
9247
|
+
break;
|
|
9248
|
+
case 16:
|
|
9249
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9250
|
+
msg.setIsbusiness(value);
|
|
9251
|
+
break;
|
|
9252
|
+
case 17:
|
|
9253
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9254
|
+
msg.setAnziccode(value);
|
|
9255
|
+
break;
|
|
9256
|
+
case 18:
|
|
9257
|
+
var value = /** @type {!proto.checkoutserviceapi.Scope} */ (reader.readEnum());
|
|
9258
|
+
msg.setScope(value);
|
|
9259
|
+
break;
|
|
9260
|
+
case 19:
|
|
9261
|
+
var value = /** @type {!proto.checkoutserviceapi.CheckoutPaymentType} */ (reader.readEnum());
|
|
9262
|
+
msg.setCheckoutpaymenttype(value);
|
|
9263
|
+
break;
|
|
9264
|
+
default:
|
|
9265
|
+
reader.skipField();
|
|
9266
|
+
break;
|
|
9267
|
+
}
|
|
9268
|
+
}
|
|
9269
|
+
return msg;
|
|
9270
|
+
};
|
|
9271
|
+
|
|
9272
|
+
|
|
9273
|
+
/**
|
|
9274
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9275
|
+
* @return {!Uint8Array}
|
|
9276
|
+
*/
|
|
9277
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.serializeBinary = function() {
|
|
9278
|
+
var writer = new jspb.BinaryWriter();
|
|
9279
|
+
proto.checkoutserviceapi.TokenPaymentRequest.serializeBinaryToWriter(this, writer);
|
|
9280
|
+
return writer.getResultBuffer();
|
|
9281
|
+
};
|
|
9282
|
+
|
|
9283
|
+
|
|
9284
|
+
/**
|
|
9285
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9286
|
+
* format), writing to the given BinaryWriter.
|
|
9287
|
+
* @param {!proto.checkoutserviceapi.TokenPaymentRequest} message
|
|
9288
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9289
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9290
|
+
*/
|
|
9291
|
+
proto.checkoutserviceapi.TokenPaymentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9292
|
+
var f = undefined;
|
|
9293
|
+
f = message.getUserid();
|
|
9294
|
+
if (f !== 0) {
|
|
9295
|
+
writer.writeInt64(
|
|
9296
|
+
1,
|
|
9297
|
+
f
|
|
9298
|
+
);
|
|
9299
|
+
}
|
|
9300
|
+
f = message.getBillid();
|
|
9301
|
+
if (f !== 0) {
|
|
9302
|
+
writer.writeInt64(
|
|
9303
|
+
2,
|
|
9304
|
+
f
|
|
9305
|
+
);
|
|
9306
|
+
}
|
|
9307
|
+
f = message.getToken();
|
|
9308
|
+
if (f.length > 0) {
|
|
9309
|
+
writer.writeString(
|
|
9310
|
+
3,
|
|
9311
|
+
f
|
|
9312
|
+
);
|
|
9313
|
+
}
|
|
9314
|
+
f = message.getPaidamountexcludingsurcharge();
|
|
9315
|
+
if (f != null) {
|
|
9316
|
+
writer.writeMessage(
|
|
9317
|
+
4,
|
|
9318
|
+
f,
|
|
9319
|
+
google_type_decimal_pb.Decimal.serializeBinaryToWriter
|
|
9320
|
+
);
|
|
9321
|
+
}
|
|
9322
|
+
f = message.getPaymentprocessorsurchargeamount();
|
|
9323
|
+
if (f != null) {
|
|
9324
|
+
writer.writeMessage(
|
|
9325
|
+
5,
|
|
9326
|
+
f,
|
|
9327
|
+
google_type_decimal_pb.Decimal.serializeBinaryToWriter
|
|
9328
|
+
);
|
|
9329
|
+
}
|
|
9330
|
+
f = message.getPaidamountincludingsurchargefees();
|
|
9331
|
+
if (f != null) {
|
|
9332
|
+
writer.writeMessage(
|
|
9333
|
+
6,
|
|
9334
|
+
f,
|
|
9335
|
+
google_type_decimal_pb.Decimal.serializeBinaryToWriter
|
|
9336
|
+
);
|
|
9337
|
+
}
|
|
9338
|
+
f = message.getTransactionid();
|
|
9339
|
+
if (f !== 0) {
|
|
9340
|
+
writer.writeInt64(
|
|
9341
|
+
7,
|
|
9342
|
+
f
|
|
9343
|
+
);
|
|
9344
|
+
}
|
|
9345
|
+
f = message.getCrn();
|
|
9346
|
+
if (f.length > 0) {
|
|
9347
|
+
writer.writeString(
|
|
9348
|
+
8,
|
|
9349
|
+
f
|
|
9350
|
+
);
|
|
9351
|
+
}
|
|
9352
|
+
f = message.getIpaddress();
|
|
9353
|
+
if (f.length > 0) {
|
|
9354
|
+
writer.writeString(
|
|
9355
|
+
9,
|
|
9356
|
+
f
|
|
9357
|
+
);
|
|
9358
|
+
}
|
|
9359
|
+
f = message.getBillercodeshortname();
|
|
9360
|
+
if (f.length > 0) {
|
|
9361
|
+
writer.writeString(
|
|
9362
|
+
10,
|
|
9363
|
+
f
|
|
9364
|
+
);
|
|
9365
|
+
}
|
|
9366
|
+
f = message.getBillercodelongname();
|
|
9367
|
+
if (f.length > 0) {
|
|
9368
|
+
writer.writeString(
|
|
9369
|
+
11,
|
|
9370
|
+
f
|
|
9371
|
+
);
|
|
9372
|
+
}
|
|
9373
|
+
f = message.getPaymentprocessor();
|
|
9374
|
+
if (f !== 0.0) {
|
|
9375
|
+
writer.writeEnum(
|
|
9376
|
+
12,
|
|
9377
|
+
f
|
|
9378
|
+
);
|
|
9379
|
+
}
|
|
9380
|
+
f = message.getBillercode();
|
|
9381
|
+
if (f.length > 0) {
|
|
9382
|
+
writer.writeString(
|
|
9383
|
+
13,
|
|
9384
|
+
f
|
|
9385
|
+
);
|
|
9386
|
+
}
|
|
9387
|
+
f = message.getReference();
|
|
9388
|
+
if (f.length > 0) {
|
|
9389
|
+
writer.writeString(
|
|
9390
|
+
14,
|
|
9391
|
+
f
|
|
9392
|
+
);
|
|
9393
|
+
}
|
|
9394
|
+
f = message.getBillerid();
|
|
9395
|
+
if (f !== 0) {
|
|
9396
|
+
writer.writeInt64(
|
|
9397
|
+
15,
|
|
9398
|
+
f
|
|
9399
|
+
);
|
|
9400
|
+
}
|
|
9401
|
+
f = message.getIsbusiness();
|
|
9402
|
+
if (f) {
|
|
9403
|
+
writer.writeBool(
|
|
9404
|
+
16,
|
|
9405
|
+
f
|
|
9406
|
+
);
|
|
9407
|
+
}
|
|
9408
|
+
f = message.getAnziccode();
|
|
9409
|
+
if (f.length > 0) {
|
|
9410
|
+
writer.writeString(
|
|
9411
|
+
17,
|
|
9412
|
+
f
|
|
9413
|
+
);
|
|
9414
|
+
}
|
|
9415
|
+
f = message.getScope();
|
|
9416
|
+
if (f !== 0.0) {
|
|
9417
|
+
writer.writeEnum(
|
|
9418
|
+
18,
|
|
9419
|
+
f
|
|
9420
|
+
);
|
|
9421
|
+
}
|
|
9422
|
+
f = message.getCheckoutpaymenttype();
|
|
9423
|
+
if (f !== 0.0) {
|
|
9424
|
+
writer.writeEnum(
|
|
9425
|
+
19,
|
|
9426
|
+
f
|
|
9427
|
+
);
|
|
9428
|
+
}
|
|
9429
|
+
};
|
|
9430
|
+
|
|
9431
|
+
|
|
9432
|
+
/**
|
|
9433
|
+
* optional int64 userId = 1;
|
|
9434
|
+
* @return {number}
|
|
9435
|
+
*/
|
|
9436
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getUserid = function() {
|
|
9437
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
9438
|
+
};
|
|
9439
|
+
|
|
9440
|
+
|
|
9441
|
+
/**
|
|
9442
|
+
* @param {number} value
|
|
9443
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9444
|
+
*/
|
|
9445
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setUserid = function(value) {
|
|
9446
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
9447
|
+
};
|
|
9448
|
+
|
|
9449
|
+
|
|
9450
|
+
/**
|
|
9451
|
+
* optional int64 billId = 2;
|
|
9452
|
+
* @return {number}
|
|
9453
|
+
*/
|
|
9454
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getBillid = function() {
|
|
9455
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
9456
|
+
};
|
|
9457
|
+
|
|
9458
|
+
|
|
9459
|
+
/**
|
|
9460
|
+
* @param {number} value
|
|
9461
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9462
|
+
*/
|
|
9463
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setBillid = function(value) {
|
|
9464
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
9465
|
+
};
|
|
9466
|
+
|
|
9467
|
+
|
|
9468
|
+
/**
|
|
9469
|
+
* optional string token = 3;
|
|
9470
|
+
* @return {string}
|
|
9471
|
+
*/
|
|
9472
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getToken = function() {
|
|
9473
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9474
|
+
};
|
|
9475
|
+
|
|
9476
|
+
|
|
9477
|
+
/**
|
|
9478
|
+
* @param {string} value
|
|
9479
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9480
|
+
*/
|
|
9481
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setToken = function(value) {
|
|
9482
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
9483
|
+
};
|
|
9484
|
+
|
|
9485
|
+
|
|
9486
|
+
/**
|
|
9487
|
+
* optional google.type.Decimal paidAmountExcludingSurcharge = 4;
|
|
9488
|
+
* @return {?proto.google.type.Decimal}
|
|
9489
|
+
*/
|
|
9490
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getPaidamountexcludingsurcharge = function() {
|
|
9491
|
+
return /** @type{?proto.google.type.Decimal} */ (
|
|
9492
|
+
jspb.Message.getWrapperField(this, google_type_decimal_pb.Decimal, 4));
|
|
9493
|
+
};
|
|
9494
|
+
|
|
9495
|
+
|
|
9496
|
+
/**
|
|
9497
|
+
* @param {?proto.google.type.Decimal|undefined} value
|
|
9498
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9499
|
+
*/
|
|
9500
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setPaidamountexcludingsurcharge = function(value) {
|
|
9501
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
9502
|
+
};
|
|
9503
|
+
|
|
9504
|
+
|
|
9505
|
+
/**
|
|
9506
|
+
* Clears the message field making it undefined.
|
|
9507
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9508
|
+
*/
|
|
9509
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.clearPaidamountexcludingsurcharge = function() {
|
|
9510
|
+
return this.setPaidamountexcludingsurcharge(undefined);
|
|
9511
|
+
};
|
|
9512
|
+
|
|
9513
|
+
|
|
9514
|
+
/**
|
|
9515
|
+
* Returns whether this field is set.
|
|
9516
|
+
* @return {boolean}
|
|
9517
|
+
*/
|
|
9518
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.hasPaidamountexcludingsurcharge = function() {
|
|
9519
|
+
return jspb.Message.getField(this, 4) != null;
|
|
9520
|
+
};
|
|
9521
|
+
|
|
9522
|
+
|
|
9523
|
+
/**
|
|
9524
|
+
* optional google.type.Decimal paymentProcessorSurchargeAmount = 5;
|
|
9525
|
+
* @return {?proto.google.type.Decimal}
|
|
9526
|
+
*/
|
|
9527
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getPaymentprocessorsurchargeamount = function() {
|
|
9528
|
+
return /** @type{?proto.google.type.Decimal} */ (
|
|
9529
|
+
jspb.Message.getWrapperField(this, google_type_decimal_pb.Decimal, 5));
|
|
9530
|
+
};
|
|
9531
|
+
|
|
9532
|
+
|
|
9533
|
+
/**
|
|
9534
|
+
* @param {?proto.google.type.Decimal|undefined} value
|
|
9535
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9536
|
+
*/
|
|
9537
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setPaymentprocessorsurchargeamount = function(value) {
|
|
9538
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
9539
|
+
};
|
|
9540
|
+
|
|
9541
|
+
|
|
9542
|
+
/**
|
|
9543
|
+
* Clears the message field making it undefined.
|
|
9544
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9545
|
+
*/
|
|
9546
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.clearPaymentprocessorsurchargeamount = function() {
|
|
9547
|
+
return this.setPaymentprocessorsurchargeamount(undefined);
|
|
9548
|
+
};
|
|
9549
|
+
|
|
9550
|
+
|
|
9551
|
+
/**
|
|
9552
|
+
* Returns whether this field is set.
|
|
9553
|
+
* @return {boolean}
|
|
9554
|
+
*/
|
|
9555
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.hasPaymentprocessorsurchargeamount = function() {
|
|
9556
|
+
return jspb.Message.getField(this, 5) != null;
|
|
9557
|
+
};
|
|
9558
|
+
|
|
9559
|
+
|
|
9560
|
+
/**
|
|
9561
|
+
* optional google.type.Decimal paidAmountIncludingSurchargeFees = 6;
|
|
9562
|
+
* @return {?proto.google.type.Decimal}
|
|
9563
|
+
*/
|
|
9564
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getPaidamountincludingsurchargefees = function() {
|
|
9565
|
+
return /** @type{?proto.google.type.Decimal} */ (
|
|
9566
|
+
jspb.Message.getWrapperField(this, google_type_decimal_pb.Decimal, 6));
|
|
9567
|
+
};
|
|
9568
|
+
|
|
9569
|
+
|
|
9570
|
+
/**
|
|
9571
|
+
* @param {?proto.google.type.Decimal|undefined} value
|
|
9572
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9573
|
+
*/
|
|
9574
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setPaidamountincludingsurchargefees = function(value) {
|
|
9575
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
9576
|
+
};
|
|
9577
|
+
|
|
9578
|
+
|
|
9579
|
+
/**
|
|
9580
|
+
* Clears the message field making it undefined.
|
|
9581
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9582
|
+
*/
|
|
9583
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.clearPaidamountincludingsurchargefees = function() {
|
|
9584
|
+
return this.setPaidamountincludingsurchargefees(undefined);
|
|
9585
|
+
};
|
|
9586
|
+
|
|
9587
|
+
|
|
9588
|
+
/**
|
|
9589
|
+
* Returns whether this field is set.
|
|
9590
|
+
* @return {boolean}
|
|
9591
|
+
*/
|
|
9592
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.hasPaidamountincludingsurchargefees = function() {
|
|
9593
|
+
return jspb.Message.getField(this, 6) != null;
|
|
9594
|
+
};
|
|
9595
|
+
|
|
9596
|
+
|
|
9597
|
+
/**
|
|
9598
|
+
* optional int64 transactionId = 7;
|
|
9599
|
+
* @return {number}
|
|
9600
|
+
*/
|
|
9601
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getTransactionid = function() {
|
|
9602
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
9603
|
+
};
|
|
9604
|
+
|
|
9605
|
+
|
|
9606
|
+
/**
|
|
9607
|
+
* @param {number} value
|
|
9608
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9609
|
+
*/
|
|
9610
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setTransactionid = function(value) {
|
|
9611
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
9612
|
+
};
|
|
9613
|
+
|
|
9614
|
+
|
|
9615
|
+
/**
|
|
9616
|
+
* optional string crn = 8;
|
|
9617
|
+
* @return {string}
|
|
9618
|
+
*/
|
|
9619
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getCrn = function() {
|
|
9620
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
9621
|
+
};
|
|
9622
|
+
|
|
9623
|
+
|
|
9624
|
+
/**
|
|
9625
|
+
* @param {string} value
|
|
9626
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9627
|
+
*/
|
|
9628
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setCrn = function(value) {
|
|
9629
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
9630
|
+
};
|
|
9631
|
+
|
|
9632
|
+
|
|
9633
|
+
/**
|
|
9634
|
+
* optional string ipAddress = 9;
|
|
9635
|
+
* @return {string}
|
|
9636
|
+
*/
|
|
9637
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getIpaddress = function() {
|
|
9638
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
9639
|
+
};
|
|
9640
|
+
|
|
9641
|
+
|
|
9642
|
+
/**
|
|
9643
|
+
* @param {string} value
|
|
9644
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9645
|
+
*/
|
|
9646
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setIpaddress = function(value) {
|
|
9647
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
9648
|
+
};
|
|
9649
|
+
|
|
9650
|
+
|
|
9651
|
+
/**
|
|
9652
|
+
* optional string billerCodeShortName = 10;
|
|
9653
|
+
* @return {string}
|
|
9654
|
+
*/
|
|
9655
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getBillercodeshortname = function() {
|
|
9656
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
9657
|
+
};
|
|
9658
|
+
|
|
9659
|
+
|
|
9660
|
+
/**
|
|
9661
|
+
* @param {string} value
|
|
9662
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9663
|
+
*/
|
|
9664
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setBillercodeshortname = function(value) {
|
|
9665
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
9666
|
+
};
|
|
9667
|
+
|
|
9668
|
+
|
|
9669
|
+
/**
|
|
9670
|
+
* optional string billerCodeLongName = 11;
|
|
9671
|
+
* @return {string}
|
|
9672
|
+
*/
|
|
9673
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getBillercodelongname = function() {
|
|
9674
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
9675
|
+
};
|
|
9676
|
+
|
|
9677
|
+
|
|
9678
|
+
/**
|
|
9679
|
+
* @param {string} value
|
|
9680
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9681
|
+
*/
|
|
9682
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setBillercodelongname = function(value) {
|
|
9683
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
9684
|
+
};
|
|
9685
|
+
|
|
9686
|
+
|
|
9687
|
+
/**
|
|
9688
|
+
* optional PaymentProcessorMidType paymentProcessor = 12;
|
|
9689
|
+
* @return {!proto.checkoutserviceapi.PaymentProcessorMidType}
|
|
9690
|
+
*/
|
|
9691
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getPaymentprocessor = function() {
|
|
9692
|
+
return /** @type {!proto.checkoutserviceapi.PaymentProcessorMidType} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
9693
|
+
};
|
|
9694
|
+
|
|
9695
|
+
|
|
9696
|
+
/**
|
|
9697
|
+
* @param {!proto.checkoutserviceapi.PaymentProcessorMidType} value
|
|
9698
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9699
|
+
*/
|
|
9700
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setPaymentprocessor = function(value) {
|
|
9701
|
+
return jspb.Message.setProto3EnumField(this, 12, value);
|
|
9702
|
+
};
|
|
9703
|
+
|
|
9704
|
+
|
|
9705
|
+
/**
|
|
9706
|
+
* optional string billerCode = 13;
|
|
9707
|
+
* @return {string}
|
|
9708
|
+
*/
|
|
9709
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getBillercode = function() {
|
|
9710
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
9711
|
+
};
|
|
9712
|
+
|
|
9713
|
+
|
|
9714
|
+
/**
|
|
9715
|
+
* @param {string} value
|
|
9716
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9717
|
+
*/
|
|
9718
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setBillercode = function(value) {
|
|
9719
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
9720
|
+
};
|
|
9721
|
+
|
|
9722
|
+
|
|
9723
|
+
/**
|
|
9724
|
+
* optional string reference = 14;
|
|
9725
|
+
* @return {string}
|
|
9726
|
+
*/
|
|
9727
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getReference = function() {
|
|
9728
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
9729
|
+
};
|
|
9730
|
+
|
|
9731
|
+
|
|
9732
|
+
/**
|
|
9733
|
+
* @param {string} value
|
|
9734
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9735
|
+
*/
|
|
9736
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setReference = function(value) {
|
|
9737
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
9738
|
+
};
|
|
9739
|
+
|
|
9740
|
+
|
|
9741
|
+
/**
|
|
9742
|
+
* optional int64 billerId = 15;
|
|
9743
|
+
* @return {number}
|
|
9744
|
+
*/
|
|
9745
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getBillerid = function() {
|
|
9746
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
9747
|
+
};
|
|
9748
|
+
|
|
9749
|
+
|
|
9750
|
+
/**
|
|
9751
|
+
* @param {number} value
|
|
9752
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9753
|
+
*/
|
|
9754
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setBillerid = function(value) {
|
|
9755
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
9756
|
+
};
|
|
9757
|
+
|
|
9758
|
+
|
|
9759
|
+
/**
|
|
9760
|
+
* optional bool isBusiness = 16;
|
|
9761
|
+
* @return {boolean}
|
|
9762
|
+
*/
|
|
9763
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getIsbusiness = function() {
|
|
9764
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
|
9765
|
+
};
|
|
9766
|
+
|
|
9767
|
+
|
|
9768
|
+
/**
|
|
9769
|
+
* @param {boolean} value
|
|
9770
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9771
|
+
*/
|
|
9772
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setIsbusiness = function(value) {
|
|
9773
|
+
return jspb.Message.setProto3BooleanField(this, 16, value);
|
|
9774
|
+
};
|
|
9775
|
+
|
|
9776
|
+
|
|
9777
|
+
/**
|
|
9778
|
+
* optional string anzicCode = 17;
|
|
9779
|
+
* @return {string}
|
|
9780
|
+
*/
|
|
9781
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getAnziccode = function() {
|
|
9782
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
9783
|
+
};
|
|
9784
|
+
|
|
9785
|
+
|
|
9786
|
+
/**
|
|
9787
|
+
* @param {string} value
|
|
9788
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9789
|
+
*/
|
|
9790
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setAnziccode = function(value) {
|
|
9791
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
9792
|
+
};
|
|
9793
|
+
|
|
9794
|
+
|
|
9795
|
+
/**
|
|
9796
|
+
* optional Scope scope = 18;
|
|
9797
|
+
* @return {!proto.checkoutserviceapi.Scope}
|
|
9798
|
+
*/
|
|
9799
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getScope = function() {
|
|
9800
|
+
return /** @type {!proto.checkoutserviceapi.Scope} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
9801
|
+
};
|
|
9802
|
+
|
|
9803
|
+
|
|
9804
|
+
/**
|
|
9805
|
+
* @param {!proto.checkoutserviceapi.Scope} value
|
|
9806
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9807
|
+
*/
|
|
9808
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setScope = function(value) {
|
|
9809
|
+
return jspb.Message.setProto3EnumField(this, 18, value);
|
|
9810
|
+
};
|
|
9811
|
+
|
|
9812
|
+
|
|
9813
|
+
/**
|
|
9814
|
+
* optional CheckoutPaymentType checkoutPaymentType = 19;
|
|
9815
|
+
* @return {!proto.checkoutserviceapi.CheckoutPaymentType}
|
|
9816
|
+
*/
|
|
9817
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.getCheckoutpaymenttype = function() {
|
|
9818
|
+
return /** @type {!proto.checkoutserviceapi.CheckoutPaymentType} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
9819
|
+
};
|
|
9820
|
+
|
|
9821
|
+
|
|
9822
|
+
/**
|
|
9823
|
+
* @param {!proto.checkoutserviceapi.CheckoutPaymentType} value
|
|
9824
|
+
* @return {!proto.checkoutserviceapi.TokenPaymentRequest} returns this
|
|
9825
|
+
*/
|
|
9826
|
+
proto.checkoutserviceapi.TokenPaymentRequest.prototype.setCheckoutpaymenttype = function(value) {
|
|
9827
|
+
return jspb.Message.setProto3EnumField(this, 19, value);
|
|
9828
|
+
};
|
|
9829
|
+
|
|
9830
|
+
|
|
9831
|
+
|
|
9832
|
+
|
|
9833
|
+
|
|
9834
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9835
|
+
/**
|
|
9836
|
+
* Creates an object representation of this proto.
|
|
9837
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9838
|
+
* Optional fields that are not set will be set to undefined.
|
|
9839
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9840
|
+
* For the list of reserved names please see:
|
|
9841
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9842
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9843
|
+
* JSPB instance for transitional soy proto support:
|
|
9844
|
+
* http://goto/soy-param-migration
|
|
9845
|
+
* @return {!Object}
|
|
9846
|
+
*/
|
|
9847
|
+
proto.checkoutserviceapi.CardMetadataRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9848
|
+
return proto.checkoutserviceapi.CardMetadataRequest.toObject(opt_includeInstance, this);
|
|
9849
|
+
};
|
|
9850
|
+
|
|
9851
|
+
|
|
9852
|
+
/**
|
|
9853
|
+
* Static version of the {@see toObject} method.
|
|
9854
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9855
|
+
* the JSPB instance for transitional soy proto support:
|
|
9856
|
+
* http://goto/soy-param-migration
|
|
9857
|
+
* @param {!proto.checkoutserviceapi.CardMetadataRequest} msg The msg instance to transform.
|
|
9858
|
+
* @return {!Object}
|
|
9859
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9860
|
+
*/
|
|
9861
|
+
proto.checkoutserviceapi.CardMetadataRequest.toObject = function(includeInstance, msg) {
|
|
9862
|
+
var f, obj = {
|
|
9863
|
+
pan: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9864
|
+
format: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
9865
|
+
};
|
|
9866
|
+
|
|
9867
|
+
if (includeInstance) {
|
|
9868
|
+
obj.$jspbMessageInstance = msg;
|
|
9869
|
+
}
|
|
9870
|
+
return obj;
|
|
9871
|
+
};
|
|
9872
|
+
}
|
|
9873
|
+
|
|
9874
|
+
|
|
9875
|
+
/**
|
|
9876
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9877
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9878
|
+
* @return {!proto.checkoutserviceapi.CardMetadataRequest}
|
|
9879
|
+
*/
|
|
9880
|
+
proto.checkoutserviceapi.CardMetadataRequest.deserializeBinary = function(bytes) {
|
|
9881
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9882
|
+
var msg = new proto.checkoutserviceapi.CardMetadataRequest;
|
|
9883
|
+
return proto.checkoutserviceapi.CardMetadataRequest.deserializeBinaryFromReader(msg, reader);
|
|
9884
|
+
};
|
|
9885
|
+
|
|
9886
|
+
|
|
9887
|
+
/**
|
|
9888
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9889
|
+
* given reader into the given message object.
|
|
9890
|
+
* @param {!proto.checkoutserviceapi.CardMetadataRequest} msg The message object to deserialize into.
|
|
9891
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9892
|
+
* @return {!proto.checkoutserviceapi.CardMetadataRequest}
|
|
9893
|
+
*/
|
|
9894
|
+
proto.checkoutserviceapi.CardMetadataRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9895
|
+
while (reader.nextField()) {
|
|
9896
|
+
if (reader.isEndGroup()) {
|
|
9897
|
+
break;
|
|
9898
|
+
}
|
|
9899
|
+
var field = reader.getFieldNumber();
|
|
9900
|
+
switch (field) {
|
|
9901
|
+
case 1:
|
|
9902
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9903
|
+
msg.setPan(value);
|
|
9904
|
+
break;
|
|
9905
|
+
case 2:
|
|
9906
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9907
|
+
msg.setFormat(value);
|
|
9908
|
+
break;
|
|
9909
|
+
default:
|
|
9910
|
+
reader.skipField();
|
|
9911
|
+
break;
|
|
9912
|
+
}
|
|
9913
|
+
}
|
|
9914
|
+
return msg;
|
|
9915
|
+
};
|
|
9916
|
+
|
|
9917
|
+
|
|
9918
|
+
/**
|
|
9919
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9920
|
+
* @return {!Uint8Array}
|
|
9921
|
+
*/
|
|
9922
|
+
proto.checkoutserviceapi.CardMetadataRequest.prototype.serializeBinary = function() {
|
|
9923
|
+
var writer = new jspb.BinaryWriter();
|
|
9924
|
+
proto.checkoutserviceapi.CardMetadataRequest.serializeBinaryToWriter(this, writer);
|
|
9925
|
+
return writer.getResultBuffer();
|
|
9926
|
+
};
|
|
9927
|
+
|
|
9928
|
+
|
|
9929
|
+
/**
|
|
9930
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9931
|
+
* format), writing to the given BinaryWriter.
|
|
9932
|
+
* @param {!proto.checkoutserviceapi.CardMetadataRequest} message
|
|
9933
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9934
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9935
|
+
*/
|
|
9936
|
+
proto.checkoutserviceapi.CardMetadataRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9937
|
+
var f = undefined;
|
|
9938
|
+
f = message.getPan();
|
|
9939
|
+
if (f.length > 0) {
|
|
9940
|
+
writer.writeString(
|
|
9941
|
+
1,
|
|
9942
|
+
f
|
|
9943
|
+
);
|
|
9944
|
+
}
|
|
9945
|
+
f = message.getFormat();
|
|
9946
|
+
if (f.length > 0) {
|
|
9947
|
+
writer.writeString(
|
|
9948
|
+
2,
|
|
9949
|
+
f
|
|
9950
|
+
);
|
|
9951
|
+
}
|
|
9952
|
+
};
|
|
9953
|
+
|
|
9954
|
+
|
|
9955
|
+
/**
|
|
9956
|
+
* optional string pan = 1;
|
|
9957
|
+
* @return {string}
|
|
9958
|
+
*/
|
|
9959
|
+
proto.checkoutserviceapi.CardMetadataRequest.prototype.getPan = function() {
|
|
9960
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9961
|
+
};
|
|
9962
|
+
|
|
9963
|
+
|
|
9964
|
+
/**
|
|
9965
|
+
* @param {string} value
|
|
9966
|
+
* @return {!proto.checkoutserviceapi.CardMetadataRequest} returns this
|
|
9967
|
+
*/
|
|
9968
|
+
proto.checkoutserviceapi.CardMetadataRequest.prototype.setPan = function(value) {
|
|
9969
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9970
|
+
};
|
|
9971
|
+
|
|
9972
|
+
|
|
9973
|
+
/**
|
|
9974
|
+
* optional string format = 2;
|
|
9975
|
+
* @return {string}
|
|
9976
|
+
*/
|
|
9977
|
+
proto.checkoutserviceapi.CardMetadataRequest.prototype.getFormat = function() {
|
|
9978
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9979
|
+
};
|
|
9980
|
+
|
|
9981
|
+
|
|
9982
|
+
/**
|
|
9983
|
+
* @param {string} value
|
|
9984
|
+
* @return {!proto.checkoutserviceapi.CardMetadataRequest} returns this
|
|
9985
|
+
*/
|
|
9986
|
+
proto.checkoutserviceapi.CardMetadataRequest.prototype.setFormat = function(value) {
|
|
9987
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9988
|
+
};
|
|
9989
|
+
|
|
9990
|
+
|
|
9991
|
+
|
|
9992
|
+
|
|
9993
|
+
|
|
9994
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9995
|
+
/**
|
|
9996
|
+
* Creates an object representation of this proto.
|
|
9997
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9998
|
+
* Optional fields that are not set will be set to undefined.
|
|
9999
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10000
|
+
* For the list of reserved names please see:
|
|
10001
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10002
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10003
|
+
* JSPB instance for transitional soy proto support:
|
|
10004
|
+
* http://goto/soy-param-migration
|
|
10005
|
+
* @return {!Object}
|
|
10006
|
+
*/
|
|
10007
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10008
|
+
return proto.checkoutserviceapi.CardMetadataResponse.toObject(opt_includeInstance, this);
|
|
10009
|
+
};
|
|
10010
|
+
|
|
10011
|
+
|
|
10012
|
+
/**
|
|
10013
|
+
* Static version of the {@see toObject} method.
|
|
10014
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10015
|
+
* the JSPB instance for transitional soy proto support:
|
|
10016
|
+
* http://goto/soy-param-migration
|
|
10017
|
+
* @param {!proto.checkoutserviceapi.CardMetadataResponse} msg The msg instance to transform.
|
|
10018
|
+
* @return {!Object}
|
|
10019
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10020
|
+
*/
|
|
10021
|
+
proto.checkoutserviceapi.CardMetadataResponse.toObject = function(includeInstance, msg) {
|
|
10022
|
+
var f, obj = {
|
|
10023
|
+
responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
10024
|
+
bin: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10025
|
+
scheme: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10026
|
+
cardType: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10027
|
+
cardCategory: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10028
|
+
issuer: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10029
|
+
issuerCountry: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
10030
|
+
cardPayouts: (f = msg.getCardPayouts()) && proto.checkoutserviceapi.CardPayouts.toObject(includeInstance, f),
|
|
10031
|
+
productId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
10032
|
+
productType: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
10033
|
+
};
|
|
10034
|
+
|
|
10035
|
+
if (includeInstance) {
|
|
10036
|
+
obj.$jspbMessageInstance = msg;
|
|
10037
|
+
}
|
|
10038
|
+
return obj;
|
|
10039
|
+
};
|
|
10040
|
+
}
|
|
10041
|
+
|
|
10042
|
+
|
|
10043
|
+
/**
|
|
10044
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10045
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10046
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse}
|
|
10047
|
+
*/
|
|
10048
|
+
proto.checkoutserviceapi.CardMetadataResponse.deserializeBinary = function(bytes) {
|
|
10049
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10050
|
+
var msg = new proto.checkoutserviceapi.CardMetadataResponse;
|
|
10051
|
+
return proto.checkoutserviceapi.CardMetadataResponse.deserializeBinaryFromReader(msg, reader);
|
|
10052
|
+
};
|
|
10053
|
+
|
|
10054
|
+
|
|
10055
|
+
/**
|
|
10056
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10057
|
+
* given reader into the given message object.
|
|
10058
|
+
* @param {!proto.checkoutserviceapi.CardMetadataResponse} msg The message object to deserialize into.
|
|
10059
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10060
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse}
|
|
10061
|
+
*/
|
|
10062
|
+
proto.checkoutserviceapi.CardMetadataResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10063
|
+
while (reader.nextField()) {
|
|
10064
|
+
if (reader.isEndGroup()) {
|
|
10065
|
+
break;
|
|
10066
|
+
}
|
|
10067
|
+
var field = reader.getFieldNumber();
|
|
10068
|
+
switch (field) {
|
|
10069
|
+
case 1:
|
|
10070
|
+
var value = new proto.checkoutserviceapi.ResponseCode;
|
|
10071
|
+
reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
10072
|
+
msg.setResponsecode(value);
|
|
10073
|
+
break;
|
|
10074
|
+
case 2:
|
|
10075
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10076
|
+
msg.setBin(value);
|
|
10077
|
+
break;
|
|
10078
|
+
case 3:
|
|
10079
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10080
|
+
msg.setScheme(value);
|
|
10081
|
+
break;
|
|
10082
|
+
case 4:
|
|
10083
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10084
|
+
msg.setCardType(value);
|
|
10085
|
+
break;
|
|
10086
|
+
case 5:
|
|
10087
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10088
|
+
msg.setCardCategory(value);
|
|
10089
|
+
break;
|
|
10090
|
+
case 6:
|
|
10091
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10092
|
+
msg.setIssuer(value);
|
|
10093
|
+
break;
|
|
10094
|
+
case 7:
|
|
10095
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10096
|
+
msg.setIssuerCountry(value);
|
|
10097
|
+
break;
|
|
10098
|
+
case 8:
|
|
10099
|
+
var value = new proto.checkoutserviceapi.CardPayouts;
|
|
10100
|
+
reader.readMessage(value,proto.checkoutserviceapi.CardPayouts.deserializeBinaryFromReader);
|
|
10101
|
+
msg.setCardPayouts(value);
|
|
10102
|
+
break;
|
|
10103
|
+
case 9:
|
|
10104
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10105
|
+
msg.setProductId(value);
|
|
10106
|
+
break;
|
|
10107
|
+
case 10:
|
|
10108
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10109
|
+
msg.setProductType(value);
|
|
10110
|
+
break;
|
|
10111
|
+
default:
|
|
10112
|
+
reader.skipField();
|
|
10113
|
+
break;
|
|
10114
|
+
}
|
|
10115
|
+
}
|
|
10116
|
+
return msg;
|
|
10117
|
+
};
|
|
10118
|
+
|
|
10119
|
+
|
|
10120
|
+
/**
|
|
10121
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10122
|
+
* @return {!Uint8Array}
|
|
10123
|
+
*/
|
|
10124
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.serializeBinary = function() {
|
|
10125
|
+
var writer = new jspb.BinaryWriter();
|
|
10126
|
+
proto.checkoutserviceapi.CardMetadataResponse.serializeBinaryToWriter(this, writer);
|
|
10127
|
+
return writer.getResultBuffer();
|
|
10128
|
+
};
|
|
10129
|
+
|
|
10130
|
+
|
|
10131
|
+
/**
|
|
10132
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10133
|
+
* format), writing to the given BinaryWriter.
|
|
10134
|
+
* @param {!proto.checkoutserviceapi.CardMetadataResponse} message
|
|
10135
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10136
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10137
|
+
*/
|
|
10138
|
+
proto.checkoutserviceapi.CardMetadataResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10139
|
+
var f = undefined;
|
|
10140
|
+
f = message.getResponsecode();
|
|
10141
|
+
if (f != null) {
|
|
10142
|
+
writer.writeMessage(
|
|
10143
|
+
1,
|
|
10144
|
+
f,
|
|
10145
|
+
proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
|
|
10146
|
+
);
|
|
10147
|
+
}
|
|
10148
|
+
f = message.getBin();
|
|
10149
|
+
if (f.length > 0) {
|
|
10150
|
+
writer.writeString(
|
|
10151
|
+
2,
|
|
10152
|
+
f
|
|
10153
|
+
);
|
|
10154
|
+
}
|
|
10155
|
+
f = message.getScheme();
|
|
10156
|
+
if (f.length > 0) {
|
|
10157
|
+
writer.writeString(
|
|
10158
|
+
3,
|
|
10159
|
+
f
|
|
10160
|
+
);
|
|
10161
|
+
}
|
|
10162
|
+
f = message.getCardType();
|
|
10163
|
+
if (f.length > 0) {
|
|
10164
|
+
writer.writeString(
|
|
10165
|
+
4,
|
|
10166
|
+
f
|
|
10167
|
+
);
|
|
10168
|
+
}
|
|
10169
|
+
f = message.getCardCategory();
|
|
10170
|
+
if (f.length > 0) {
|
|
10171
|
+
writer.writeString(
|
|
10172
|
+
5,
|
|
10173
|
+
f
|
|
10174
|
+
);
|
|
10175
|
+
}
|
|
10176
|
+
f = message.getIssuer();
|
|
10177
|
+
if (f.length > 0) {
|
|
10178
|
+
writer.writeString(
|
|
10179
|
+
6,
|
|
10180
|
+
f
|
|
10181
|
+
);
|
|
10182
|
+
}
|
|
10183
|
+
f = message.getIssuerCountry();
|
|
10184
|
+
if (f.length > 0) {
|
|
10185
|
+
writer.writeString(
|
|
10186
|
+
7,
|
|
10187
|
+
f
|
|
10188
|
+
);
|
|
10189
|
+
}
|
|
10190
|
+
f = message.getCardPayouts();
|
|
10191
|
+
if (f != null) {
|
|
10192
|
+
writer.writeMessage(
|
|
10193
|
+
8,
|
|
10194
|
+
f,
|
|
10195
|
+
proto.checkoutserviceapi.CardPayouts.serializeBinaryToWriter
|
|
10196
|
+
);
|
|
10197
|
+
}
|
|
10198
|
+
f = message.getProductId();
|
|
10199
|
+
if (f.length > 0) {
|
|
10200
|
+
writer.writeString(
|
|
10201
|
+
9,
|
|
10202
|
+
f
|
|
10203
|
+
);
|
|
10204
|
+
}
|
|
10205
|
+
f = message.getProductType();
|
|
10206
|
+
if (f.length > 0) {
|
|
10207
|
+
writer.writeString(
|
|
10208
|
+
10,
|
|
10209
|
+
f
|
|
10210
|
+
);
|
|
10211
|
+
}
|
|
10212
|
+
};
|
|
10213
|
+
|
|
10214
|
+
|
|
10215
|
+
/**
|
|
10216
|
+
* optional ResponseCode responseCode = 1;
|
|
10217
|
+
* @return {?proto.checkoutserviceapi.ResponseCode}
|
|
10218
|
+
*/
|
|
10219
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getResponsecode = function() {
|
|
10220
|
+
return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
|
|
10221
|
+
jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 1));
|
|
10222
|
+
};
|
|
10223
|
+
|
|
10224
|
+
|
|
10225
|
+
/**
|
|
10226
|
+
* @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
|
|
10227
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10228
|
+
*/
|
|
10229
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setResponsecode = function(value) {
|
|
10230
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
10231
|
+
};
|
|
10232
|
+
|
|
10233
|
+
|
|
10234
|
+
/**
|
|
10235
|
+
* Clears the message field making it undefined.
|
|
10236
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10237
|
+
*/
|
|
10238
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.clearResponsecode = function() {
|
|
10239
|
+
return this.setResponsecode(undefined);
|
|
10240
|
+
};
|
|
10241
|
+
|
|
10242
|
+
|
|
10243
|
+
/**
|
|
10244
|
+
* Returns whether this field is set.
|
|
10245
|
+
* @return {boolean}
|
|
10246
|
+
*/
|
|
10247
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.hasResponsecode = function() {
|
|
10248
|
+
return jspb.Message.getField(this, 1) != null;
|
|
10249
|
+
};
|
|
10250
|
+
|
|
10251
|
+
|
|
10252
|
+
/**
|
|
10253
|
+
* optional string bin = 2;
|
|
10254
|
+
* @return {string}
|
|
10255
|
+
*/
|
|
10256
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getBin = function() {
|
|
10257
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10258
|
+
};
|
|
10259
|
+
|
|
10260
|
+
|
|
10261
|
+
/**
|
|
10262
|
+
* @param {string} value
|
|
10263
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10264
|
+
*/
|
|
10265
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setBin = function(value) {
|
|
10266
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10267
|
+
};
|
|
10268
|
+
|
|
10269
|
+
|
|
10270
|
+
/**
|
|
10271
|
+
* optional string scheme = 3;
|
|
10272
|
+
* @return {string}
|
|
10273
|
+
*/
|
|
10274
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getScheme = function() {
|
|
10275
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10276
|
+
};
|
|
10277
|
+
|
|
10278
|
+
|
|
10279
|
+
/**
|
|
10280
|
+
* @param {string} value
|
|
10281
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10282
|
+
*/
|
|
10283
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setScheme = function(value) {
|
|
10284
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10285
|
+
};
|
|
10286
|
+
|
|
10287
|
+
|
|
10288
|
+
/**
|
|
10289
|
+
* optional string card_type = 4;
|
|
10290
|
+
* @return {string}
|
|
10291
|
+
*/
|
|
10292
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getCardType = function() {
|
|
10293
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10294
|
+
};
|
|
10295
|
+
|
|
10296
|
+
|
|
10297
|
+
/**
|
|
10298
|
+
* @param {string} value
|
|
10299
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10300
|
+
*/
|
|
10301
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setCardType = function(value) {
|
|
10302
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
10303
|
+
};
|
|
10304
|
+
|
|
10305
|
+
|
|
10306
|
+
/**
|
|
10307
|
+
* optional string card_category = 5;
|
|
10308
|
+
* @return {string}
|
|
10309
|
+
*/
|
|
10310
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getCardCategory = function() {
|
|
10311
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
10312
|
+
};
|
|
10313
|
+
|
|
10314
|
+
|
|
10315
|
+
/**
|
|
10316
|
+
* @param {string} value
|
|
10317
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10318
|
+
*/
|
|
10319
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setCardCategory = function(value) {
|
|
10320
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
10321
|
+
};
|
|
10322
|
+
|
|
10323
|
+
|
|
10324
|
+
/**
|
|
10325
|
+
* optional string issuer = 6;
|
|
10326
|
+
* @return {string}
|
|
10327
|
+
*/
|
|
10328
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getIssuer = function() {
|
|
10329
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
10330
|
+
};
|
|
10331
|
+
|
|
10332
|
+
|
|
10333
|
+
/**
|
|
10334
|
+
* @param {string} value
|
|
10335
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10336
|
+
*/
|
|
10337
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setIssuer = function(value) {
|
|
10338
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
10339
|
+
};
|
|
10340
|
+
|
|
10341
|
+
|
|
10342
|
+
/**
|
|
10343
|
+
* optional string issuer_country = 7;
|
|
10344
|
+
* @return {string}
|
|
10345
|
+
*/
|
|
10346
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getIssuerCountry = function() {
|
|
10347
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
10348
|
+
};
|
|
10349
|
+
|
|
10350
|
+
|
|
10351
|
+
/**
|
|
10352
|
+
* @param {string} value
|
|
10353
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10354
|
+
*/
|
|
10355
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setIssuerCountry = function(value) {
|
|
10356
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
10357
|
+
};
|
|
10358
|
+
|
|
10359
|
+
|
|
10360
|
+
/**
|
|
10361
|
+
* optional CardPayouts card_payouts = 8;
|
|
10362
|
+
* @return {?proto.checkoutserviceapi.CardPayouts}
|
|
10363
|
+
*/
|
|
10364
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getCardPayouts = function() {
|
|
10365
|
+
return /** @type{?proto.checkoutserviceapi.CardPayouts} */ (
|
|
10366
|
+
jspb.Message.getWrapperField(this, proto.checkoutserviceapi.CardPayouts, 8));
|
|
10367
|
+
};
|
|
10368
|
+
|
|
10369
|
+
|
|
10370
|
+
/**
|
|
10371
|
+
* @param {?proto.checkoutserviceapi.CardPayouts|undefined} value
|
|
10372
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10373
|
+
*/
|
|
10374
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setCardPayouts = function(value) {
|
|
10375
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
10376
|
+
};
|
|
10377
|
+
|
|
10378
|
+
|
|
10379
|
+
/**
|
|
10380
|
+
* Clears the message field making it undefined.
|
|
10381
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10382
|
+
*/
|
|
10383
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.clearCardPayouts = function() {
|
|
10384
|
+
return this.setCardPayouts(undefined);
|
|
10385
|
+
};
|
|
10386
|
+
|
|
10387
|
+
|
|
10388
|
+
/**
|
|
10389
|
+
* Returns whether this field is set.
|
|
10390
|
+
* @return {boolean}
|
|
10391
|
+
*/
|
|
10392
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.hasCardPayouts = function() {
|
|
10393
|
+
return jspb.Message.getField(this, 8) != null;
|
|
10394
|
+
};
|
|
10395
|
+
|
|
10396
|
+
|
|
10397
|
+
/**
|
|
10398
|
+
* optional string product_id = 9;
|
|
10399
|
+
* @return {string}
|
|
10400
|
+
*/
|
|
10401
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getProductId = function() {
|
|
10402
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
10403
|
+
};
|
|
10404
|
+
|
|
10405
|
+
|
|
10406
|
+
/**
|
|
10407
|
+
* @param {string} value
|
|
10408
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10409
|
+
*/
|
|
10410
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setProductId = function(value) {
|
|
10411
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
10412
|
+
};
|
|
10413
|
+
|
|
10414
|
+
|
|
10415
|
+
/**
|
|
10416
|
+
* optional string product_type = 10;
|
|
10417
|
+
* @return {string}
|
|
10418
|
+
*/
|
|
10419
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.getProductType = function() {
|
|
10420
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
10421
|
+
};
|
|
10422
|
+
|
|
10423
|
+
|
|
10424
|
+
/**
|
|
10425
|
+
* @param {string} value
|
|
10426
|
+
* @return {!proto.checkoutserviceapi.CardMetadataResponse} returns this
|
|
10427
|
+
*/
|
|
10428
|
+
proto.checkoutserviceapi.CardMetadataResponse.prototype.setProductType = function(value) {
|
|
10429
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
10430
|
+
};
|
|
10431
|
+
|
|
10432
|
+
|
|
10433
|
+
|
|
10434
|
+
|
|
10435
|
+
|
|
10436
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10437
|
+
/**
|
|
10438
|
+
* Creates an object representation of this proto.
|
|
10439
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10440
|
+
* Optional fields that are not set will be set to undefined.
|
|
10441
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10442
|
+
* For the list of reserved names please see:
|
|
10443
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10444
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10445
|
+
* JSPB instance for transitional soy proto support:
|
|
10446
|
+
* http://goto/soy-param-migration
|
|
10447
|
+
* @return {!Object}
|
|
10448
|
+
*/
|
|
10449
|
+
proto.checkoutserviceapi.CardPayouts.prototype.toObject = function(opt_includeInstance) {
|
|
10450
|
+
return proto.checkoutserviceapi.CardPayouts.toObject(opt_includeInstance, this);
|
|
10451
|
+
};
|
|
10452
|
+
|
|
10453
|
+
|
|
10454
|
+
/**
|
|
10455
|
+
* Static version of the {@see toObject} method.
|
|
10456
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10457
|
+
* the JSPB instance for transitional soy proto support:
|
|
10458
|
+
* http://goto/soy-param-migration
|
|
10459
|
+
* @param {!proto.checkoutserviceapi.CardPayouts} msg The msg instance to transform.
|
|
10460
|
+
* @return {!Object}
|
|
10461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10462
|
+
*/
|
|
10463
|
+
proto.checkoutserviceapi.CardPayouts.toObject = function(includeInstance, msg) {
|
|
10464
|
+
var f, obj = {
|
|
10465
|
+
domesticNonMoneyTransfer: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8621
10466
|
crossBorderNonMoneyTransfer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8622
10467
|
domesticMoneyTransfer: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8623
10468
|
crossBorderMoneyTransfer: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
@@ -8837,7 +10682,7 @@ proto.checkoutserviceapi.SettlementFilesRequest.prototype.toObject = function(op
|
|
|
8837
10682
|
*/
|
|
8838
10683
|
proto.checkoutserviceapi.SettlementFilesRequest.toObject = function(includeInstance, msg) {
|
|
8839
10684
|
var f, obj = {
|
|
8840
|
-
|
|
10685
|
+
midtype: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
8841
10686
|
};
|
|
8842
10687
|
|
|
8843
10688
|
if (includeInstance) {
|
|
@@ -8874,6 +10719,10 @@ proto.checkoutserviceapi.SettlementFilesRequest.deserializeBinaryFromReader = fu
|
|
|
8874
10719
|
}
|
|
8875
10720
|
var field = reader.getFieldNumber();
|
|
8876
10721
|
switch (field) {
|
|
10722
|
+
case 1:
|
|
10723
|
+
var value = /** @type {!proto.checkoutserviceapi.SettlementFilesRequest.SettlementFilesRequestMidType} */ (reader.readEnum());
|
|
10724
|
+
msg.setMidtype(value);
|
|
10725
|
+
break;
|
|
8877
10726
|
default:
|
|
8878
10727
|
reader.skipField();
|
|
8879
10728
|
break;
|
|
@@ -8903,6 +10752,43 @@ proto.checkoutserviceapi.SettlementFilesRequest.prototype.serializeBinary = func
|
|
|
8903
10752
|
*/
|
|
8904
10753
|
proto.checkoutserviceapi.SettlementFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8905
10754
|
var f = undefined;
|
|
10755
|
+
f = message.getMidtype();
|
|
10756
|
+
if (f !== 0.0) {
|
|
10757
|
+
writer.writeEnum(
|
|
10758
|
+
1,
|
|
10759
|
+
f
|
|
10760
|
+
);
|
|
10761
|
+
}
|
|
10762
|
+
};
|
|
10763
|
+
|
|
10764
|
+
|
|
10765
|
+
/**
|
|
10766
|
+
* @enum {number}
|
|
10767
|
+
*/
|
|
10768
|
+
proto.checkoutserviceapi.SettlementFilesRequest.SettlementFilesRequestMidType = {
|
|
10769
|
+
SETTLEMENT_FILES_REQUEST_MID_TYPE_UNSPECIFIED: 0,
|
|
10770
|
+
SETTLEMENT_FILES_REQUEST_MID_TYPE_SME_PERSONAL: 1,
|
|
10771
|
+
SETTLEMENT_FILES_REQUEST_MID_TYPE_SME_BUSINESS: 2,
|
|
10772
|
+
SETTLEMENT_FILES_REQUEST_MID_TYPE_BPAY_PERSONAL: 3,
|
|
10773
|
+
SETTLEMENT_FILES_REQUEST_MID_TYPE_BPAY_BUSINESS: 4,
|
|
10774
|
+
SETTLEMENT_FILES_REQUEST_MID_TYPE_SME_PAYROLL: 5
|
|
10775
|
+
};
|
|
10776
|
+
|
|
10777
|
+
/**
|
|
10778
|
+
* optional SettlementFilesRequestMidType midType = 1;
|
|
10779
|
+
* @return {!proto.checkoutserviceapi.SettlementFilesRequest.SettlementFilesRequestMidType}
|
|
10780
|
+
*/
|
|
10781
|
+
proto.checkoutserviceapi.SettlementFilesRequest.prototype.getMidtype = function() {
|
|
10782
|
+
return /** @type {!proto.checkoutserviceapi.SettlementFilesRequest.SettlementFilesRequestMidType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10783
|
+
};
|
|
10784
|
+
|
|
10785
|
+
|
|
10786
|
+
/**
|
|
10787
|
+
* @param {!proto.checkoutserviceapi.SettlementFilesRequest.SettlementFilesRequestMidType} value
|
|
10788
|
+
* @return {!proto.checkoutserviceapi.SettlementFilesRequest} returns this
|
|
10789
|
+
*/
|
|
10790
|
+
proto.checkoutserviceapi.SettlementFilesRequest.prototype.setMidtype = function(value) {
|
|
10791
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
8906
10792
|
};
|
|
8907
10793
|
|
|
8908
10794
|
|
|
@@ -9385,21 +11271,151 @@ proto.checkoutserviceapi.ProcessSettlementFileRequest.toObject = function(includ
|
|
|
9385
11271
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9386
11272
|
* @return {!proto.checkoutserviceapi.ProcessSettlementFileRequest}
|
|
9387
11273
|
*/
|
|
9388
|
-
proto.checkoutserviceapi.ProcessSettlementFileRequest.deserializeBinary = function(bytes) {
|
|
11274
|
+
proto.checkoutserviceapi.ProcessSettlementFileRequest.deserializeBinary = function(bytes) {
|
|
11275
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11276
|
+
var msg = new proto.checkoutserviceapi.ProcessSettlementFileRequest;
|
|
11277
|
+
return proto.checkoutserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReader(msg, reader);
|
|
11278
|
+
};
|
|
11279
|
+
|
|
11280
|
+
|
|
11281
|
+
/**
|
|
11282
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11283
|
+
* given reader into the given message object.
|
|
11284
|
+
* @param {!proto.checkoutserviceapi.ProcessSettlementFileRequest} msg The message object to deserialize into.
|
|
11285
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11286
|
+
* @return {!proto.checkoutserviceapi.ProcessSettlementFileRequest}
|
|
11287
|
+
*/
|
|
11288
|
+
proto.checkoutserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11289
|
+
while (reader.nextField()) {
|
|
11290
|
+
if (reader.isEndGroup()) {
|
|
11291
|
+
break;
|
|
11292
|
+
}
|
|
11293
|
+
var field = reader.getFieldNumber();
|
|
11294
|
+
switch (field) {
|
|
11295
|
+
case 1:
|
|
11296
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11297
|
+
msg.setSettlementfileid(value);
|
|
11298
|
+
break;
|
|
11299
|
+
default:
|
|
11300
|
+
reader.skipField();
|
|
11301
|
+
break;
|
|
11302
|
+
}
|
|
11303
|
+
}
|
|
11304
|
+
return msg;
|
|
11305
|
+
};
|
|
11306
|
+
|
|
11307
|
+
|
|
11308
|
+
/**
|
|
11309
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11310
|
+
* @return {!Uint8Array}
|
|
11311
|
+
*/
|
|
11312
|
+
proto.checkoutserviceapi.ProcessSettlementFileRequest.prototype.serializeBinary = function() {
|
|
11313
|
+
var writer = new jspb.BinaryWriter();
|
|
11314
|
+
proto.checkoutserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter(this, writer);
|
|
11315
|
+
return writer.getResultBuffer();
|
|
11316
|
+
};
|
|
11317
|
+
|
|
11318
|
+
|
|
11319
|
+
/**
|
|
11320
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11321
|
+
* format), writing to the given BinaryWriter.
|
|
11322
|
+
* @param {!proto.checkoutserviceapi.ProcessSettlementFileRequest} message
|
|
11323
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11325
|
+
*/
|
|
11326
|
+
proto.checkoutserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11327
|
+
var f = undefined;
|
|
11328
|
+
f = message.getSettlementfileid();
|
|
11329
|
+
if (f !== 0) {
|
|
11330
|
+
writer.writeInt64(
|
|
11331
|
+
1,
|
|
11332
|
+
f
|
|
11333
|
+
);
|
|
11334
|
+
}
|
|
11335
|
+
};
|
|
11336
|
+
|
|
11337
|
+
|
|
11338
|
+
/**
|
|
11339
|
+
* optional int64 settlementFileId = 1;
|
|
11340
|
+
* @return {number}
|
|
11341
|
+
*/
|
|
11342
|
+
proto.checkoutserviceapi.ProcessSettlementFileRequest.prototype.getSettlementfileid = function() {
|
|
11343
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11344
|
+
};
|
|
11345
|
+
|
|
11346
|
+
|
|
11347
|
+
/**
|
|
11348
|
+
* @param {number} value
|
|
11349
|
+
* @return {!proto.checkoutserviceapi.ProcessSettlementFileRequest} returns this
|
|
11350
|
+
*/
|
|
11351
|
+
proto.checkoutserviceapi.ProcessSettlementFileRequest.prototype.setSettlementfileid = function(value) {
|
|
11352
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
11353
|
+
};
|
|
11354
|
+
|
|
11355
|
+
|
|
11356
|
+
|
|
11357
|
+
|
|
11358
|
+
|
|
11359
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11360
|
+
/**
|
|
11361
|
+
* Creates an object representation of this proto.
|
|
11362
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11363
|
+
* Optional fields that are not set will be set to undefined.
|
|
11364
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11365
|
+
* For the list of reserved names please see:
|
|
11366
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11367
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11368
|
+
* JSPB instance for transitional soy proto support:
|
|
11369
|
+
* http://goto/soy-param-migration
|
|
11370
|
+
* @return {!Object}
|
|
11371
|
+
*/
|
|
11372
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11373
|
+
return proto.checkoutserviceapi.SettlementFileDetailsRequest.toObject(opt_includeInstance, this);
|
|
11374
|
+
};
|
|
11375
|
+
|
|
11376
|
+
|
|
11377
|
+
/**
|
|
11378
|
+
* Static version of the {@see toObject} method.
|
|
11379
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11380
|
+
* the JSPB instance for transitional soy proto support:
|
|
11381
|
+
* http://goto/soy-param-migration
|
|
11382
|
+
* @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} msg The msg instance to transform.
|
|
11383
|
+
* @return {!Object}
|
|
11384
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11385
|
+
*/
|
|
11386
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.toObject = function(includeInstance, msg) {
|
|
11387
|
+
var f, obj = {
|
|
11388
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
11389
|
+
};
|
|
11390
|
+
|
|
11391
|
+
if (includeInstance) {
|
|
11392
|
+
obj.$jspbMessageInstance = msg;
|
|
11393
|
+
}
|
|
11394
|
+
return obj;
|
|
11395
|
+
};
|
|
11396
|
+
}
|
|
11397
|
+
|
|
11398
|
+
|
|
11399
|
+
/**
|
|
11400
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11401
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11402
|
+
* @return {!proto.checkoutserviceapi.SettlementFileDetailsRequest}
|
|
11403
|
+
*/
|
|
11404
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.deserializeBinary = function(bytes) {
|
|
9389
11405
|
var reader = new jspb.BinaryReader(bytes);
|
|
9390
|
-
var msg = new proto.checkoutserviceapi.
|
|
9391
|
-
return proto.checkoutserviceapi.
|
|
11406
|
+
var msg = new proto.checkoutserviceapi.SettlementFileDetailsRequest;
|
|
11407
|
+
return proto.checkoutserviceapi.SettlementFileDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
9392
11408
|
};
|
|
9393
11409
|
|
|
9394
11410
|
|
|
9395
11411
|
/**
|
|
9396
11412
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9397
11413
|
* given reader into the given message object.
|
|
9398
|
-
* @param {!proto.checkoutserviceapi.
|
|
11414
|
+
* @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} msg The message object to deserialize into.
|
|
9399
11415
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9400
|
-
* @return {!proto.checkoutserviceapi.
|
|
11416
|
+
* @return {!proto.checkoutserviceapi.SettlementFileDetailsRequest}
|
|
9401
11417
|
*/
|
|
9402
|
-
proto.checkoutserviceapi.
|
|
11418
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9403
11419
|
while (reader.nextField()) {
|
|
9404
11420
|
if (reader.isEndGroup()) {
|
|
9405
11421
|
break;
|
|
@@ -9423,9 +11439,9 @@ proto.checkoutserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReade
|
|
|
9423
11439
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9424
11440
|
* @return {!Uint8Array}
|
|
9425
11441
|
*/
|
|
9426
|
-
proto.checkoutserviceapi.
|
|
11442
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.serializeBinary = function() {
|
|
9427
11443
|
var writer = new jspb.BinaryWriter();
|
|
9428
|
-
proto.checkoutserviceapi.
|
|
11444
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
9429
11445
|
return writer.getResultBuffer();
|
|
9430
11446
|
};
|
|
9431
11447
|
|
|
@@ -9433,11 +11449,11 @@ proto.checkoutserviceapi.ProcessSettlementFileRequest.prototype.serializeBinary
|
|
|
9433
11449
|
/**
|
|
9434
11450
|
* Serializes the given message to binary data (in protobuf wire
|
|
9435
11451
|
* format), writing to the given BinaryWriter.
|
|
9436
|
-
* @param {!proto.checkoutserviceapi.
|
|
11452
|
+
* @param {!proto.checkoutserviceapi.SettlementFileDetailsRequest} message
|
|
9437
11453
|
* @param {!jspb.BinaryWriter} writer
|
|
9438
11454
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9439
11455
|
*/
|
|
9440
|
-
proto.checkoutserviceapi.
|
|
11456
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9441
11457
|
var f = undefined;
|
|
9442
11458
|
f = message.getSettlementfileid();
|
|
9443
11459
|
if (f !== 0) {
|
|
@@ -9453,21 +11469,28 @@ proto.checkoutserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter =
|
|
|
9453
11469
|
* optional int64 settlementFileId = 1;
|
|
9454
11470
|
* @return {number}
|
|
9455
11471
|
*/
|
|
9456
|
-
proto.checkoutserviceapi.
|
|
11472
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.getSettlementfileid = function() {
|
|
9457
11473
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
9458
11474
|
};
|
|
9459
11475
|
|
|
9460
11476
|
|
|
9461
11477
|
/**
|
|
9462
11478
|
* @param {number} value
|
|
9463
|
-
* @return {!proto.checkoutserviceapi.
|
|
11479
|
+
* @return {!proto.checkoutserviceapi.SettlementFileDetailsRequest} returns this
|
|
9464
11480
|
*/
|
|
9465
|
-
proto.checkoutserviceapi.
|
|
11481
|
+
proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.setSettlementfileid = function(value) {
|
|
9466
11482
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
9467
11483
|
};
|
|
9468
11484
|
|
|
9469
11485
|
|
|
9470
11486
|
|
|
11487
|
+
/**
|
|
11488
|
+
* List of repeated fields within this message type.
|
|
11489
|
+
* @private {!Array<number>}
|
|
11490
|
+
* @const
|
|
11491
|
+
*/
|
|
11492
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.repeatedFields_ = [6];
|
|
11493
|
+
|
|
9471
11494
|
|
|
9472
11495
|
|
|
9473
11496
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -9483,8 +11506,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9483
11506
|
* http://goto/soy-param-migration
|
|
9484
11507
|
* @return {!Object}
|
|
9485
11508
|
*/
|
|
9486
|
-
proto.checkoutserviceapi.
|
|
9487
|
-
return proto.checkoutserviceapi.
|
|
11509
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
11510
|
+
return proto.checkoutserviceapi.SettleFileDetailsResponse.toObject(opt_includeInstance, this);
|
|
9488
11511
|
};
|
|
9489
11512
|
|
|
9490
11513
|
|
|
@@ -9493,13 +11516,19 @@ proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.toObject = funct
|
|
|
9493
11516
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9494
11517
|
* the JSPB instance for transitional soy proto support:
|
|
9495
11518
|
* http://goto/soy-param-migration
|
|
9496
|
-
* @param {!proto.checkoutserviceapi.
|
|
11519
|
+
* @param {!proto.checkoutserviceapi.SettleFileDetailsResponse} msg The msg instance to transform.
|
|
9497
11520
|
* @return {!Object}
|
|
9498
11521
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9499
11522
|
*/
|
|
9500
|
-
proto.checkoutserviceapi.
|
|
11523
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.toObject = function(includeInstance, msg) {
|
|
9501
11524
|
var f, obj = {
|
|
9502
|
-
|
|
11525
|
+
responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
11526
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
11527
|
+
processdate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11528
|
+
totalsettlementamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
11529
|
+
numberofpayments: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
11530
|
+
settlementtransactionsList: jspb.Message.toObjectList(msg.getSettlementtransactionsList(),
|
|
11531
|
+
proto.checkoutserviceapi.SettlementTransaction.toObject, includeInstance)
|
|
9503
11532
|
};
|
|
9504
11533
|
|
|
9505
11534
|
if (includeInstance) {
|
|
@@ -9513,23 +11542,23 @@ proto.checkoutserviceapi.SettlementFileDetailsRequest.toObject = function(includ
|
|
|
9513
11542
|
/**
|
|
9514
11543
|
* Deserializes binary data (in protobuf wire format).
|
|
9515
11544
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9516
|
-
* @return {!proto.checkoutserviceapi.
|
|
11545
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse}
|
|
9517
11546
|
*/
|
|
9518
|
-
proto.checkoutserviceapi.
|
|
11547
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinary = function(bytes) {
|
|
9519
11548
|
var reader = new jspb.BinaryReader(bytes);
|
|
9520
|
-
var msg = new proto.checkoutserviceapi.
|
|
9521
|
-
return proto.checkoutserviceapi.
|
|
11549
|
+
var msg = new proto.checkoutserviceapi.SettleFileDetailsResponse;
|
|
11550
|
+
return proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
9522
11551
|
};
|
|
9523
11552
|
|
|
9524
11553
|
|
|
9525
11554
|
/**
|
|
9526
11555
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9527
11556
|
* given reader into the given message object.
|
|
9528
|
-
* @param {!proto.checkoutserviceapi.
|
|
11557
|
+
* @param {!proto.checkoutserviceapi.SettleFileDetailsResponse} msg The message object to deserialize into.
|
|
9529
11558
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9530
|
-
* @return {!proto.checkoutserviceapi.
|
|
11559
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse}
|
|
9531
11560
|
*/
|
|
9532
|
-
proto.checkoutserviceapi.
|
|
11561
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
9533
11562
|
while (reader.nextField()) {
|
|
9534
11563
|
if (reader.isEndGroup()) {
|
|
9535
11564
|
break;
|
|
@@ -9537,9 +11566,31 @@ proto.checkoutserviceapi.SettlementFileDetailsRequest.deserializeBinaryFromReade
|
|
|
9537
11566
|
var field = reader.getFieldNumber();
|
|
9538
11567
|
switch (field) {
|
|
9539
11568
|
case 1:
|
|
11569
|
+
var value = new proto.checkoutserviceapi.ResponseCode;
|
|
11570
|
+
reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
11571
|
+
msg.setResponsecode(value);
|
|
11572
|
+
break;
|
|
11573
|
+
case 2:
|
|
9540
11574
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9541
11575
|
msg.setSettlementfileid(value);
|
|
9542
11576
|
break;
|
|
11577
|
+
case 3:
|
|
11578
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11579
|
+
msg.setProcessdate(value);
|
|
11580
|
+
break;
|
|
11581
|
+
case 4:
|
|
11582
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11583
|
+
msg.setTotalsettlementamount(value);
|
|
11584
|
+
break;
|
|
11585
|
+
case 5:
|
|
11586
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
11587
|
+
msg.setNumberofpayments(value);
|
|
11588
|
+
break;
|
|
11589
|
+
case 6:
|
|
11590
|
+
var value = new proto.checkoutserviceapi.SettlementTransaction;
|
|
11591
|
+
reader.readMessage(value,proto.checkoutserviceapi.SettlementTransaction.deserializeBinaryFromReader);
|
|
11592
|
+
msg.addSettlementtransactions(value);
|
|
11593
|
+
break;
|
|
9543
11594
|
default:
|
|
9544
11595
|
reader.skipField();
|
|
9545
11596
|
break;
|
|
@@ -9553,9 +11604,9 @@ proto.checkoutserviceapi.SettlementFileDetailsRequest.deserializeBinaryFromReade
|
|
|
9553
11604
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9554
11605
|
* @return {!Uint8Array}
|
|
9555
11606
|
*/
|
|
9556
|
-
proto.checkoutserviceapi.
|
|
11607
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.serializeBinary = function() {
|
|
9557
11608
|
var writer = new jspb.BinaryWriter();
|
|
9558
|
-
proto.checkoutserviceapi.
|
|
11609
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.serializeBinaryToWriter(this, writer);
|
|
9559
11610
|
return writer.getResultBuffer();
|
|
9560
11611
|
};
|
|
9561
11612
|
|
|
@@ -9563,47 +11614,206 @@ proto.checkoutserviceapi.SettlementFileDetailsRequest.prototype.serializeBinary
|
|
|
9563
11614
|
/**
|
|
9564
11615
|
* Serializes the given message to binary data (in protobuf wire
|
|
9565
11616
|
* format), writing to the given BinaryWriter.
|
|
9566
|
-
* @param {!proto.checkoutserviceapi.
|
|
11617
|
+
* @param {!proto.checkoutserviceapi.SettleFileDetailsResponse} message
|
|
9567
11618
|
* @param {!jspb.BinaryWriter} writer
|
|
9568
11619
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9569
11620
|
*/
|
|
9570
|
-
proto.checkoutserviceapi.
|
|
11621
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
9571
11622
|
var f = undefined;
|
|
11623
|
+
f = message.getResponsecode();
|
|
11624
|
+
if (f != null) {
|
|
11625
|
+
writer.writeMessage(
|
|
11626
|
+
1,
|
|
11627
|
+
f,
|
|
11628
|
+
proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
|
|
11629
|
+
);
|
|
11630
|
+
}
|
|
9572
11631
|
f = message.getSettlementfileid();
|
|
9573
11632
|
if (f !== 0) {
|
|
9574
11633
|
writer.writeInt64(
|
|
9575
|
-
|
|
11634
|
+
2,
|
|
11635
|
+
f
|
|
11636
|
+
);
|
|
11637
|
+
}
|
|
11638
|
+
f = message.getProcessdate();
|
|
11639
|
+
if (f.length > 0) {
|
|
11640
|
+
writer.writeString(
|
|
11641
|
+
3,
|
|
11642
|
+
f
|
|
11643
|
+
);
|
|
11644
|
+
}
|
|
11645
|
+
f = message.getTotalsettlementamount();
|
|
11646
|
+
if (f !== 0.0) {
|
|
11647
|
+
writer.writeDouble(
|
|
11648
|
+
4,
|
|
11649
|
+
f
|
|
11650
|
+
);
|
|
11651
|
+
}
|
|
11652
|
+
f = message.getNumberofpayments();
|
|
11653
|
+
if (f !== 0) {
|
|
11654
|
+
writer.writeInt32(
|
|
11655
|
+
5,
|
|
9576
11656
|
f
|
|
9577
11657
|
);
|
|
9578
11658
|
}
|
|
11659
|
+
f = message.getSettlementtransactionsList();
|
|
11660
|
+
if (f.length > 0) {
|
|
11661
|
+
writer.writeRepeatedMessage(
|
|
11662
|
+
6,
|
|
11663
|
+
f,
|
|
11664
|
+
proto.checkoutserviceapi.SettlementTransaction.serializeBinaryToWriter
|
|
11665
|
+
);
|
|
11666
|
+
}
|
|
9579
11667
|
};
|
|
9580
11668
|
|
|
9581
11669
|
|
|
9582
11670
|
/**
|
|
9583
|
-
* optional
|
|
11671
|
+
* optional ResponseCode responseCode = 1;
|
|
11672
|
+
* @return {?proto.checkoutserviceapi.ResponseCode}
|
|
11673
|
+
*/
|
|
11674
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getResponsecode = function() {
|
|
11675
|
+
return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
|
|
11676
|
+
jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 1));
|
|
11677
|
+
};
|
|
11678
|
+
|
|
11679
|
+
|
|
11680
|
+
/**
|
|
11681
|
+
* @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
|
|
11682
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
|
|
11683
|
+
*/
|
|
11684
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setResponsecode = function(value) {
|
|
11685
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
11686
|
+
};
|
|
11687
|
+
|
|
11688
|
+
|
|
11689
|
+
/**
|
|
11690
|
+
* Clears the message field making it undefined.
|
|
11691
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
|
|
11692
|
+
*/
|
|
11693
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.clearResponsecode = function() {
|
|
11694
|
+
return this.setResponsecode(undefined);
|
|
11695
|
+
};
|
|
11696
|
+
|
|
11697
|
+
|
|
11698
|
+
/**
|
|
11699
|
+
* Returns whether this field is set.
|
|
11700
|
+
* @return {boolean}
|
|
11701
|
+
*/
|
|
11702
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.hasResponsecode = function() {
|
|
11703
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11704
|
+
};
|
|
11705
|
+
|
|
11706
|
+
|
|
11707
|
+
/**
|
|
11708
|
+
* optional int64 settlementFileId = 2;
|
|
9584
11709
|
* @return {number}
|
|
9585
11710
|
*/
|
|
9586
|
-
proto.checkoutserviceapi.
|
|
9587
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
11711
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getSettlementfileid = function() {
|
|
11712
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
11713
|
+
};
|
|
11714
|
+
|
|
11715
|
+
|
|
11716
|
+
/**
|
|
11717
|
+
* @param {number} value
|
|
11718
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
|
|
11719
|
+
*/
|
|
11720
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setSettlementfileid = function(value) {
|
|
11721
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
11722
|
+
};
|
|
11723
|
+
|
|
11724
|
+
|
|
11725
|
+
/**
|
|
11726
|
+
* optional string processDate = 3;
|
|
11727
|
+
* @return {string}
|
|
11728
|
+
*/
|
|
11729
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getProcessdate = function() {
|
|
11730
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11731
|
+
};
|
|
11732
|
+
|
|
11733
|
+
|
|
11734
|
+
/**
|
|
11735
|
+
* @param {string} value
|
|
11736
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
|
|
11737
|
+
*/
|
|
11738
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setProcessdate = function(value) {
|
|
11739
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
11740
|
+
};
|
|
11741
|
+
|
|
11742
|
+
|
|
11743
|
+
/**
|
|
11744
|
+
* optional double totalSettlementAmount = 4;
|
|
11745
|
+
* @return {number}
|
|
11746
|
+
*/
|
|
11747
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getTotalsettlementamount = function() {
|
|
11748
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
11749
|
+
};
|
|
11750
|
+
|
|
11751
|
+
|
|
11752
|
+
/**
|
|
11753
|
+
* @param {number} value
|
|
11754
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
|
|
11755
|
+
*/
|
|
11756
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setTotalsettlementamount = function(value) {
|
|
11757
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
11758
|
+
};
|
|
11759
|
+
|
|
11760
|
+
|
|
11761
|
+
/**
|
|
11762
|
+
* optional int32 numberOfPayments = 5;
|
|
11763
|
+
* @return {number}
|
|
11764
|
+
*/
|
|
11765
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getNumberofpayments = function() {
|
|
11766
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
11767
|
+
};
|
|
11768
|
+
|
|
11769
|
+
|
|
11770
|
+
/**
|
|
11771
|
+
* @param {number} value
|
|
11772
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
|
|
11773
|
+
*/
|
|
11774
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setNumberofpayments = function(value) {
|
|
11775
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
11776
|
+
};
|
|
11777
|
+
|
|
11778
|
+
|
|
11779
|
+
/**
|
|
11780
|
+
* repeated SettlementTransaction settlementTransactions = 6;
|
|
11781
|
+
* @return {!Array<!proto.checkoutserviceapi.SettlementTransaction>}
|
|
11782
|
+
*/
|
|
11783
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.getSettlementtransactionsList = function() {
|
|
11784
|
+
return /** @type{!Array<!proto.checkoutserviceapi.SettlementTransaction>} */ (
|
|
11785
|
+
jspb.Message.getRepeatedWrapperField(this, proto.checkoutserviceapi.SettlementTransaction, 6));
|
|
11786
|
+
};
|
|
11787
|
+
|
|
11788
|
+
|
|
11789
|
+
/**
|
|
11790
|
+
* @param {!Array<!proto.checkoutserviceapi.SettlementTransaction>} value
|
|
11791
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
|
|
11792
|
+
*/
|
|
11793
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.setSettlementtransactionsList = function(value) {
|
|
11794
|
+
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
9588
11795
|
};
|
|
9589
11796
|
|
|
9590
11797
|
|
|
9591
11798
|
/**
|
|
9592
|
-
* @param {
|
|
9593
|
-
* @
|
|
11799
|
+
* @param {!proto.checkoutserviceapi.SettlementTransaction=} opt_value
|
|
11800
|
+
* @param {number=} opt_index
|
|
11801
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction}
|
|
9594
11802
|
*/
|
|
9595
|
-
proto.checkoutserviceapi.
|
|
9596
|
-
return jspb.Message.
|
|
11803
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.addSettlementtransactions = function(opt_value, opt_index) {
|
|
11804
|
+
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.checkoutserviceapi.SettlementTransaction, opt_index);
|
|
9597
11805
|
};
|
|
9598
11806
|
|
|
9599
11807
|
|
|
9600
|
-
|
|
9601
11808
|
/**
|
|
9602
|
-
*
|
|
9603
|
-
* @
|
|
9604
|
-
* @const
|
|
11809
|
+
* Clears the list making it empty but non-null.
|
|
11810
|
+
* @return {!proto.checkoutserviceapi.SettleFileDetailsResponse} returns this
|
|
9605
11811
|
*/
|
|
9606
|
-
proto.checkoutserviceapi.SettleFileDetailsResponse.
|
|
11812
|
+
proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.clearSettlementtransactionsList = function() {
|
|
11813
|
+
return this.setSettlementtransactionsList([]);
|
|
11814
|
+
};
|
|
11815
|
+
|
|
11816
|
+
|
|
9607
11817
|
|
|
9608
11818
|
|
|
9609
11819
|
|
|
@@ -9620,8 +11830,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9620
11830
|
* http://goto/soy-param-migration
|
|
9621
11831
|
* @return {!Object}
|
|
9622
11832
|
*/
|
|
9623
|
-
proto.checkoutserviceapi.
|
|
9624
|
-
return proto.checkoutserviceapi.
|
|
11833
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
11834
|
+
return proto.checkoutserviceapi.SettlementTransaction.toObject(opt_includeInstance, this);
|
|
9625
11835
|
};
|
|
9626
11836
|
|
|
9627
11837
|
|
|
@@ -9630,19 +11840,18 @@ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.toObject = function
|
|
|
9630
11840
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9631
11841
|
* the JSPB instance for transitional soy proto support:
|
|
9632
11842
|
* http://goto/soy-param-migration
|
|
9633
|
-
* @param {!proto.checkoutserviceapi.
|
|
11843
|
+
* @param {!proto.checkoutserviceapi.SettlementTransaction} msg The msg instance to transform.
|
|
9634
11844
|
* @return {!Object}
|
|
9635
11845
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9636
11846
|
*/
|
|
9637
|
-
proto.checkoutserviceapi.
|
|
11847
|
+
proto.checkoutserviceapi.SettlementTransaction.toObject = function(includeInstance, msg) {
|
|
9638
11848
|
var f, obj = {
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
proto.checkoutserviceapi.SettlementTransaction.toObject, includeInstance)
|
|
11849
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11850
|
+
transactiondate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11851
|
+
paidamountincludingsurcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
11852
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
11853
|
+
billername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11854
|
+
status: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
9646
11855
|
};
|
|
9647
11856
|
|
|
9648
11857
|
if (includeInstance) {
|
|
@@ -9656,23 +11865,23 @@ proto.checkoutserviceapi.SettleFileDetailsResponse.toObject = function(includeIn
|
|
|
9656
11865
|
/**
|
|
9657
11866
|
* Deserializes binary data (in protobuf wire format).
|
|
9658
11867
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9659
|
-
* @return {!proto.checkoutserviceapi.
|
|
11868
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction}
|
|
9660
11869
|
*/
|
|
9661
|
-
proto.checkoutserviceapi.
|
|
11870
|
+
proto.checkoutserviceapi.SettlementTransaction.deserializeBinary = function(bytes) {
|
|
9662
11871
|
var reader = new jspb.BinaryReader(bytes);
|
|
9663
|
-
var msg = new proto.checkoutserviceapi.
|
|
9664
|
-
return proto.checkoutserviceapi.
|
|
11872
|
+
var msg = new proto.checkoutserviceapi.SettlementTransaction;
|
|
11873
|
+
return proto.checkoutserviceapi.SettlementTransaction.deserializeBinaryFromReader(msg, reader);
|
|
9665
11874
|
};
|
|
9666
11875
|
|
|
9667
11876
|
|
|
9668
11877
|
/**
|
|
9669
11878
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9670
11879
|
* given reader into the given message object.
|
|
9671
|
-
* @param {!proto.checkoutserviceapi.
|
|
11880
|
+
* @param {!proto.checkoutserviceapi.SettlementTransaction} msg The message object to deserialize into.
|
|
9672
11881
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9673
|
-
* @return {!proto.checkoutserviceapi.
|
|
11882
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction}
|
|
9674
11883
|
*/
|
|
9675
|
-
proto.checkoutserviceapi.
|
|
11884
|
+
proto.checkoutserviceapi.SettlementTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
9676
11885
|
while (reader.nextField()) {
|
|
9677
11886
|
if (reader.isEndGroup()) {
|
|
9678
11887
|
break;
|
|
@@ -9680,30 +11889,28 @@ proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader =
|
|
|
9680
11889
|
var field = reader.getFieldNumber();
|
|
9681
11890
|
switch (field) {
|
|
9682
11891
|
case 1:
|
|
9683
|
-
var value = new proto.checkoutserviceapi.ResponseCode;
|
|
9684
|
-
reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
9685
|
-
msg.setResponsecode(value);
|
|
9686
|
-
break;
|
|
9687
|
-
case 2:
|
|
9688
11892
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9689
|
-
msg.
|
|
11893
|
+
msg.setTransactionid(value);
|
|
9690
11894
|
break;
|
|
9691
|
-
case
|
|
11895
|
+
case 2:
|
|
9692
11896
|
var value = /** @type {string} */ (reader.readString());
|
|
9693
|
-
msg.
|
|
9694
|
-
break;
|
|
9695
|
-
case 4:
|
|
9696
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
9697
|
-
msg.setTotalsettlementamount(value);
|
|
11897
|
+
msg.setTransactiondate(value);
|
|
9698
11898
|
break;
|
|
9699
11899
|
case 5:
|
|
9700
|
-
var value = /** @type {number} */ (reader.
|
|
9701
|
-
msg.
|
|
11900
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
11901
|
+
msg.setPaidamountincludingsurcharge(value);
|
|
9702
11902
|
break;
|
|
9703
11903
|
case 6:
|
|
9704
|
-
var value =
|
|
9705
|
-
|
|
9706
|
-
|
|
11904
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11905
|
+
msg.setBillercode(value);
|
|
11906
|
+
break;
|
|
11907
|
+
case 7:
|
|
11908
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11909
|
+
msg.setBillername(value);
|
|
11910
|
+
break;
|
|
11911
|
+
case 8:
|
|
11912
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11913
|
+
msg.setStatus(value);
|
|
9707
11914
|
break;
|
|
9708
11915
|
default:
|
|
9709
11916
|
reader.skipField();
|
|
@@ -9718,9 +11925,9 @@ proto.checkoutserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader =
|
|
|
9718
11925
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9719
11926
|
* @return {!Uint8Array}
|
|
9720
11927
|
*/
|
|
9721
|
-
proto.checkoutserviceapi.
|
|
11928
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.serializeBinary = function() {
|
|
9722
11929
|
var writer = new jspb.BinaryWriter();
|
|
9723
|
-
proto.checkoutserviceapi.
|
|
11930
|
+
proto.checkoutserviceapi.SettlementTransaction.serializeBinaryToWriter(this, writer);
|
|
9724
11931
|
return writer.getResultBuffer();
|
|
9725
11932
|
};
|
|
9726
11933
|
|
|
@@ -9728,203 +11935,343 @@ proto.checkoutserviceapi.SettleFileDetailsResponse.prototype.serializeBinary = f
|
|
|
9728
11935
|
/**
|
|
9729
11936
|
* Serializes the given message to binary data (in protobuf wire
|
|
9730
11937
|
* format), writing to the given BinaryWriter.
|
|
9731
|
-
* @param {!proto.checkoutserviceapi.
|
|
11938
|
+
* @param {!proto.checkoutserviceapi.SettlementTransaction} message
|
|
9732
11939
|
* @param {!jspb.BinaryWriter} writer
|
|
9733
11940
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9734
11941
|
*/
|
|
9735
|
-
proto.checkoutserviceapi.
|
|
11942
|
+
proto.checkoutserviceapi.SettlementTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
9736
11943
|
var f = undefined;
|
|
9737
|
-
f = message.
|
|
9738
|
-
if (f != null) {
|
|
9739
|
-
writer.writeMessage(
|
|
9740
|
-
1,
|
|
9741
|
-
f,
|
|
9742
|
-
proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
|
|
9743
|
-
);
|
|
9744
|
-
}
|
|
9745
|
-
f = message.getSettlementfileid();
|
|
11944
|
+
f = message.getTransactionid();
|
|
9746
11945
|
if (f !== 0) {
|
|
9747
11946
|
writer.writeInt64(
|
|
9748
|
-
|
|
11947
|
+
1,
|
|
9749
11948
|
f
|
|
9750
11949
|
);
|
|
9751
11950
|
}
|
|
9752
|
-
f = message.
|
|
11951
|
+
f = message.getTransactiondate();
|
|
9753
11952
|
if (f.length > 0) {
|
|
9754
11953
|
writer.writeString(
|
|
9755
|
-
|
|
11954
|
+
2,
|
|
9756
11955
|
f
|
|
9757
11956
|
);
|
|
9758
11957
|
}
|
|
9759
|
-
f = message.
|
|
11958
|
+
f = message.getPaidamountincludingsurcharge();
|
|
9760
11959
|
if (f !== 0.0) {
|
|
9761
11960
|
writer.writeDouble(
|
|
9762
|
-
|
|
11961
|
+
5,
|
|
9763
11962
|
f
|
|
9764
11963
|
);
|
|
9765
11964
|
}
|
|
9766
|
-
f = message.
|
|
9767
|
-
if (f
|
|
9768
|
-
writer.
|
|
9769
|
-
|
|
11965
|
+
f = message.getBillercode();
|
|
11966
|
+
if (f.length > 0) {
|
|
11967
|
+
writer.writeString(
|
|
11968
|
+
6,
|
|
9770
11969
|
f
|
|
9771
11970
|
);
|
|
9772
11971
|
}
|
|
9773
|
-
f = message.
|
|
11972
|
+
f = message.getBillername();
|
|
9774
11973
|
if (f.length > 0) {
|
|
9775
|
-
writer.
|
|
9776
|
-
|
|
9777
|
-
f
|
|
9778
|
-
|
|
11974
|
+
writer.writeString(
|
|
11975
|
+
7,
|
|
11976
|
+
f
|
|
11977
|
+
);
|
|
11978
|
+
}
|
|
11979
|
+
f = message.getStatus();
|
|
11980
|
+
if (f.length > 0) {
|
|
11981
|
+
writer.writeString(
|
|
11982
|
+
8,
|
|
11983
|
+
f
|
|
9779
11984
|
);
|
|
9780
11985
|
}
|
|
9781
11986
|
};
|
|
9782
11987
|
|
|
9783
11988
|
|
|
9784
11989
|
/**
|
|
9785
|
-
* optional
|
|
9786
|
-
* @return {
|
|
11990
|
+
* optional int64 transactionId = 1;
|
|
11991
|
+
* @return {number}
|
|
9787
11992
|
*/
|
|
9788
|
-
proto.checkoutserviceapi.
|
|
9789
|
-
return /** @type{
|
|
9790
|
-
jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 1));
|
|
11993
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.getTransactionid = function() {
|
|
11994
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
9791
11995
|
};
|
|
9792
11996
|
|
|
9793
11997
|
|
|
9794
11998
|
/**
|
|
9795
|
-
* @param {
|
|
9796
|
-
* @return {!proto.checkoutserviceapi.
|
|
9797
|
-
*/
|
|
9798
|
-
proto.checkoutserviceapi.
|
|
9799
|
-
return jspb.Message.
|
|
11999
|
+
* @param {number} value
|
|
12000
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
|
|
12001
|
+
*/
|
|
12002
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.setTransactionid = function(value) {
|
|
12003
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
9800
12004
|
};
|
|
9801
12005
|
|
|
9802
12006
|
|
|
9803
12007
|
/**
|
|
9804
|
-
*
|
|
9805
|
-
* @return {
|
|
12008
|
+
* optional string transactionDate = 2;
|
|
12009
|
+
* @return {string}
|
|
9806
12010
|
*/
|
|
9807
|
-
proto.checkoutserviceapi.
|
|
9808
|
-
return
|
|
12011
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.getTransactiondate = function() {
|
|
12012
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9809
12013
|
};
|
|
9810
12014
|
|
|
9811
12015
|
|
|
9812
12016
|
/**
|
|
9813
|
-
*
|
|
9814
|
-
* @return {
|
|
12017
|
+
* @param {string} value
|
|
12018
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
|
|
9815
12019
|
*/
|
|
9816
|
-
proto.checkoutserviceapi.
|
|
9817
|
-
return jspb.Message.
|
|
12020
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.setTransactiondate = function(value) {
|
|
12021
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9818
12022
|
};
|
|
9819
12023
|
|
|
9820
12024
|
|
|
9821
12025
|
/**
|
|
9822
|
-
* optional
|
|
12026
|
+
* optional double paidAmountIncludingSurcharge = 5;
|
|
9823
12027
|
* @return {number}
|
|
9824
12028
|
*/
|
|
9825
|
-
proto.checkoutserviceapi.
|
|
9826
|
-
return /** @type {number} */ (jspb.Message.
|
|
12029
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.getPaidamountincludingsurcharge = function() {
|
|
12030
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
12031
|
+
};
|
|
12032
|
+
|
|
12033
|
+
|
|
12034
|
+
/**
|
|
12035
|
+
* @param {number} value
|
|
12036
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
|
|
12037
|
+
*/
|
|
12038
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.setPaidamountincludingsurcharge = function(value) {
|
|
12039
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
12040
|
+
};
|
|
12041
|
+
|
|
12042
|
+
|
|
12043
|
+
/**
|
|
12044
|
+
* optional string billerCode = 6;
|
|
12045
|
+
* @return {string}
|
|
12046
|
+
*/
|
|
12047
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.getBillercode = function() {
|
|
12048
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
12049
|
+
};
|
|
12050
|
+
|
|
12051
|
+
|
|
12052
|
+
/**
|
|
12053
|
+
* @param {string} value
|
|
12054
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
|
|
12055
|
+
*/
|
|
12056
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.setBillercode = function(value) {
|
|
12057
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
12058
|
+
};
|
|
12059
|
+
|
|
12060
|
+
|
|
12061
|
+
/**
|
|
12062
|
+
* optional string billerName = 7;
|
|
12063
|
+
* @return {string}
|
|
12064
|
+
*/
|
|
12065
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.getBillername = function() {
|
|
12066
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
12067
|
+
};
|
|
12068
|
+
|
|
12069
|
+
|
|
12070
|
+
/**
|
|
12071
|
+
* @param {string} value
|
|
12072
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
|
|
12073
|
+
*/
|
|
12074
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.setBillername = function(value) {
|
|
12075
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
12076
|
+
};
|
|
12077
|
+
|
|
12078
|
+
|
|
12079
|
+
/**
|
|
12080
|
+
* optional string status = 8;
|
|
12081
|
+
* @return {string}
|
|
12082
|
+
*/
|
|
12083
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.getStatus = function() {
|
|
12084
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
12085
|
+
};
|
|
12086
|
+
|
|
12087
|
+
|
|
12088
|
+
/**
|
|
12089
|
+
* @param {string} value
|
|
12090
|
+
* @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
|
|
12091
|
+
*/
|
|
12092
|
+
proto.checkoutserviceapi.SettlementTransaction.prototype.setStatus = function(value) {
|
|
12093
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
12094
|
+
};
|
|
12095
|
+
|
|
12096
|
+
|
|
12097
|
+
|
|
12098
|
+
|
|
12099
|
+
|
|
12100
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12101
|
+
/**
|
|
12102
|
+
* Creates an object representation of this proto.
|
|
12103
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12104
|
+
* Optional fields that are not set will be set to undefined.
|
|
12105
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12106
|
+
* For the list of reserved names please see:
|
|
12107
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12108
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12109
|
+
* JSPB instance for transitional soy proto support:
|
|
12110
|
+
* http://goto/soy-param-migration
|
|
12111
|
+
* @return {!Object}
|
|
12112
|
+
*/
|
|
12113
|
+
proto.checkoutserviceapi.PubSubPushRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12114
|
+
return proto.checkoutserviceapi.PubSubPushRequest.toObject(opt_includeInstance, this);
|
|
9827
12115
|
};
|
|
9828
12116
|
|
|
9829
12117
|
|
|
9830
12118
|
/**
|
|
9831
|
-
* @
|
|
9832
|
-
* @
|
|
12119
|
+
* Static version of the {@see toObject} method.
|
|
12120
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12121
|
+
* the JSPB instance for transitional soy proto support:
|
|
12122
|
+
* http://goto/soy-param-migration
|
|
12123
|
+
* @param {!proto.checkoutserviceapi.PubSubPushRequest} msg The msg instance to transform.
|
|
12124
|
+
* @return {!Object}
|
|
12125
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9833
12126
|
*/
|
|
9834
|
-
proto.checkoutserviceapi.
|
|
9835
|
-
|
|
12127
|
+
proto.checkoutserviceapi.PubSubPushRequest.toObject = function(includeInstance, msg) {
|
|
12128
|
+
var f, obj = {
|
|
12129
|
+
message: (f = msg.getMessage()) && proto.checkoutserviceapi.PubSubMessage.toObject(includeInstance, f),
|
|
12130
|
+
subscription: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
12131
|
+
};
|
|
12132
|
+
|
|
12133
|
+
if (includeInstance) {
|
|
12134
|
+
obj.$jspbMessageInstance = msg;
|
|
12135
|
+
}
|
|
12136
|
+
return obj;
|
|
9836
12137
|
};
|
|
12138
|
+
}
|
|
9837
12139
|
|
|
9838
12140
|
|
|
9839
12141
|
/**
|
|
9840
|
-
*
|
|
9841
|
-
* @
|
|
12142
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12143
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12144
|
+
* @return {!proto.checkoutserviceapi.PubSubPushRequest}
|
|
9842
12145
|
*/
|
|
9843
|
-
proto.checkoutserviceapi.
|
|
9844
|
-
|
|
12146
|
+
proto.checkoutserviceapi.PubSubPushRequest.deserializeBinary = function(bytes) {
|
|
12147
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12148
|
+
var msg = new proto.checkoutserviceapi.PubSubPushRequest;
|
|
12149
|
+
return proto.checkoutserviceapi.PubSubPushRequest.deserializeBinaryFromReader(msg, reader);
|
|
9845
12150
|
};
|
|
9846
12151
|
|
|
9847
12152
|
|
|
9848
12153
|
/**
|
|
9849
|
-
*
|
|
9850
|
-
*
|
|
12154
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12155
|
+
* given reader into the given message object.
|
|
12156
|
+
* @param {!proto.checkoutserviceapi.PubSubPushRequest} msg The message object to deserialize into.
|
|
12157
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12158
|
+
* @return {!proto.checkoutserviceapi.PubSubPushRequest}
|
|
9851
12159
|
*/
|
|
9852
|
-
proto.checkoutserviceapi.
|
|
9853
|
-
|
|
12160
|
+
proto.checkoutserviceapi.PubSubPushRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12161
|
+
while (reader.nextField()) {
|
|
12162
|
+
if (reader.isEndGroup()) {
|
|
12163
|
+
break;
|
|
12164
|
+
}
|
|
12165
|
+
var field = reader.getFieldNumber();
|
|
12166
|
+
switch (field) {
|
|
12167
|
+
case 1:
|
|
12168
|
+
var value = new proto.checkoutserviceapi.PubSubMessage;
|
|
12169
|
+
reader.readMessage(value,proto.checkoutserviceapi.PubSubMessage.deserializeBinaryFromReader);
|
|
12170
|
+
msg.setMessage(value);
|
|
12171
|
+
break;
|
|
12172
|
+
case 2:
|
|
12173
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12174
|
+
msg.setSubscription(value);
|
|
12175
|
+
break;
|
|
12176
|
+
default:
|
|
12177
|
+
reader.skipField();
|
|
12178
|
+
break;
|
|
12179
|
+
}
|
|
12180
|
+
}
|
|
12181
|
+
return msg;
|
|
9854
12182
|
};
|
|
9855
12183
|
|
|
9856
12184
|
|
|
9857
12185
|
/**
|
|
9858
|
-
*
|
|
9859
|
-
* @return {
|
|
12186
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12187
|
+
* @return {!Uint8Array}
|
|
9860
12188
|
*/
|
|
9861
|
-
proto.checkoutserviceapi.
|
|
9862
|
-
|
|
12189
|
+
proto.checkoutserviceapi.PubSubPushRequest.prototype.serializeBinary = function() {
|
|
12190
|
+
var writer = new jspb.BinaryWriter();
|
|
12191
|
+
proto.checkoutserviceapi.PubSubPushRequest.serializeBinaryToWriter(this, writer);
|
|
12192
|
+
return writer.getResultBuffer();
|
|
9863
12193
|
};
|
|
9864
12194
|
|
|
9865
12195
|
|
|
9866
12196
|
/**
|
|
9867
|
-
*
|
|
9868
|
-
*
|
|
12197
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12198
|
+
* format), writing to the given BinaryWriter.
|
|
12199
|
+
* @param {!proto.checkoutserviceapi.PubSubPushRequest} message
|
|
12200
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12201
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9869
12202
|
*/
|
|
9870
|
-
proto.checkoutserviceapi.
|
|
9871
|
-
|
|
12203
|
+
proto.checkoutserviceapi.PubSubPushRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12204
|
+
var f = undefined;
|
|
12205
|
+
f = message.getMessage();
|
|
12206
|
+
if (f != null) {
|
|
12207
|
+
writer.writeMessage(
|
|
12208
|
+
1,
|
|
12209
|
+
f,
|
|
12210
|
+
proto.checkoutserviceapi.PubSubMessage.serializeBinaryToWriter
|
|
12211
|
+
);
|
|
12212
|
+
}
|
|
12213
|
+
f = message.getSubscription();
|
|
12214
|
+
if (f.length > 0) {
|
|
12215
|
+
writer.writeString(
|
|
12216
|
+
2,
|
|
12217
|
+
f
|
|
12218
|
+
);
|
|
12219
|
+
}
|
|
9872
12220
|
};
|
|
9873
12221
|
|
|
9874
12222
|
|
|
9875
12223
|
/**
|
|
9876
|
-
* optional
|
|
9877
|
-
* @return {
|
|
12224
|
+
* optional PubSubMessage message = 1;
|
|
12225
|
+
* @return {?proto.checkoutserviceapi.PubSubMessage}
|
|
9878
12226
|
*/
|
|
9879
|
-
proto.checkoutserviceapi.
|
|
9880
|
-
return /** @type
|
|
12227
|
+
proto.checkoutserviceapi.PubSubPushRequest.prototype.getMessage = function() {
|
|
12228
|
+
return /** @type{?proto.checkoutserviceapi.PubSubMessage} */ (
|
|
12229
|
+
jspb.Message.getWrapperField(this, proto.checkoutserviceapi.PubSubMessage, 1));
|
|
9881
12230
|
};
|
|
9882
12231
|
|
|
9883
12232
|
|
|
9884
12233
|
/**
|
|
9885
|
-
* @param {
|
|
9886
|
-
* @return {!proto.checkoutserviceapi.
|
|
9887
|
-
|
|
9888
|
-
proto.checkoutserviceapi.
|
|
9889
|
-
return jspb.Message.
|
|
12234
|
+
* @param {?proto.checkoutserviceapi.PubSubMessage|undefined} value
|
|
12235
|
+
* @return {!proto.checkoutserviceapi.PubSubPushRequest} returns this
|
|
12236
|
+
*/
|
|
12237
|
+
proto.checkoutserviceapi.PubSubPushRequest.prototype.setMessage = function(value) {
|
|
12238
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
9890
12239
|
};
|
|
9891
12240
|
|
|
9892
12241
|
|
|
9893
12242
|
/**
|
|
9894
|
-
*
|
|
9895
|
-
* @return {!
|
|
12243
|
+
* Clears the message field making it undefined.
|
|
12244
|
+
* @return {!proto.checkoutserviceapi.PubSubPushRequest} returns this
|
|
9896
12245
|
*/
|
|
9897
|
-
proto.checkoutserviceapi.
|
|
9898
|
-
return
|
|
9899
|
-
jspb.Message.getRepeatedWrapperField(this, proto.checkoutserviceapi.SettlementTransaction, 6));
|
|
12246
|
+
proto.checkoutserviceapi.PubSubPushRequest.prototype.clearMessage = function() {
|
|
12247
|
+
return this.setMessage(undefined);
|
|
9900
12248
|
};
|
|
9901
12249
|
|
|
9902
12250
|
|
|
9903
12251
|
/**
|
|
9904
|
-
*
|
|
9905
|
-
* @return {
|
|
9906
|
-
*/
|
|
9907
|
-
proto.checkoutserviceapi.
|
|
9908
|
-
return jspb.Message.
|
|
12252
|
+
* Returns whether this field is set.
|
|
12253
|
+
* @return {boolean}
|
|
12254
|
+
*/
|
|
12255
|
+
proto.checkoutserviceapi.PubSubPushRequest.prototype.hasMessage = function() {
|
|
12256
|
+
return jspb.Message.getField(this, 1) != null;
|
|
9909
12257
|
};
|
|
9910
12258
|
|
|
9911
12259
|
|
|
9912
12260
|
/**
|
|
9913
|
-
*
|
|
9914
|
-
* @
|
|
9915
|
-
* @return {!proto.checkoutserviceapi.SettlementTransaction}
|
|
12261
|
+
* optional string subscription = 2;
|
|
12262
|
+
* @return {string}
|
|
9916
12263
|
*/
|
|
9917
|
-
proto.checkoutserviceapi.
|
|
9918
|
-
return jspb.Message.
|
|
12264
|
+
proto.checkoutserviceapi.PubSubPushRequest.prototype.getSubscription = function() {
|
|
12265
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9919
12266
|
};
|
|
9920
12267
|
|
|
9921
12268
|
|
|
9922
12269
|
/**
|
|
9923
|
-
*
|
|
9924
|
-
* @return {!proto.checkoutserviceapi.
|
|
12270
|
+
* @param {string} value
|
|
12271
|
+
* @return {!proto.checkoutserviceapi.PubSubPushRequest} returns this
|
|
9925
12272
|
*/
|
|
9926
|
-
proto.checkoutserviceapi.
|
|
9927
|
-
return
|
|
12273
|
+
proto.checkoutserviceapi.PubSubPushRequest.prototype.setSubscription = function(value) {
|
|
12274
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9928
12275
|
};
|
|
9929
12276
|
|
|
9930
12277
|
|
|
@@ -9944,8 +12291,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9944
12291
|
* http://goto/soy-param-migration
|
|
9945
12292
|
* @return {!Object}
|
|
9946
12293
|
*/
|
|
9947
|
-
proto.checkoutserviceapi.
|
|
9948
|
-
return proto.checkoutserviceapi.
|
|
12294
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.toObject = function(opt_includeInstance) {
|
|
12295
|
+
return proto.checkoutserviceapi.PubSubMessage.toObject(opt_includeInstance, this);
|
|
9949
12296
|
};
|
|
9950
12297
|
|
|
9951
12298
|
|
|
@@ -9954,18 +12301,16 @@ proto.checkoutserviceapi.SettlementTransaction.prototype.toObject = function(opt
|
|
|
9954
12301
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9955
12302
|
* the JSPB instance for transitional soy proto support:
|
|
9956
12303
|
* http://goto/soy-param-migration
|
|
9957
|
-
* @param {!proto.checkoutserviceapi.
|
|
12304
|
+
* @param {!proto.checkoutserviceapi.PubSubMessage} msg The msg instance to transform.
|
|
9958
12305
|
* @return {!Object}
|
|
9959
12306
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9960
12307
|
*/
|
|
9961
|
-
proto.checkoutserviceapi.
|
|
12308
|
+
proto.checkoutserviceapi.PubSubMessage.toObject = function(includeInstance, msg) {
|
|
9962
12309
|
var f, obj = {
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
billername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9968
|
-
status: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
12310
|
+
attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
12311
|
+
data: msg.getData_asB64(),
|
|
12312
|
+
messageid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12313
|
+
publishtime: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
9969
12314
|
};
|
|
9970
12315
|
|
|
9971
12316
|
if (includeInstance) {
|
|
@@ -9979,23 +12324,23 @@ proto.checkoutserviceapi.SettlementTransaction.toObject = function(includeInstan
|
|
|
9979
12324
|
/**
|
|
9980
12325
|
* Deserializes binary data (in protobuf wire format).
|
|
9981
12326
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9982
|
-
* @return {!proto.checkoutserviceapi.
|
|
12327
|
+
* @return {!proto.checkoutserviceapi.PubSubMessage}
|
|
9983
12328
|
*/
|
|
9984
|
-
proto.checkoutserviceapi.
|
|
12329
|
+
proto.checkoutserviceapi.PubSubMessage.deserializeBinary = function(bytes) {
|
|
9985
12330
|
var reader = new jspb.BinaryReader(bytes);
|
|
9986
|
-
var msg = new proto.checkoutserviceapi.
|
|
9987
|
-
return proto.checkoutserviceapi.
|
|
12331
|
+
var msg = new proto.checkoutserviceapi.PubSubMessage;
|
|
12332
|
+
return proto.checkoutserviceapi.PubSubMessage.deserializeBinaryFromReader(msg, reader);
|
|
9988
12333
|
};
|
|
9989
12334
|
|
|
9990
12335
|
|
|
9991
12336
|
/**
|
|
9992
12337
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9993
12338
|
* given reader into the given message object.
|
|
9994
|
-
* @param {!proto.checkoutserviceapi.
|
|
12339
|
+
* @param {!proto.checkoutserviceapi.PubSubMessage} msg The message object to deserialize into.
|
|
9995
12340
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9996
|
-
* @return {!proto.checkoutserviceapi.
|
|
12341
|
+
* @return {!proto.checkoutserviceapi.PubSubMessage}
|
|
9997
12342
|
*/
|
|
9998
|
-
proto.checkoutserviceapi.
|
|
12343
|
+
proto.checkoutserviceapi.PubSubMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
9999
12344
|
while (reader.nextField()) {
|
|
10000
12345
|
if (reader.isEndGroup()) {
|
|
10001
12346
|
break;
|
|
@@ -10003,28 +12348,22 @@ proto.checkoutserviceapi.SettlementTransaction.deserializeBinaryFromReader = fun
|
|
|
10003
12348
|
var field = reader.getFieldNumber();
|
|
10004
12349
|
switch (field) {
|
|
10005
12350
|
case 1:
|
|
10006
|
-
var value =
|
|
10007
|
-
|
|
12351
|
+
var value = msg.getAttributesMap();
|
|
12352
|
+
reader.readMessage(value, function(message, reader) {
|
|
12353
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
12354
|
+
});
|
|
10008
12355
|
break;
|
|
10009
12356
|
case 2:
|
|
10010
|
-
var value = /** @type {
|
|
10011
|
-
msg.
|
|
10012
|
-
break;
|
|
10013
|
-
case 5:
|
|
10014
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
10015
|
-
msg.setPaidamountincludingsurcharge(value);
|
|
10016
|
-
break;
|
|
10017
|
-
case 6:
|
|
10018
|
-
var value = /** @type {string} */ (reader.readString());
|
|
10019
|
-
msg.setBillercode(value);
|
|
12357
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
12358
|
+
msg.setData(value);
|
|
10020
12359
|
break;
|
|
10021
|
-
case
|
|
12360
|
+
case 3:
|
|
10022
12361
|
var value = /** @type {string} */ (reader.readString());
|
|
10023
|
-
msg.
|
|
12362
|
+
msg.setMessageid(value);
|
|
10024
12363
|
break;
|
|
10025
|
-
case
|
|
12364
|
+
case 4:
|
|
10026
12365
|
var value = /** @type {string} */ (reader.readString());
|
|
10027
|
-
msg.
|
|
12366
|
+
msg.setPublishtime(value);
|
|
10028
12367
|
break;
|
|
10029
12368
|
default:
|
|
10030
12369
|
reader.skipField();
|
|
@@ -10039,9 +12378,9 @@ proto.checkoutserviceapi.SettlementTransaction.deserializeBinaryFromReader = fun
|
|
|
10039
12378
|
* Serializes the message to binary data (in protobuf wire format).
|
|
10040
12379
|
* @return {!Uint8Array}
|
|
10041
12380
|
*/
|
|
10042
|
-
proto.checkoutserviceapi.
|
|
12381
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.serializeBinary = function() {
|
|
10043
12382
|
var writer = new jspb.BinaryWriter();
|
|
10044
|
-
proto.checkoutserviceapi.
|
|
12383
|
+
proto.checkoutserviceapi.PubSubMessage.serializeBinaryToWriter(this, writer);
|
|
10045
12384
|
return writer.getResultBuffer();
|
|
10046
12385
|
};
|
|
10047
12386
|
|
|
@@ -10049,51 +12388,34 @@ proto.checkoutserviceapi.SettlementTransaction.prototype.serializeBinary = funct
|
|
|
10049
12388
|
/**
|
|
10050
12389
|
* Serializes the given message to binary data (in protobuf wire
|
|
10051
12390
|
* format), writing to the given BinaryWriter.
|
|
10052
|
-
* @param {!proto.checkoutserviceapi.
|
|
12391
|
+
* @param {!proto.checkoutserviceapi.PubSubMessage} message
|
|
10053
12392
|
* @param {!jspb.BinaryWriter} writer
|
|
10054
12393
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10055
12394
|
*/
|
|
10056
|
-
proto.checkoutserviceapi.
|
|
12395
|
+
proto.checkoutserviceapi.PubSubMessage.serializeBinaryToWriter = function(message, writer) {
|
|
10057
12396
|
var f = undefined;
|
|
10058
|
-
f = message.
|
|
10059
|
-
if (f
|
|
10060
|
-
writer.
|
|
10061
|
-
1,
|
|
10062
|
-
f
|
|
10063
|
-
);
|
|
12397
|
+
f = message.getAttributesMap(true);
|
|
12398
|
+
if (f && f.getLength() > 0) {
|
|
12399
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
10064
12400
|
}
|
|
10065
|
-
f = message.
|
|
12401
|
+
f = message.getData_asU8();
|
|
10066
12402
|
if (f.length > 0) {
|
|
10067
|
-
writer.
|
|
12403
|
+
writer.writeBytes(
|
|
10068
12404
|
2,
|
|
10069
12405
|
f
|
|
10070
12406
|
);
|
|
10071
12407
|
}
|
|
10072
|
-
f = message.
|
|
10073
|
-
if (f !== 0.0) {
|
|
10074
|
-
writer.writeDouble(
|
|
10075
|
-
5,
|
|
10076
|
-
f
|
|
10077
|
-
);
|
|
10078
|
-
}
|
|
10079
|
-
f = message.getBillercode();
|
|
10080
|
-
if (f.length > 0) {
|
|
10081
|
-
writer.writeString(
|
|
10082
|
-
6,
|
|
10083
|
-
f
|
|
10084
|
-
);
|
|
10085
|
-
}
|
|
10086
|
-
f = message.getBillername();
|
|
12408
|
+
f = message.getMessageid();
|
|
10087
12409
|
if (f.length > 0) {
|
|
10088
12410
|
writer.writeString(
|
|
10089
|
-
|
|
12411
|
+
3,
|
|
10090
12412
|
f
|
|
10091
12413
|
);
|
|
10092
12414
|
}
|
|
10093
|
-
f = message.
|
|
12415
|
+
f = message.getPublishtime();
|
|
10094
12416
|
if (f.length > 0) {
|
|
10095
12417
|
writer.writeString(
|
|
10096
|
-
|
|
12418
|
+
4,
|
|
10097
12419
|
f
|
|
10098
12420
|
);
|
|
10099
12421
|
}
|
|
@@ -10101,110 +12423,102 @@ proto.checkoutserviceapi.SettlementTransaction.serializeBinaryToWriter = functio
|
|
|
10101
12423
|
|
|
10102
12424
|
|
|
10103
12425
|
/**
|
|
10104
|
-
*
|
|
10105
|
-
* @
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10109
|
-
};
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
/**
|
|
10113
|
-
* @param {number} value
|
|
10114
|
-
* @return {!proto.checkoutserviceapi.SettlementTransaction} returns this
|
|
10115
|
-
*/
|
|
10116
|
-
proto.checkoutserviceapi.SettlementTransaction.prototype.setTransactionid = function(value) {
|
|
10117
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
10118
|
-
};
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
/**
|
|
10122
|
-
* optional string transactionDate = 2;
|
|
10123
|
-
* @return {string}
|
|
12426
|
+
* map<string, string> attributes = 1;
|
|
12427
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
12428
|
+
* empty, instead returning `undefined`
|
|
12429
|
+
* @return {!jspb.Map<string,string>}
|
|
10124
12430
|
*/
|
|
10125
|
-
proto.checkoutserviceapi.
|
|
10126
|
-
return /** @type {string} */ (
|
|
12431
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.getAttributesMap = function(opt_noLazyCreate) {
|
|
12432
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
12433
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
12434
|
+
null));
|
|
10127
12435
|
};
|
|
10128
12436
|
|
|
10129
12437
|
|
|
10130
12438
|
/**
|
|
10131
|
-
*
|
|
10132
|
-
* @return {!proto.checkoutserviceapi.
|
|
12439
|
+
* Clears values from the map. The map will be non-null.
|
|
12440
|
+
* @return {!proto.checkoutserviceapi.PubSubMessage} returns this
|
|
10133
12441
|
*/
|
|
10134
|
-
proto.checkoutserviceapi.
|
|
10135
|
-
|
|
10136
|
-
};
|
|
12442
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.clearAttributesMap = function() {
|
|
12443
|
+
this.getAttributesMap().clear();
|
|
12444
|
+
return this;};
|
|
10137
12445
|
|
|
10138
12446
|
|
|
10139
12447
|
/**
|
|
10140
|
-
* optional
|
|
10141
|
-
* @return {
|
|
12448
|
+
* optional bytes data = 2;
|
|
12449
|
+
* @return {!(string|Uint8Array)}
|
|
10142
12450
|
*/
|
|
10143
|
-
proto.checkoutserviceapi.
|
|
10144
|
-
return /** @type {
|
|
12451
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.getData = function() {
|
|
12452
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10145
12453
|
};
|
|
10146
12454
|
|
|
10147
12455
|
|
|
10148
12456
|
/**
|
|
10149
|
-
*
|
|
10150
|
-
*
|
|
12457
|
+
* optional bytes data = 2;
|
|
12458
|
+
* This is a type-conversion wrapper around `getData()`
|
|
12459
|
+
* @return {string}
|
|
10151
12460
|
*/
|
|
10152
|
-
proto.checkoutserviceapi.
|
|
10153
|
-
return jspb.Message.
|
|
12461
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.getData_asB64 = function() {
|
|
12462
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
12463
|
+
this.getData()));
|
|
10154
12464
|
};
|
|
10155
12465
|
|
|
10156
12466
|
|
|
10157
12467
|
/**
|
|
10158
|
-
* optional
|
|
10159
|
-
*
|
|
12468
|
+
* optional bytes data = 2;
|
|
12469
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
12470
|
+
* @see http://caniuse.com/Uint8Array
|
|
12471
|
+
* This is a type-conversion wrapper around `getData()`
|
|
12472
|
+
* @return {!Uint8Array}
|
|
10160
12473
|
*/
|
|
10161
|
-
proto.checkoutserviceapi.
|
|
10162
|
-
return /** @type {
|
|
12474
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.getData_asU8 = function() {
|
|
12475
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
12476
|
+
this.getData()));
|
|
10163
12477
|
};
|
|
10164
12478
|
|
|
10165
12479
|
|
|
10166
12480
|
/**
|
|
10167
|
-
* @param {string} value
|
|
10168
|
-
* @return {!proto.checkoutserviceapi.
|
|
12481
|
+
* @param {!(string|Uint8Array)} value
|
|
12482
|
+
* @return {!proto.checkoutserviceapi.PubSubMessage} returns this
|
|
10169
12483
|
*/
|
|
10170
|
-
proto.checkoutserviceapi.
|
|
10171
|
-
return jspb.Message.
|
|
12484
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.setData = function(value) {
|
|
12485
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
10172
12486
|
};
|
|
10173
12487
|
|
|
10174
12488
|
|
|
10175
12489
|
/**
|
|
10176
|
-
* optional string
|
|
12490
|
+
* optional string messageId = 3;
|
|
10177
12491
|
* @return {string}
|
|
10178
12492
|
*/
|
|
10179
|
-
proto.checkoutserviceapi.
|
|
10180
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
12493
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.getMessageid = function() {
|
|
12494
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10181
12495
|
};
|
|
10182
12496
|
|
|
10183
12497
|
|
|
10184
12498
|
/**
|
|
10185
12499
|
* @param {string} value
|
|
10186
|
-
* @return {!proto.checkoutserviceapi.
|
|
12500
|
+
* @return {!proto.checkoutserviceapi.PubSubMessage} returns this
|
|
10187
12501
|
*/
|
|
10188
|
-
proto.checkoutserviceapi.
|
|
10189
|
-
return jspb.Message.setProto3StringField(this,
|
|
12502
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.setMessageid = function(value) {
|
|
12503
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10190
12504
|
};
|
|
10191
12505
|
|
|
10192
12506
|
|
|
10193
12507
|
/**
|
|
10194
|
-
* optional string
|
|
12508
|
+
* optional string publishTime = 4;
|
|
10195
12509
|
* @return {string}
|
|
10196
12510
|
*/
|
|
10197
|
-
proto.checkoutserviceapi.
|
|
10198
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
12511
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.getPublishtime = function() {
|
|
12512
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10199
12513
|
};
|
|
10200
12514
|
|
|
10201
12515
|
|
|
10202
12516
|
/**
|
|
10203
12517
|
* @param {string} value
|
|
10204
|
-
* @return {!proto.checkoutserviceapi.
|
|
12518
|
+
* @return {!proto.checkoutserviceapi.PubSubMessage} returns this
|
|
10205
12519
|
*/
|
|
10206
|
-
proto.checkoutserviceapi.
|
|
10207
|
-
return jspb.Message.setProto3StringField(this,
|
|
12520
|
+
proto.checkoutserviceapi.PubSubMessage.prototype.setPublishtime = function(value) {
|
|
12521
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
10208
12522
|
};
|
|
10209
12523
|
|
|
10210
12524
|
|