@sniipwebmaster/till-payment-gateway-service-client-grpcweb 23.7.457
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/google/api/annotations_pb.js +42 -0
- package/dependancies/google/api/http_pb.js +911 -0
- package/dependancies/grpcweb/README.txt +11 -0
- package/dependancies/grpcweb/google-protobuf/google/protobuf/README +5 -0
- package/dependancies/grpcweb/google-protobuf/google/protobuf/empty_pb.js +131 -0
- package/dependancies/protoc-gen-openapiv2/options/annotations_pb.js +42 -0
- package/dependancies/protoc-gen-openapiv2/options/http_pb.js +911 -0
- package/dependancies/service_grpc_web_pb.js +718 -0
- package/dependancies/service_pb.js +4610 -0
- package/index.js +4 -0
- package/package.json +11 -0
|
@@ -0,0 +1,4610 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
5
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
9
|
+
|
|
10
|
+
var jspb = require('google-protobuf');
|
|
11
|
+
var goog = jspb;
|
|
12
|
+
var global = Function('return this')();
|
|
13
|
+
|
|
14
|
+
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
15
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
16
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.ApplePay', null, global);
|
|
17
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.CreditCard', null, global);
|
|
18
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.GooglePay', null, global);
|
|
19
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.MakePaymentRequest', null, global);
|
|
20
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.MakeRefundRequest', null, global);
|
|
21
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.PaymentGatewaySource', null, global);
|
|
22
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.PaymentMethod', null, global);
|
|
23
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.PaymentMethod.PaymentMethodPaymentType', null, global);
|
|
24
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.PaymentRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.PaymentResponse', null, global);
|
|
26
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.RefundRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.ResponseCode', null, global);
|
|
29
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.SettleFile', null, global);
|
|
30
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse', null, global);
|
|
31
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.SettleFilesResponse', null, global);
|
|
32
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.SettlementTransaction', null, global);
|
|
34
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.SettlementTransactionStatus', null, global);
|
|
35
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.Status', null, global);
|
|
36
|
+
goog.exportSymbol('proto.tillpaymentgatewayserviceapi.TillTransactionNotification', null, global);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Generated by JsPbCodeGenerator.
|
|
40
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
41
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
42
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
43
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
44
|
+
* valid.
|
|
45
|
+
* @extends {jspb.Message}
|
|
46
|
+
* @constructor
|
|
47
|
+
*/
|
|
48
|
+
proto.tillpaymentgatewayserviceapi.ApplePay = function(opt_data) {
|
|
49
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
50
|
+
};
|
|
51
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.ApplePay, jspb.Message);
|
|
52
|
+
if (goog.DEBUG && !COMPILED) {
|
|
53
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.displayName = 'proto.tillpaymentgatewayserviceapi.ApplePay';
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58
|
+
/**
|
|
59
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
60
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
61
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
62
|
+
* For the list of reserved names please see:
|
|
63
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
64
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
65
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
66
|
+
* @return {!Object}
|
|
67
|
+
*/
|
|
68
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.toObject = function(opt_includeInstance) {
|
|
69
|
+
return proto.tillpaymentgatewayserviceapi.ApplePay.toObject(opt_includeInstance, this);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Static version of the {@see toObject} method.
|
|
75
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
76
|
+
* instance for transitional soy proto support:
|
|
77
|
+
* http://goto/soy-param-migration
|
|
78
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ApplePay} msg The msg instance to transform.
|
|
79
|
+
* @return {!Object}
|
|
80
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81
|
+
*/
|
|
82
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.toObject = function(includeInstance, msg) {
|
|
83
|
+
var f, obj = {
|
|
84
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
85
|
+
displayname: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
86
|
+
network: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
87
|
+
cardtype: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
88
|
+
transactionidentifier: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
if (includeInstance) {
|
|
92
|
+
obj.$jspbMessageInstance = msg;
|
|
93
|
+
}
|
|
94
|
+
return obj;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Deserializes binary data (in protobuf wire format).
|
|
101
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
102
|
+
* @return {!proto.tillpaymentgatewayserviceapi.ApplePay}
|
|
103
|
+
*/
|
|
104
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.deserializeBinary = function(bytes) {
|
|
105
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
106
|
+
var msg = new proto.tillpaymentgatewayserviceapi.ApplePay;
|
|
107
|
+
return proto.tillpaymentgatewayserviceapi.ApplePay.deserializeBinaryFromReader(msg, reader);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
113
|
+
* given reader into the given message object.
|
|
114
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ApplePay} msg The message object to deserialize into.
|
|
115
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
116
|
+
* @return {!proto.tillpaymentgatewayserviceapi.ApplePay}
|
|
117
|
+
*/
|
|
118
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.deserializeBinaryFromReader = function(msg, reader) {
|
|
119
|
+
while (reader.nextField()) {
|
|
120
|
+
if (reader.isEndGroup()) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
var field = reader.getFieldNumber();
|
|
124
|
+
switch (field) {
|
|
125
|
+
case 1:
|
|
126
|
+
var value = /** @type {string} */ (reader.readString());
|
|
127
|
+
msg.setToken(value);
|
|
128
|
+
break;
|
|
129
|
+
case 2:
|
|
130
|
+
var value = /** @type {string} */ (reader.readString());
|
|
131
|
+
msg.setDisplayname(value);
|
|
132
|
+
break;
|
|
133
|
+
case 3:
|
|
134
|
+
var value = /** @type {string} */ (reader.readString());
|
|
135
|
+
msg.setNetwork(value);
|
|
136
|
+
break;
|
|
137
|
+
case 4:
|
|
138
|
+
var value = /** @type {string} */ (reader.readString());
|
|
139
|
+
msg.setCardtype(value);
|
|
140
|
+
break;
|
|
141
|
+
case 5:
|
|
142
|
+
var value = /** @type {string} */ (reader.readString());
|
|
143
|
+
msg.setTransactionidentifier(value);
|
|
144
|
+
break;
|
|
145
|
+
default:
|
|
146
|
+
reader.skipField();
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return msg;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
156
|
+
* @return {!Uint8Array}
|
|
157
|
+
*/
|
|
158
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.serializeBinary = function() {
|
|
159
|
+
var writer = new jspb.BinaryWriter();
|
|
160
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.serializeBinaryToWriter(this, writer);
|
|
161
|
+
return writer.getResultBuffer();
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
167
|
+
* format), writing to the given BinaryWriter.
|
|
168
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ApplePay} message
|
|
169
|
+
* @param {!jspb.BinaryWriter} writer
|
|
170
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
171
|
+
*/
|
|
172
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.serializeBinaryToWriter = function(message, writer) {
|
|
173
|
+
var f = undefined;
|
|
174
|
+
f = message.getToken();
|
|
175
|
+
if (f.length > 0) {
|
|
176
|
+
writer.writeString(
|
|
177
|
+
1,
|
|
178
|
+
f
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
f = message.getDisplayname();
|
|
182
|
+
if (f.length > 0) {
|
|
183
|
+
writer.writeString(
|
|
184
|
+
2,
|
|
185
|
+
f
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
f = message.getNetwork();
|
|
189
|
+
if (f.length > 0) {
|
|
190
|
+
writer.writeString(
|
|
191
|
+
3,
|
|
192
|
+
f
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
f = message.getCardtype();
|
|
196
|
+
if (f.length > 0) {
|
|
197
|
+
writer.writeString(
|
|
198
|
+
4,
|
|
199
|
+
f
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
f = message.getTransactionidentifier();
|
|
203
|
+
if (f.length > 0) {
|
|
204
|
+
writer.writeString(
|
|
205
|
+
5,
|
|
206
|
+
f
|
|
207
|
+
);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* optional string token = 1;
|
|
214
|
+
* @return {string}
|
|
215
|
+
*/
|
|
216
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.getToken = function() {
|
|
217
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
/** @param {string} value */
|
|
222
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.setToken = function(value) {
|
|
223
|
+
jspb.Message.setProto3StringField(this, 1, value);
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* optional string displayName = 2;
|
|
229
|
+
* @return {string}
|
|
230
|
+
*/
|
|
231
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.getDisplayname = function() {
|
|
232
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
/** @param {string} value */
|
|
237
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.setDisplayname = function(value) {
|
|
238
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* optional string network = 3;
|
|
244
|
+
* @return {string}
|
|
245
|
+
*/
|
|
246
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.getNetwork = function() {
|
|
247
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
/** @param {string} value */
|
|
252
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.setNetwork = function(value) {
|
|
253
|
+
jspb.Message.setProto3StringField(this, 3, value);
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* optional string cardType = 4;
|
|
259
|
+
* @return {string}
|
|
260
|
+
*/
|
|
261
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.getCardtype = function() {
|
|
262
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
/** @param {string} value */
|
|
267
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.setCardtype = function(value) {
|
|
268
|
+
jspb.Message.setProto3StringField(this, 4, value);
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* optional string transactionIdentifier = 5;
|
|
274
|
+
* @return {string}
|
|
275
|
+
*/
|
|
276
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.getTransactionidentifier = function() {
|
|
277
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
/** @param {string} value */
|
|
282
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.prototype.setTransactionidentifier = function(value) {
|
|
283
|
+
jspb.Message.setProto3StringField(this, 5, value);
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Generated by JsPbCodeGenerator.
|
|
290
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
291
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
292
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
293
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
294
|
+
* valid.
|
|
295
|
+
* @extends {jspb.Message}
|
|
296
|
+
* @constructor
|
|
297
|
+
*/
|
|
298
|
+
proto.tillpaymentgatewayserviceapi.CreditCard = function(opt_data) {
|
|
299
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
300
|
+
};
|
|
301
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.CreditCard, jspb.Message);
|
|
302
|
+
if (goog.DEBUG && !COMPILED) {
|
|
303
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.displayName = 'proto.tillpaymentgatewayserviceapi.CreditCard';
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
308
|
+
/**
|
|
309
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
310
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
311
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
312
|
+
* For the list of reserved names please see:
|
|
313
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
314
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
315
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
316
|
+
* @return {!Object}
|
|
317
|
+
*/
|
|
318
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.toObject = function(opt_includeInstance) {
|
|
319
|
+
return proto.tillpaymentgatewayserviceapi.CreditCard.toObject(opt_includeInstance, this);
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Static version of the {@see toObject} method.
|
|
325
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
326
|
+
* instance for transitional soy proto support:
|
|
327
|
+
* http://goto/soy-param-migration
|
|
328
|
+
* @param {!proto.tillpaymentgatewayserviceapi.CreditCard} msg The msg instance to transform.
|
|
329
|
+
* @return {!Object}
|
|
330
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
331
|
+
*/
|
|
332
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.toObject = function(includeInstance, msg) {
|
|
333
|
+
var f, obj = {
|
|
334
|
+
cardnumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
335
|
+
cardholder: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
336
|
+
cardexpirymonth: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
337
|
+
cardexpiryyear: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
338
|
+
cvv: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
339
|
+
requires3ds: jspb.Message.getFieldWithDefault(msg, 6, false)
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
if (includeInstance) {
|
|
343
|
+
obj.$jspbMessageInstance = msg;
|
|
344
|
+
}
|
|
345
|
+
return obj;
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Deserializes binary data (in protobuf wire format).
|
|
352
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
353
|
+
* @return {!proto.tillpaymentgatewayserviceapi.CreditCard}
|
|
354
|
+
*/
|
|
355
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.deserializeBinary = function(bytes) {
|
|
356
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
357
|
+
var msg = new proto.tillpaymentgatewayserviceapi.CreditCard;
|
|
358
|
+
return proto.tillpaymentgatewayserviceapi.CreditCard.deserializeBinaryFromReader(msg, reader);
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
364
|
+
* given reader into the given message object.
|
|
365
|
+
* @param {!proto.tillpaymentgatewayserviceapi.CreditCard} msg The message object to deserialize into.
|
|
366
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
367
|
+
* @return {!proto.tillpaymentgatewayserviceapi.CreditCard}
|
|
368
|
+
*/
|
|
369
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.deserializeBinaryFromReader = function(msg, reader) {
|
|
370
|
+
while (reader.nextField()) {
|
|
371
|
+
if (reader.isEndGroup()) {
|
|
372
|
+
break;
|
|
373
|
+
}
|
|
374
|
+
var field = reader.getFieldNumber();
|
|
375
|
+
switch (field) {
|
|
376
|
+
case 1:
|
|
377
|
+
var value = /** @type {string} */ (reader.readString());
|
|
378
|
+
msg.setCardnumber(value);
|
|
379
|
+
break;
|
|
380
|
+
case 2:
|
|
381
|
+
var value = /** @type {string} */ (reader.readString());
|
|
382
|
+
msg.setCardholder(value);
|
|
383
|
+
break;
|
|
384
|
+
case 3:
|
|
385
|
+
var value = /** @type {string} */ (reader.readString());
|
|
386
|
+
msg.setCardexpirymonth(value);
|
|
387
|
+
break;
|
|
388
|
+
case 4:
|
|
389
|
+
var value = /** @type {string} */ (reader.readString());
|
|
390
|
+
msg.setCardexpiryyear(value);
|
|
391
|
+
break;
|
|
392
|
+
case 5:
|
|
393
|
+
var value = /** @type {string} */ (reader.readString());
|
|
394
|
+
msg.setCvv(value);
|
|
395
|
+
break;
|
|
396
|
+
case 6:
|
|
397
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
398
|
+
msg.setRequires3ds(value);
|
|
399
|
+
break;
|
|
400
|
+
default:
|
|
401
|
+
reader.skipField();
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
return msg;
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
411
|
+
* @return {!Uint8Array}
|
|
412
|
+
*/
|
|
413
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.serializeBinary = function() {
|
|
414
|
+
var writer = new jspb.BinaryWriter();
|
|
415
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.serializeBinaryToWriter(this, writer);
|
|
416
|
+
return writer.getResultBuffer();
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
422
|
+
* format), writing to the given BinaryWriter.
|
|
423
|
+
* @param {!proto.tillpaymentgatewayserviceapi.CreditCard} message
|
|
424
|
+
* @param {!jspb.BinaryWriter} writer
|
|
425
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
426
|
+
*/
|
|
427
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.serializeBinaryToWriter = function(message, writer) {
|
|
428
|
+
var f = undefined;
|
|
429
|
+
f = message.getCardnumber();
|
|
430
|
+
if (f.length > 0) {
|
|
431
|
+
writer.writeString(
|
|
432
|
+
1,
|
|
433
|
+
f
|
|
434
|
+
);
|
|
435
|
+
}
|
|
436
|
+
f = message.getCardholder();
|
|
437
|
+
if (f.length > 0) {
|
|
438
|
+
writer.writeString(
|
|
439
|
+
2,
|
|
440
|
+
f
|
|
441
|
+
);
|
|
442
|
+
}
|
|
443
|
+
f = message.getCardexpirymonth();
|
|
444
|
+
if (f.length > 0) {
|
|
445
|
+
writer.writeString(
|
|
446
|
+
3,
|
|
447
|
+
f
|
|
448
|
+
);
|
|
449
|
+
}
|
|
450
|
+
f = message.getCardexpiryyear();
|
|
451
|
+
if (f.length > 0) {
|
|
452
|
+
writer.writeString(
|
|
453
|
+
4,
|
|
454
|
+
f
|
|
455
|
+
);
|
|
456
|
+
}
|
|
457
|
+
f = message.getCvv();
|
|
458
|
+
if (f.length > 0) {
|
|
459
|
+
writer.writeString(
|
|
460
|
+
5,
|
|
461
|
+
f
|
|
462
|
+
);
|
|
463
|
+
}
|
|
464
|
+
f = message.getRequires3ds();
|
|
465
|
+
if (f) {
|
|
466
|
+
writer.writeBool(
|
|
467
|
+
6,
|
|
468
|
+
f
|
|
469
|
+
);
|
|
470
|
+
}
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* optional string cardNumber = 1;
|
|
476
|
+
* @return {string}
|
|
477
|
+
*/
|
|
478
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.getCardnumber = function() {
|
|
479
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
/** @param {string} value */
|
|
484
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.setCardnumber = function(value) {
|
|
485
|
+
jspb.Message.setProto3StringField(this, 1, value);
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* optional string cardHolder = 2;
|
|
491
|
+
* @return {string}
|
|
492
|
+
*/
|
|
493
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.getCardholder = function() {
|
|
494
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
/** @param {string} value */
|
|
499
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.setCardholder = function(value) {
|
|
500
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* optional string cardExpiryMonth = 3;
|
|
506
|
+
* @return {string}
|
|
507
|
+
*/
|
|
508
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.getCardexpirymonth = function() {
|
|
509
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
/** @param {string} value */
|
|
514
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.setCardexpirymonth = function(value) {
|
|
515
|
+
jspb.Message.setProto3StringField(this, 3, value);
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* optional string cardExpiryYear = 4;
|
|
521
|
+
* @return {string}
|
|
522
|
+
*/
|
|
523
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.getCardexpiryyear = function() {
|
|
524
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
/** @param {string} value */
|
|
529
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.setCardexpiryyear = function(value) {
|
|
530
|
+
jspb.Message.setProto3StringField(this, 4, value);
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* optional string cvv = 5;
|
|
536
|
+
* @return {string}
|
|
537
|
+
*/
|
|
538
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.getCvv = function() {
|
|
539
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
/** @param {string} value */
|
|
544
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.setCvv = function(value) {
|
|
545
|
+
jspb.Message.setProto3StringField(this, 5, value);
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* optional bool requires3ds = 6;
|
|
551
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
552
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
553
|
+
* @return {boolean}
|
|
554
|
+
*/
|
|
555
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.getRequires3ds = function() {
|
|
556
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 6, false));
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
/** @param {boolean} value */
|
|
561
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.prototype.setRequires3ds = function(value) {
|
|
562
|
+
jspb.Message.setProto3BooleanField(this, 6, value);
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Generated by JsPbCodeGenerator.
|
|
569
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
570
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
571
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
572
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
573
|
+
* valid.
|
|
574
|
+
* @extends {jspb.Message}
|
|
575
|
+
* @constructor
|
|
576
|
+
*/
|
|
577
|
+
proto.tillpaymentgatewayserviceapi.GooglePay = function(opt_data) {
|
|
578
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
579
|
+
};
|
|
580
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.GooglePay, jspb.Message);
|
|
581
|
+
if (goog.DEBUG && !COMPILED) {
|
|
582
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.displayName = 'proto.tillpaymentgatewayserviceapi.GooglePay';
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
587
|
+
/**
|
|
588
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
589
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
590
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
591
|
+
* For the list of reserved names please see:
|
|
592
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
593
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
594
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
595
|
+
* @return {!Object}
|
|
596
|
+
*/
|
|
597
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.prototype.toObject = function(opt_includeInstance) {
|
|
598
|
+
return proto.tillpaymentgatewayserviceapi.GooglePay.toObject(opt_includeInstance, this);
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Static version of the {@see toObject} method.
|
|
604
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
605
|
+
* instance for transitional soy proto support:
|
|
606
|
+
* http://goto/soy-param-migration
|
|
607
|
+
* @param {!proto.tillpaymentgatewayserviceapi.GooglePay} msg The msg instance to transform.
|
|
608
|
+
* @return {!Object}
|
|
609
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
610
|
+
*/
|
|
611
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.toObject = function(includeInstance, msg) {
|
|
612
|
+
var f, obj = {
|
|
613
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
if (includeInstance) {
|
|
617
|
+
obj.$jspbMessageInstance = msg;
|
|
618
|
+
}
|
|
619
|
+
return obj;
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Deserializes binary data (in protobuf wire format).
|
|
626
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
627
|
+
* @return {!proto.tillpaymentgatewayserviceapi.GooglePay}
|
|
628
|
+
*/
|
|
629
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.deserializeBinary = function(bytes) {
|
|
630
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
631
|
+
var msg = new proto.tillpaymentgatewayserviceapi.GooglePay;
|
|
632
|
+
return proto.tillpaymentgatewayserviceapi.GooglePay.deserializeBinaryFromReader(msg, reader);
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
638
|
+
* given reader into the given message object.
|
|
639
|
+
* @param {!proto.tillpaymentgatewayserviceapi.GooglePay} msg The message object to deserialize into.
|
|
640
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
641
|
+
* @return {!proto.tillpaymentgatewayserviceapi.GooglePay}
|
|
642
|
+
*/
|
|
643
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.deserializeBinaryFromReader = function(msg, reader) {
|
|
644
|
+
while (reader.nextField()) {
|
|
645
|
+
if (reader.isEndGroup()) {
|
|
646
|
+
break;
|
|
647
|
+
}
|
|
648
|
+
var field = reader.getFieldNumber();
|
|
649
|
+
switch (field) {
|
|
650
|
+
case 1:
|
|
651
|
+
var value = /** @type {string} */ (reader.readString());
|
|
652
|
+
msg.setToken(value);
|
|
653
|
+
break;
|
|
654
|
+
default:
|
|
655
|
+
reader.skipField();
|
|
656
|
+
break;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
return msg;
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
665
|
+
* @return {!Uint8Array}
|
|
666
|
+
*/
|
|
667
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.prototype.serializeBinary = function() {
|
|
668
|
+
var writer = new jspb.BinaryWriter();
|
|
669
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.serializeBinaryToWriter(this, writer);
|
|
670
|
+
return writer.getResultBuffer();
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
676
|
+
* format), writing to the given BinaryWriter.
|
|
677
|
+
* @param {!proto.tillpaymentgatewayserviceapi.GooglePay} message
|
|
678
|
+
* @param {!jspb.BinaryWriter} writer
|
|
679
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
680
|
+
*/
|
|
681
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.serializeBinaryToWriter = function(message, writer) {
|
|
682
|
+
var f = undefined;
|
|
683
|
+
f = message.getToken();
|
|
684
|
+
if (f.length > 0) {
|
|
685
|
+
writer.writeString(
|
|
686
|
+
1,
|
|
687
|
+
f
|
|
688
|
+
);
|
|
689
|
+
}
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* optional string token = 1;
|
|
695
|
+
* @return {string}
|
|
696
|
+
*/
|
|
697
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.prototype.getToken = function() {
|
|
698
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
/** @param {string} value */
|
|
703
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.prototype.setToken = function(value) {
|
|
704
|
+
jspb.Message.setProto3StringField(this, 1, value);
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Generated by JsPbCodeGenerator.
|
|
711
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
712
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
713
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
714
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
715
|
+
* valid.
|
|
716
|
+
* @extends {jspb.Message}
|
|
717
|
+
* @constructor
|
|
718
|
+
*/
|
|
719
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest = function(opt_data) {
|
|
720
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
721
|
+
};
|
|
722
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.MakePaymentRequest, jspb.Message);
|
|
723
|
+
if (goog.DEBUG && !COMPILED) {
|
|
724
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.displayName = 'proto.tillpaymentgatewayserviceapi.MakePaymentRequest';
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
729
|
+
/**
|
|
730
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
731
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
732
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
733
|
+
* For the list of reserved names please see:
|
|
734
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
735
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
736
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
737
|
+
* @return {!Object}
|
|
738
|
+
*/
|
|
739
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
740
|
+
return proto.tillpaymentgatewayserviceapi.MakePaymentRequest.toObject(opt_includeInstance, this);
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Static version of the {@see toObject} method.
|
|
746
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
747
|
+
* instance for transitional soy proto support:
|
|
748
|
+
* http://goto/soy-param-migration
|
|
749
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest} msg The msg instance to transform.
|
|
750
|
+
* @return {!Object}
|
|
751
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
752
|
+
*/
|
|
753
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.toObject = function(includeInstance, msg) {
|
|
754
|
+
var f, obj = {
|
|
755
|
+
body: (f = msg.getBody()) && proto.tillpaymentgatewayserviceapi.PaymentRequest.toObject(includeInstance, f)
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
if (includeInstance) {
|
|
759
|
+
obj.$jspbMessageInstance = msg;
|
|
760
|
+
}
|
|
761
|
+
return obj;
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Deserializes binary data (in protobuf wire format).
|
|
768
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
769
|
+
* @return {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest}
|
|
770
|
+
*/
|
|
771
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.deserializeBinary = function(bytes) {
|
|
772
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
773
|
+
var msg = new proto.tillpaymentgatewayserviceapi.MakePaymentRequest;
|
|
774
|
+
return proto.tillpaymentgatewayserviceapi.MakePaymentRequest.deserializeBinaryFromReader(msg, reader);
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
780
|
+
* given reader into the given message object.
|
|
781
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest} msg The message object to deserialize into.
|
|
782
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
783
|
+
* @return {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest}
|
|
784
|
+
*/
|
|
785
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
786
|
+
while (reader.nextField()) {
|
|
787
|
+
if (reader.isEndGroup()) {
|
|
788
|
+
break;
|
|
789
|
+
}
|
|
790
|
+
var field = reader.getFieldNumber();
|
|
791
|
+
switch (field) {
|
|
792
|
+
case 1:
|
|
793
|
+
var value = new proto.tillpaymentgatewayserviceapi.PaymentRequest;
|
|
794
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.PaymentRequest.deserializeBinaryFromReader);
|
|
795
|
+
msg.setBody(value);
|
|
796
|
+
break;
|
|
797
|
+
default:
|
|
798
|
+
reader.skipField();
|
|
799
|
+
break;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
return msg;
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
808
|
+
* @return {!Uint8Array}
|
|
809
|
+
*/
|
|
810
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.prototype.serializeBinary = function() {
|
|
811
|
+
var writer = new jspb.BinaryWriter();
|
|
812
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.serializeBinaryToWriter(this, writer);
|
|
813
|
+
return writer.getResultBuffer();
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
819
|
+
* format), writing to the given BinaryWriter.
|
|
820
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakePaymentRequest} message
|
|
821
|
+
* @param {!jspb.BinaryWriter} writer
|
|
822
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
823
|
+
*/
|
|
824
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
825
|
+
var f = undefined;
|
|
826
|
+
f = message.getBody();
|
|
827
|
+
if (f != null) {
|
|
828
|
+
writer.writeMessage(
|
|
829
|
+
1,
|
|
830
|
+
f,
|
|
831
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.serializeBinaryToWriter
|
|
832
|
+
);
|
|
833
|
+
}
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* optional PaymentRequest body = 1;
|
|
839
|
+
* @return {?proto.tillpaymentgatewayserviceapi.PaymentRequest}
|
|
840
|
+
*/
|
|
841
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.prototype.getBody = function() {
|
|
842
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.PaymentRequest} */ (
|
|
843
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.PaymentRequest, 1));
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.PaymentRequest|undefined} value */
|
|
848
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.prototype.setBody = function(value) {
|
|
849
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.prototype.clearBody = function() {
|
|
854
|
+
this.setBody(undefined);
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Returns whether this field is set.
|
|
860
|
+
* @return {!boolean}
|
|
861
|
+
*/
|
|
862
|
+
proto.tillpaymentgatewayserviceapi.MakePaymentRequest.prototype.hasBody = function() {
|
|
863
|
+
return jspb.Message.getField(this, 1) != null;
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Generated by JsPbCodeGenerator.
|
|
870
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
871
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
872
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
873
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
874
|
+
* valid.
|
|
875
|
+
* @extends {jspb.Message}
|
|
876
|
+
* @constructor
|
|
877
|
+
*/
|
|
878
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest = function(opt_data) {
|
|
879
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
880
|
+
};
|
|
881
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.MakeRefundRequest, jspb.Message);
|
|
882
|
+
if (goog.DEBUG && !COMPILED) {
|
|
883
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.displayName = 'proto.tillpaymentgatewayserviceapi.MakeRefundRequest';
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
888
|
+
/**
|
|
889
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
890
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
891
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
892
|
+
* For the list of reserved names please see:
|
|
893
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
894
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
895
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
896
|
+
* @return {!Object}
|
|
897
|
+
*/
|
|
898
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.prototype.toObject = function(opt_includeInstance) {
|
|
899
|
+
return proto.tillpaymentgatewayserviceapi.MakeRefundRequest.toObject(opt_includeInstance, this);
|
|
900
|
+
};
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Static version of the {@see toObject} method.
|
|
905
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
906
|
+
* instance for transitional soy proto support:
|
|
907
|
+
* http://goto/soy-param-migration
|
|
908
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest} msg The msg instance to transform.
|
|
909
|
+
* @return {!Object}
|
|
910
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
911
|
+
*/
|
|
912
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.toObject = function(includeInstance, msg) {
|
|
913
|
+
var f, obj = {
|
|
914
|
+
body: (f = msg.getBody()) && proto.tillpaymentgatewayserviceapi.RefundRequest.toObject(includeInstance, f)
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
if (includeInstance) {
|
|
918
|
+
obj.$jspbMessageInstance = msg;
|
|
919
|
+
}
|
|
920
|
+
return obj;
|
|
921
|
+
};
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Deserializes binary data (in protobuf wire format).
|
|
927
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
928
|
+
* @return {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest}
|
|
929
|
+
*/
|
|
930
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.deserializeBinary = function(bytes) {
|
|
931
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
932
|
+
var msg = new proto.tillpaymentgatewayserviceapi.MakeRefundRequest;
|
|
933
|
+
return proto.tillpaymentgatewayserviceapi.MakeRefundRequest.deserializeBinaryFromReader(msg, reader);
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
939
|
+
* given reader into the given message object.
|
|
940
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest} msg The message object to deserialize into.
|
|
941
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
942
|
+
* @return {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest}
|
|
943
|
+
*/
|
|
944
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
945
|
+
while (reader.nextField()) {
|
|
946
|
+
if (reader.isEndGroup()) {
|
|
947
|
+
break;
|
|
948
|
+
}
|
|
949
|
+
var field = reader.getFieldNumber();
|
|
950
|
+
switch (field) {
|
|
951
|
+
case 1:
|
|
952
|
+
var value = new proto.tillpaymentgatewayserviceapi.RefundRequest;
|
|
953
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.RefundRequest.deserializeBinaryFromReader);
|
|
954
|
+
msg.setBody(value);
|
|
955
|
+
break;
|
|
956
|
+
default:
|
|
957
|
+
reader.skipField();
|
|
958
|
+
break;
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
return msg;
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
967
|
+
* @return {!Uint8Array}
|
|
968
|
+
*/
|
|
969
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.prototype.serializeBinary = function() {
|
|
970
|
+
var writer = new jspb.BinaryWriter();
|
|
971
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.serializeBinaryToWriter(this, writer);
|
|
972
|
+
return writer.getResultBuffer();
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
978
|
+
* format), writing to the given BinaryWriter.
|
|
979
|
+
* @param {!proto.tillpaymentgatewayserviceapi.MakeRefundRequest} message
|
|
980
|
+
* @param {!jspb.BinaryWriter} writer
|
|
981
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
982
|
+
*/
|
|
983
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.serializeBinaryToWriter = function(message, writer) {
|
|
984
|
+
var f = undefined;
|
|
985
|
+
f = message.getBody();
|
|
986
|
+
if (f != null) {
|
|
987
|
+
writer.writeMessage(
|
|
988
|
+
1,
|
|
989
|
+
f,
|
|
990
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.serializeBinaryToWriter
|
|
991
|
+
);
|
|
992
|
+
}
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* optional RefundRequest body = 1;
|
|
998
|
+
* @return {?proto.tillpaymentgatewayserviceapi.RefundRequest}
|
|
999
|
+
*/
|
|
1000
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.prototype.getBody = function() {
|
|
1001
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.RefundRequest} */ (
|
|
1002
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.RefundRequest, 1));
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.RefundRequest|undefined} value */
|
|
1007
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.prototype.setBody = function(value) {
|
|
1008
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.prototype.clearBody = function() {
|
|
1013
|
+
this.setBody(undefined);
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Returns whether this field is set.
|
|
1019
|
+
* @return {!boolean}
|
|
1020
|
+
*/
|
|
1021
|
+
proto.tillpaymentgatewayserviceapi.MakeRefundRequest.prototype.hasBody = function() {
|
|
1022
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Generated by JsPbCodeGenerator.
|
|
1029
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1030
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1031
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1032
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1033
|
+
* valid.
|
|
1034
|
+
* @extends {jspb.Message}
|
|
1035
|
+
* @constructor
|
|
1036
|
+
*/
|
|
1037
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod = function(opt_data) {
|
|
1038
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1039
|
+
};
|
|
1040
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.PaymentMethod, jspb.Message);
|
|
1041
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1042
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.displayName = 'proto.tillpaymentgatewayserviceapi.PaymentMethod';
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1047
|
+
/**
|
|
1048
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1049
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1050
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1051
|
+
* For the list of reserved names please see:
|
|
1052
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1053
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1054
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1055
|
+
* @return {!Object}
|
|
1056
|
+
*/
|
|
1057
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.toObject = function(opt_includeInstance) {
|
|
1058
|
+
return proto.tillpaymentgatewayserviceapi.PaymentMethod.toObject(opt_includeInstance, this);
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Static version of the {@see toObject} method.
|
|
1064
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1065
|
+
* instance for transitional soy proto support:
|
|
1066
|
+
* http://goto/soy-param-migration
|
|
1067
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentMethod} msg The msg instance to transform.
|
|
1068
|
+
* @return {!Object}
|
|
1069
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1070
|
+
*/
|
|
1071
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.toObject = function(includeInstance, msg) {
|
|
1072
|
+
var f, obj = {
|
|
1073
|
+
paymentmethod: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1074
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1075
|
+
creditcard: (f = msg.getCreditcard()) && proto.tillpaymentgatewayserviceapi.CreditCard.toObject(includeInstance, f),
|
|
1076
|
+
applepay: (f = msg.getApplepay()) && proto.tillpaymentgatewayserviceapi.ApplePay.toObject(includeInstance, f),
|
|
1077
|
+
googlepay: (f = msg.getGooglepay()) && proto.tillpaymentgatewayserviceapi.GooglePay.toObject(includeInstance, f),
|
|
1078
|
+
paymenttype: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
if (includeInstance) {
|
|
1082
|
+
obj.$jspbMessageInstance = msg;
|
|
1083
|
+
}
|
|
1084
|
+
return obj;
|
|
1085
|
+
};
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1091
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1092
|
+
* @return {!proto.tillpaymentgatewayserviceapi.PaymentMethod}
|
|
1093
|
+
*/
|
|
1094
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.deserializeBinary = function(bytes) {
|
|
1095
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1096
|
+
var msg = new proto.tillpaymentgatewayserviceapi.PaymentMethod;
|
|
1097
|
+
return proto.tillpaymentgatewayserviceapi.PaymentMethod.deserializeBinaryFromReader(msg, reader);
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1103
|
+
* given reader into the given message object.
|
|
1104
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentMethod} msg The message object to deserialize into.
|
|
1105
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1106
|
+
* @return {!proto.tillpaymentgatewayserviceapi.PaymentMethod}
|
|
1107
|
+
*/
|
|
1108
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.deserializeBinaryFromReader = function(msg, reader) {
|
|
1109
|
+
while (reader.nextField()) {
|
|
1110
|
+
if (reader.isEndGroup()) {
|
|
1111
|
+
break;
|
|
1112
|
+
}
|
|
1113
|
+
var field = reader.getFieldNumber();
|
|
1114
|
+
switch (field) {
|
|
1115
|
+
case 1:
|
|
1116
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1117
|
+
msg.setPaymentmethod(value);
|
|
1118
|
+
break;
|
|
1119
|
+
case 2:
|
|
1120
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1121
|
+
msg.setPaymentmethodid(value);
|
|
1122
|
+
break;
|
|
1123
|
+
case 3:
|
|
1124
|
+
var value = new proto.tillpaymentgatewayserviceapi.CreditCard;
|
|
1125
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.CreditCard.deserializeBinaryFromReader);
|
|
1126
|
+
msg.setCreditcard(value);
|
|
1127
|
+
break;
|
|
1128
|
+
case 4:
|
|
1129
|
+
var value = new proto.tillpaymentgatewayserviceapi.ApplePay;
|
|
1130
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.ApplePay.deserializeBinaryFromReader);
|
|
1131
|
+
msg.setApplepay(value);
|
|
1132
|
+
break;
|
|
1133
|
+
case 5:
|
|
1134
|
+
var value = new proto.tillpaymentgatewayserviceapi.GooglePay;
|
|
1135
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.GooglePay.deserializeBinaryFromReader);
|
|
1136
|
+
msg.setGooglepay(value);
|
|
1137
|
+
break;
|
|
1138
|
+
case 6:
|
|
1139
|
+
var value = /** @type {!proto.tillpaymentgatewayserviceapi.PaymentMethod.PaymentMethodPaymentType} */ (reader.readEnum());
|
|
1140
|
+
msg.setPaymenttype(value);
|
|
1141
|
+
break;
|
|
1142
|
+
default:
|
|
1143
|
+
reader.skipField();
|
|
1144
|
+
break;
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
return msg;
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1153
|
+
* @return {!Uint8Array}
|
|
1154
|
+
*/
|
|
1155
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.serializeBinary = function() {
|
|
1156
|
+
var writer = new jspb.BinaryWriter();
|
|
1157
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.serializeBinaryToWriter(this, writer);
|
|
1158
|
+
return writer.getResultBuffer();
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1164
|
+
* format), writing to the given BinaryWriter.
|
|
1165
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentMethod} message
|
|
1166
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1167
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1168
|
+
*/
|
|
1169
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.serializeBinaryToWriter = function(message, writer) {
|
|
1170
|
+
var f = undefined;
|
|
1171
|
+
f = message.getPaymentmethod();
|
|
1172
|
+
if (f.length > 0) {
|
|
1173
|
+
writer.writeString(
|
|
1174
|
+
1,
|
|
1175
|
+
f
|
|
1176
|
+
);
|
|
1177
|
+
}
|
|
1178
|
+
f = message.getPaymentmethodid();
|
|
1179
|
+
if (f !== 0) {
|
|
1180
|
+
writer.writeInt64(
|
|
1181
|
+
2,
|
|
1182
|
+
f
|
|
1183
|
+
);
|
|
1184
|
+
}
|
|
1185
|
+
f = message.getCreditcard();
|
|
1186
|
+
if (f != null) {
|
|
1187
|
+
writer.writeMessage(
|
|
1188
|
+
3,
|
|
1189
|
+
f,
|
|
1190
|
+
proto.tillpaymentgatewayserviceapi.CreditCard.serializeBinaryToWriter
|
|
1191
|
+
);
|
|
1192
|
+
}
|
|
1193
|
+
f = message.getApplepay();
|
|
1194
|
+
if (f != null) {
|
|
1195
|
+
writer.writeMessage(
|
|
1196
|
+
4,
|
|
1197
|
+
f,
|
|
1198
|
+
proto.tillpaymentgatewayserviceapi.ApplePay.serializeBinaryToWriter
|
|
1199
|
+
);
|
|
1200
|
+
}
|
|
1201
|
+
f = message.getGooglepay();
|
|
1202
|
+
if (f != null) {
|
|
1203
|
+
writer.writeMessage(
|
|
1204
|
+
5,
|
|
1205
|
+
f,
|
|
1206
|
+
proto.tillpaymentgatewayserviceapi.GooglePay.serializeBinaryToWriter
|
|
1207
|
+
);
|
|
1208
|
+
}
|
|
1209
|
+
f = message.getPaymenttype();
|
|
1210
|
+
if (f !== 0.0) {
|
|
1211
|
+
writer.writeEnum(
|
|
1212
|
+
6,
|
|
1213
|
+
f
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* @enum {number}
|
|
1221
|
+
*/
|
|
1222
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.PaymentMethodPaymentType = {
|
|
1223
|
+
PAYMENT_METHOD_PAYMENT_TYPE_CREDIT_CARD: 0,
|
|
1224
|
+
PAYMENT_METHOD_PAYMENT_TYPE_APPLE_PAY: 1,
|
|
1225
|
+
PAYMENT_METHOD_PAYMENT_TYPE_TOKEN: 2
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* optional string paymentMethod = 1;
|
|
1230
|
+
* @return {string}
|
|
1231
|
+
*/
|
|
1232
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.getPaymentmethod = function() {
|
|
1233
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
/** @param {string} value */
|
|
1238
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.setPaymentmethod = function(value) {
|
|
1239
|
+
jspb.Message.setProto3StringField(this, 1, value);
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* optional int64 paymentMethodId = 2;
|
|
1245
|
+
* @return {number}
|
|
1246
|
+
*/
|
|
1247
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.getPaymentmethodid = function() {
|
|
1248
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
/** @param {number} value */
|
|
1253
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.setPaymentmethodid = function(value) {
|
|
1254
|
+
jspb.Message.setProto3IntField(this, 2, value);
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* optional CreditCard creditCard = 3;
|
|
1260
|
+
* @return {?proto.tillpaymentgatewayserviceapi.CreditCard}
|
|
1261
|
+
*/
|
|
1262
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.getCreditcard = function() {
|
|
1263
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.CreditCard} */ (
|
|
1264
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.CreditCard, 3));
|
|
1265
|
+
};
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.CreditCard|undefined} value */
|
|
1269
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.setCreditcard = function(value) {
|
|
1270
|
+
jspb.Message.setWrapperField(this, 3, value);
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.clearCreditcard = function() {
|
|
1275
|
+
this.setCreditcard(undefined);
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Returns whether this field is set.
|
|
1281
|
+
* @return {!boolean}
|
|
1282
|
+
*/
|
|
1283
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.hasCreditcard = function() {
|
|
1284
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* optional ApplePay applePay = 4;
|
|
1290
|
+
* @return {?proto.tillpaymentgatewayserviceapi.ApplePay}
|
|
1291
|
+
*/
|
|
1292
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.getApplepay = function() {
|
|
1293
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.ApplePay} */ (
|
|
1294
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.ApplePay, 4));
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.ApplePay|undefined} value */
|
|
1299
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.setApplepay = function(value) {
|
|
1300
|
+
jspb.Message.setWrapperField(this, 4, value);
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.clearApplepay = function() {
|
|
1305
|
+
this.setApplepay(undefined);
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Returns whether this field is set.
|
|
1311
|
+
* @return {!boolean}
|
|
1312
|
+
*/
|
|
1313
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.hasApplepay = function() {
|
|
1314
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* optional GooglePay googlePay = 5;
|
|
1320
|
+
* @return {?proto.tillpaymentgatewayserviceapi.GooglePay}
|
|
1321
|
+
*/
|
|
1322
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.getGooglepay = function() {
|
|
1323
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.GooglePay} */ (
|
|
1324
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.GooglePay, 5));
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.GooglePay|undefined} value */
|
|
1329
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.setGooglepay = function(value) {
|
|
1330
|
+
jspb.Message.setWrapperField(this, 5, value);
|
|
1331
|
+
};
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.clearGooglepay = function() {
|
|
1335
|
+
this.setGooglepay(undefined);
|
|
1336
|
+
};
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* Returns whether this field is set.
|
|
1341
|
+
* @return {!boolean}
|
|
1342
|
+
*/
|
|
1343
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.hasGooglepay = function() {
|
|
1344
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* optional PaymentMethodPaymentType paymentType = 6;
|
|
1350
|
+
* @return {!proto.tillpaymentgatewayserviceapi.PaymentMethod.PaymentMethodPaymentType}
|
|
1351
|
+
*/
|
|
1352
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.getPaymenttype = function() {
|
|
1353
|
+
return /** @type {!proto.tillpaymentgatewayserviceapi.PaymentMethod.PaymentMethodPaymentType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
/** @param {!proto.tillpaymentgatewayserviceapi.PaymentMethod.PaymentMethodPaymentType} value */
|
|
1358
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.prototype.setPaymenttype = function(value) {
|
|
1359
|
+
jspb.Message.setProto3EnumField(this, 6, value);
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* Generated by JsPbCodeGenerator.
|
|
1366
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1367
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1368
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1369
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1370
|
+
* valid.
|
|
1371
|
+
* @extends {jspb.Message}
|
|
1372
|
+
* @constructor
|
|
1373
|
+
*/
|
|
1374
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest = function(opt_data) {
|
|
1375
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1376
|
+
};
|
|
1377
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.PaymentRequest, jspb.Message);
|
|
1378
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1379
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.displayName = 'proto.tillpaymentgatewayserviceapi.PaymentRequest';
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1384
|
+
/**
|
|
1385
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1386
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1387
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1388
|
+
* For the list of reserved names please see:
|
|
1389
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1390
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1391
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1392
|
+
* @return {!Object}
|
|
1393
|
+
*/
|
|
1394
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1395
|
+
return proto.tillpaymentgatewayserviceapi.PaymentRequest.toObject(opt_includeInstance, this);
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* Static version of the {@see toObject} method.
|
|
1401
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1402
|
+
* instance for transitional soy proto support:
|
|
1403
|
+
* http://goto/soy-param-migration
|
|
1404
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentRequest} msg The msg instance to transform.
|
|
1405
|
+
* @return {!Object}
|
|
1406
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1407
|
+
*/
|
|
1408
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.toObject = function(includeInstance, msg) {
|
|
1409
|
+
var f, obj = {
|
|
1410
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1411
|
+
billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1412
|
+
paymentmethod: (f = msg.getPaymentmethod()) && proto.tillpaymentgatewayserviceapi.PaymentMethod.toObject(includeInstance, f),
|
|
1413
|
+
amount: +jspb.Message.getFieldWithDefault(msg, 4, 0.0),
|
|
1414
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1415
|
+
accesstoken: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1416
|
+
crn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1417
|
+
ipaddress: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1418
|
+
surchargeamount: +jspb.Message.getFieldWithDefault(msg, 9, 0.0),
|
|
1419
|
+
billercodeshortname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1420
|
+
billercodelongname: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
if (includeInstance) {
|
|
1424
|
+
obj.$jspbMessageInstance = msg;
|
|
1425
|
+
}
|
|
1426
|
+
return obj;
|
|
1427
|
+
};
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1433
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1434
|
+
* @return {!proto.tillpaymentgatewayserviceapi.PaymentRequest}
|
|
1435
|
+
*/
|
|
1436
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.deserializeBinary = function(bytes) {
|
|
1437
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1438
|
+
var msg = new proto.tillpaymentgatewayserviceapi.PaymentRequest;
|
|
1439
|
+
return proto.tillpaymentgatewayserviceapi.PaymentRequest.deserializeBinaryFromReader(msg, reader);
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1445
|
+
* given reader into the given message object.
|
|
1446
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentRequest} msg The message object to deserialize into.
|
|
1447
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1448
|
+
* @return {!proto.tillpaymentgatewayserviceapi.PaymentRequest}
|
|
1449
|
+
*/
|
|
1450
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1451
|
+
while (reader.nextField()) {
|
|
1452
|
+
if (reader.isEndGroup()) {
|
|
1453
|
+
break;
|
|
1454
|
+
}
|
|
1455
|
+
var field = reader.getFieldNumber();
|
|
1456
|
+
switch (field) {
|
|
1457
|
+
case 1:
|
|
1458
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1459
|
+
msg.setUserid(value);
|
|
1460
|
+
break;
|
|
1461
|
+
case 2:
|
|
1462
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1463
|
+
msg.setBillid(value);
|
|
1464
|
+
break;
|
|
1465
|
+
case 3:
|
|
1466
|
+
var value = new proto.tillpaymentgatewayserviceapi.PaymentMethod;
|
|
1467
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.PaymentMethod.deserializeBinaryFromReader);
|
|
1468
|
+
msg.setPaymentmethod(value);
|
|
1469
|
+
break;
|
|
1470
|
+
case 4:
|
|
1471
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1472
|
+
msg.setAmount(value);
|
|
1473
|
+
break;
|
|
1474
|
+
case 5:
|
|
1475
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1476
|
+
msg.setTransactionid(value);
|
|
1477
|
+
break;
|
|
1478
|
+
case 6:
|
|
1479
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1480
|
+
msg.setAccesstoken(value);
|
|
1481
|
+
break;
|
|
1482
|
+
case 7:
|
|
1483
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1484
|
+
msg.setCrn(value);
|
|
1485
|
+
break;
|
|
1486
|
+
case 8:
|
|
1487
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1488
|
+
msg.setIpaddress(value);
|
|
1489
|
+
break;
|
|
1490
|
+
case 9:
|
|
1491
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1492
|
+
msg.setSurchargeamount(value);
|
|
1493
|
+
break;
|
|
1494
|
+
case 10:
|
|
1495
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1496
|
+
msg.setBillercodeshortname(value);
|
|
1497
|
+
break;
|
|
1498
|
+
case 11:
|
|
1499
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1500
|
+
msg.setBillercodelongname(value);
|
|
1501
|
+
break;
|
|
1502
|
+
default:
|
|
1503
|
+
reader.skipField();
|
|
1504
|
+
break;
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
return msg;
|
|
1508
|
+
};
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1513
|
+
* @return {!Uint8Array}
|
|
1514
|
+
*/
|
|
1515
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.serializeBinary = function() {
|
|
1516
|
+
var writer = new jspb.BinaryWriter();
|
|
1517
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.serializeBinaryToWriter(this, writer);
|
|
1518
|
+
return writer.getResultBuffer();
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1524
|
+
* format), writing to the given BinaryWriter.
|
|
1525
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentRequest} message
|
|
1526
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1527
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1528
|
+
*/
|
|
1529
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1530
|
+
var f = undefined;
|
|
1531
|
+
f = message.getUserid();
|
|
1532
|
+
if (f !== 0) {
|
|
1533
|
+
writer.writeInt64(
|
|
1534
|
+
1,
|
|
1535
|
+
f
|
|
1536
|
+
);
|
|
1537
|
+
}
|
|
1538
|
+
f = message.getBillid();
|
|
1539
|
+
if (f !== 0) {
|
|
1540
|
+
writer.writeInt64(
|
|
1541
|
+
2,
|
|
1542
|
+
f
|
|
1543
|
+
);
|
|
1544
|
+
}
|
|
1545
|
+
f = message.getPaymentmethod();
|
|
1546
|
+
if (f != null) {
|
|
1547
|
+
writer.writeMessage(
|
|
1548
|
+
3,
|
|
1549
|
+
f,
|
|
1550
|
+
proto.tillpaymentgatewayserviceapi.PaymentMethod.serializeBinaryToWriter
|
|
1551
|
+
);
|
|
1552
|
+
}
|
|
1553
|
+
f = message.getAmount();
|
|
1554
|
+
if (f !== 0.0) {
|
|
1555
|
+
writer.writeDouble(
|
|
1556
|
+
4,
|
|
1557
|
+
f
|
|
1558
|
+
);
|
|
1559
|
+
}
|
|
1560
|
+
f = message.getTransactionid();
|
|
1561
|
+
if (f !== 0) {
|
|
1562
|
+
writer.writeInt64(
|
|
1563
|
+
5,
|
|
1564
|
+
f
|
|
1565
|
+
);
|
|
1566
|
+
}
|
|
1567
|
+
f = message.getAccesstoken();
|
|
1568
|
+
if (f.length > 0) {
|
|
1569
|
+
writer.writeString(
|
|
1570
|
+
6,
|
|
1571
|
+
f
|
|
1572
|
+
);
|
|
1573
|
+
}
|
|
1574
|
+
f = message.getCrn();
|
|
1575
|
+
if (f.length > 0) {
|
|
1576
|
+
writer.writeString(
|
|
1577
|
+
7,
|
|
1578
|
+
f
|
|
1579
|
+
);
|
|
1580
|
+
}
|
|
1581
|
+
f = message.getIpaddress();
|
|
1582
|
+
if (f.length > 0) {
|
|
1583
|
+
writer.writeString(
|
|
1584
|
+
8,
|
|
1585
|
+
f
|
|
1586
|
+
);
|
|
1587
|
+
}
|
|
1588
|
+
f = message.getSurchargeamount();
|
|
1589
|
+
if (f !== 0.0) {
|
|
1590
|
+
writer.writeDouble(
|
|
1591
|
+
9,
|
|
1592
|
+
f
|
|
1593
|
+
);
|
|
1594
|
+
}
|
|
1595
|
+
f = message.getBillercodeshortname();
|
|
1596
|
+
if (f.length > 0) {
|
|
1597
|
+
writer.writeString(
|
|
1598
|
+
10,
|
|
1599
|
+
f
|
|
1600
|
+
);
|
|
1601
|
+
}
|
|
1602
|
+
f = message.getBillercodelongname();
|
|
1603
|
+
if (f.length > 0) {
|
|
1604
|
+
writer.writeString(
|
|
1605
|
+
11,
|
|
1606
|
+
f
|
|
1607
|
+
);
|
|
1608
|
+
}
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* optional int64 userId = 1;
|
|
1614
|
+
* @return {number}
|
|
1615
|
+
*/
|
|
1616
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getUserid = function() {
|
|
1617
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
/** @param {number} value */
|
|
1622
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setUserid = function(value) {
|
|
1623
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* optional int64 billId = 2;
|
|
1629
|
+
* @return {number}
|
|
1630
|
+
*/
|
|
1631
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getBillid = function() {
|
|
1632
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
/** @param {number} value */
|
|
1637
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setBillid = function(value) {
|
|
1638
|
+
jspb.Message.setProto3IntField(this, 2, value);
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* optional PaymentMethod paymentMethod = 3;
|
|
1644
|
+
* @return {?proto.tillpaymentgatewayserviceapi.PaymentMethod}
|
|
1645
|
+
*/
|
|
1646
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getPaymentmethod = function() {
|
|
1647
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.PaymentMethod} */ (
|
|
1648
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.PaymentMethod, 3));
|
|
1649
|
+
};
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.PaymentMethod|undefined} value */
|
|
1653
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setPaymentmethod = function(value) {
|
|
1654
|
+
jspb.Message.setWrapperField(this, 3, value);
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.clearPaymentmethod = function() {
|
|
1659
|
+
this.setPaymentmethod(undefined);
|
|
1660
|
+
};
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* Returns whether this field is set.
|
|
1665
|
+
* @return {!boolean}
|
|
1666
|
+
*/
|
|
1667
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.hasPaymentmethod = function() {
|
|
1668
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1669
|
+
};
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* optional double amount = 4;
|
|
1674
|
+
* @return {number}
|
|
1675
|
+
*/
|
|
1676
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getAmount = function() {
|
|
1677
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 4, 0.0));
|
|
1678
|
+
};
|
|
1679
|
+
|
|
1680
|
+
|
|
1681
|
+
/** @param {number} value */
|
|
1682
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setAmount = function(value) {
|
|
1683
|
+
jspb.Message.setProto3FloatField(this, 4, value);
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* optional int64 transactionId = 5;
|
|
1689
|
+
* @return {number}
|
|
1690
|
+
*/
|
|
1691
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getTransactionid = function() {
|
|
1692
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
/** @param {number} value */
|
|
1697
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setTransactionid = function(value) {
|
|
1698
|
+
jspb.Message.setProto3IntField(this, 5, value);
|
|
1699
|
+
};
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* optional string accessToken = 6;
|
|
1704
|
+
* @return {string}
|
|
1705
|
+
*/
|
|
1706
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getAccesstoken = function() {
|
|
1707
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
/** @param {string} value */
|
|
1712
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setAccesstoken = function(value) {
|
|
1713
|
+
jspb.Message.setProto3StringField(this, 6, value);
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* optional string crn = 7;
|
|
1719
|
+
* @return {string}
|
|
1720
|
+
*/
|
|
1721
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getCrn = function() {
|
|
1722
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1723
|
+
};
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
/** @param {string} value */
|
|
1727
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setCrn = function(value) {
|
|
1728
|
+
jspb.Message.setProto3StringField(this, 7, value);
|
|
1729
|
+
};
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* optional string ipAddress = 8;
|
|
1734
|
+
* @return {string}
|
|
1735
|
+
*/
|
|
1736
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getIpaddress = function() {
|
|
1737
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1738
|
+
};
|
|
1739
|
+
|
|
1740
|
+
|
|
1741
|
+
/** @param {string} value */
|
|
1742
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setIpaddress = function(value) {
|
|
1743
|
+
jspb.Message.setProto3StringField(this, 8, value);
|
|
1744
|
+
};
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* optional double surchargeAmount = 9;
|
|
1749
|
+
* @return {number}
|
|
1750
|
+
*/
|
|
1751
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getSurchargeamount = function() {
|
|
1752
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 9, 0.0));
|
|
1753
|
+
};
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
/** @param {number} value */
|
|
1757
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setSurchargeamount = function(value) {
|
|
1758
|
+
jspb.Message.setProto3FloatField(this, 9, value);
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* optional string billerCodeShortName = 10;
|
|
1764
|
+
* @return {string}
|
|
1765
|
+
*/
|
|
1766
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getBillercodeshortname = function() {
|
|
1767
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1768
|
+
};
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
/** @param {string} value */
|
|
1772
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setBillercodeshortname = function(value) {
|
|
1773
|
+
jspb.Message.setProto3StringField(this, 10, value);
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* optional string billerCodeLongName = 11;
|
|
1779
|
+
* @return {string}
|
|
1780
|
+
*/
|
|
1781
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.getBillercodelongname = function() {
|
|
1782
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
/** @param {string} value */
|
|
1787
|
+
proto.tillpaymentgatewayserviceapi.PaymentRequest.prototype.setBillercodelongname = function(value) {
|
|
1788
|
+
jspb.Message.setProto3StringField(this, 11, value);
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* Generated by JsPbCodeGenerator.
|
|
1795
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1796
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1797
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1798
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1799
|
+
* valid.
|
|
1800
|
+
* @extends {jspb.Message}
|
|
1801
|
+
* @constructor
|
|
1802
|
+
*/
|
|
1803
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse = function(opt_data) {
|
|
1804
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1805
|
+
};
|
|
1806
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.PaymentResponse, jspb.Message);
|
|
1807
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1808
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.displayName = 'proto.tillpaymentgatewayserviceapi.PaymentResponse';
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1813
|
+
/**
|
|
1814
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1815
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1816
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1817
|
+
* For the list of reserved names please see:
|
|
1818
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1819
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1820
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1821
|
+
* @return {!Object}
|
|
1822
|
+
*/
|
|
1823
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1824
|
+
return proto.tillpaymentgatewayserviceapi.PaymentResponse.toObject(opt_includeInstance, this);
|
|
1825
|
+
};
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* Static version of the {@see toObject} method.
|
|
1830
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1831
|
+
* instance for transitional soy proto support:
|
|
1832
|
+
* http://goto/soy-param-migration
|
|
1833
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentResponse} msg The msg instance to transform.
|
|
1834
|
+
* @return {!Object}
|
|
1835
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1836
|
+
*/
|
|
1837
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.toObject = function(includeInstance, msg) {
|
|
1838
|
+
var f, obj = {
|
|
1839
|
+
responsecode: (f = msg.getResponsecode()) && proto.tillpaymentgatewayserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
1840
|
+
response: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1841
|
+
status: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1842
|
+
source: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1843
|
+
sourceid: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1844
|
+
gatewaytransactionid: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1845
|
+
sniiptransactionid: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1846
|
+
receiptid: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1847
|
+
paidamountexcludingsurcharge: +jspb.Message.getFieldWithDefault(msg, 9, 0.0),
|
|
1848
|
+
paymentprocessorsurchargeamount: +jspb.Message.getFieldWithDefault(msg, 10, 0.0),
|
|
1849
|
+
paidamountincludingsurchargefees: +jspb.Message.getFieldWithDefault(msg, 11, 0.0),
|
|
1850
|
+
gatewayresponsemessage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1851
|
+
description: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
1852
|
+
};
|
|
1853
|
+
|
|
1854
|
+
if (includeInstance) {
|
|
1855
|
+
obj.$jspbMessageInstance = msg;
|
|
1856
|
+
}
|
|
1857
|
+
return obj;
|
|
1858
|
+
};
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1864
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1865
|
+
* @return {!proto.tillpaymentgatewayserviceapi.PaymentResponse}
|
|
1866
|
+
*/
|
|
1867
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.deserializeBinary = function(bytes) {
|
|
1868
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1869
|
+
var msg = new proto.tillpaymentgatewayserviceapi.PaymentResponse;
|
|
1870
|
+
return proto.tillpaymentgatewayserviceapi.PaymentResponse.deserializeBinaryFromReader(msg, reader);
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1876
|
+
* given reader into the given message object.
|
|
1877
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentResponse} msg The message object to deserialize into.
|
|
1878
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1879
|
+
* @return {!proto.tillpaymentgatewayserviceapi.PaymentResponse}
|
|
1880
|
+
*/
|
|
1881
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1882
|
+
while (reader.nextField()) {
|
|
1883
|
+
if (reader.isEndGroup()) {
|
|
1884
|
+
break;
|
|
1885
|
+
}
|
|
1886
|
+
var field = reader.getFieldNumber();
|
|
1887
|
+
switch (field) {
|
|
1888
|
+
case 1:
|
|
1889
|
+
var value = new proto.tillpaymentgatewayserviceapi.ResponseCode;
|
|
1890
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
1891
|
+
msg.setResponsecode(value);
|
|
1892
|
+
break;
|
|
1893
|
+
case 2:
|
|
1894
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1895
|
+
msg.setResponse(value);
|
|
1896
|
+
break;
|
|
1897
|
+
case 3:
|
|
1898
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1899
|
+
msg.setStatus(value);
|
|
1900
|
+
break;
|
|
1901
|
+
case 4:
|
|
1902
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1903
|
+
msg.setSource(value);
|
|
1904
|
+
break;
|
|
1905
|
+
case 5:
|
|
1906
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1907
|
+
msg.setSourceid(value);
|
|
1908
|
+
break;
|
|
1909
|
+
case 6:
|
|
1910
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1911
|
+
msg.setGatewaytransactionid(value);
|
|
1912
|
+
break;
|
|
1913
|
+
case 7:
|
|
1914
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1915
|
+
msg.setSniiptransactionid(value);
|
|
1916
|
+
break;
|
|
1917
|
+
case 8:
|
|
1918
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1919
|
+
msg.setReceiptid(value);
|
|
1920
|
+
break;
|
|
1921
|
+
case 9:
|
|
1922
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1923
|
+
msg.setPaidamountexcludingsurcharge(value);
|
|
1924
|
+
break;
|
|
1925
|
+
case 10:
|
|
1926
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1927
|
+
msg.setPaymentprocessorsurchargeamount(value);
|
|
1928
|
+
break;
|
|
1929
|
+
case 11:
|
|
1930
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1931
|
+
msg.setPaidamountincludingsurchargefees(value);
|
|
1932
|
+
break;
|
|
1933
|
+
case 12:
|
|
1934
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1935
|
+
msg.setGatewayresponsemessage(value);
|
|
1936
|
+
break;
|
|
1937
|
+
case 13:
|
|
1938
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1939
|
+
msg.setDescription(value);
|
|
1940
|
+
break;
|
|
1941
|
+
default:
|
|
1942
|
+
reader.skipField();
|
|
1943
|
+
break;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
return msg;
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1952
|
+
* @return {!Uint8Array}
|
|
1953
|
+
*/
|
|
1954
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.serializeBinary = function() {
|
|
1955
|
+
var writer = new jspb.BinaryWriter();
|
|
1956
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.serializeBinaryToWriter(this, writer);
|
|
1957
|
+
return writer.getResultBuffer();
|
|
1958
|
+
};
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1963
|
+
* format), writing to the given BinaryWriter.
|
|
1964
|
+
* @param {!proto.tillpaymentgatewayserviceapi.PaymentResponse} message
|
|
1965
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1966
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1967
|
+
*/
|
|
1968
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1969
|
+
var f = undefined;
|
|
1970
|
+
f = message.getResponsecode();
|
|
1971
|
+
if (f != null) {
|
|
1972
|
+
writer.writeMessage(
|
|
1973
|
+
1,
|
|
1974
|
+
f,
|
|
1975
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.serializeBinaryToWriter
|
|
1976
|
+
);
|
|
1977
|
+
}
|
|
1978
|
+
f = message.getResponse();
|
|
1979
|
+
if (f.length > 0) {
|
|
1980
|
+
writer.writeString(
|
|
1981
|
+
2,
|
|
1982
|
+
f
|
|
1983
|
+
);
|
|
1984
|
+
}
|
|
1985
|
+
f = message.getStatus();
|
|
1986
|
+
if (f.length > 0) {
|
|
1987
|
+
writer.writeString(
|
|
1988
|
+
3,
|
|
1989
|
+
f
|
|
1990
|
+
);
|
|
1991
|
+
}
|
|
1992
|
+
f = message.getSource();
|
|
1993
|
+
if (f.length > 0) {
|
|
1994
|
+
writer.writeString(
|
|
1995
|
+
4,
|
|
1996
|
+
f
|
|
1997
|
+
);
|
|
1998
|
+
}
|
|
1999
|
+
f = message.getSourceid();
|
|
2000
|
+
if (f !== 0) {
|
|
2001
|
+
writer.writeInt64(
|
|
2002
|
+
5,
|
|
2003
|
+
f
|
|
2004
|
+
);
|
|
2005
|
+
}
|
|
2006
|
+
f = message.getGatewaytransactionid();
|
|
2007
|
+
if (f.length > 0) {
|
|
2008
|
+
writer.writeString(
|
|
2009
|
+
6,
|
|
2010
|
+
f
|
|
2011
|
+
);
|
|
2012
|
+
}
|
|
2013
|
+
f = message.getSniiptransactionid();
|
|
2014
|
+
if (f !== 0) {
|
|
2015
|
+
writer.writeInt64(
|
|
2016
|
+
7,
|
|
2017
|
+
f
|
|
2018
|
+
);
|
|
2019
|
+
}
|
|
2020
|
+
f = message.getReceiptid();
|
|
2021
|
+
if (f.length > 0) {
|
|
2022
|
+
writer.writeString(
|
|
2023
|
+
8,
|
|
2024
|
+
f
|
|
2025
|
+
);
|
|
2026
|
+
}
|
|
2027
|
+
f = message.getPaidamountexcludingsurcharge();
|
|
2028
|
+
if (f !== 0.0) {
|
|
2029
|
+
writer.writeDouble(
|
|
2030
|
+
9,
|
|
2031
|
+
f
|
|
2032
|
+
);
|
|
2033
|
+
}
|
|
2034
|
+
f = message.getPaymentprocessorsurchargeamount();
|
|
2035
|
+
if (f !== 0.0) {
|
|
2036
|
+
writer.writeDouble(
|
|
2037
|
+
10,
|
|
2038
|
+
f
|
|
2039
|
+
);
|
|
2040
|
+
}
|
|
2041
|
+
f = message.getPaidamountincludingsurchargefees();
|
|
2042
|
+
if (f !== 0.0) {
|
|
2043
|
+
writer.writeDouble(
|
|
2044
|
+
11,
|
|
2045
|
+
f
|
|
2046
|
+
);
|
|
2047
|
+
}
|
|
2048
|
+
f = message.getGatewayresponsemessage();
|
|
2049
|
+
if (f.length > 0) {
|
|
2050
|
+
writer.writeString(
|
|
2051
|
+
12,
|
|
2052
|
+
f
|
|
2053
|
+
);
|
|
2054
|
+
}
|
|
2055
|
+
f = message.getDescription();
|
|
2056
|
+
if (f.length > 0) {
|
|
2057
|
+
writer.writeString(
|
|
2058
|
+
13,
|
|
2059
|
+
f
|
|
2060
|
+
);
|
|
2061
|
+
}
|
|
2062
|
+
};
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* optional ResponseCode responseCode = 1;
|
|
2067
|
+
* @return {?proto.tillpaymentgatewayserviceapi.ResponseCode}
|
|
2068
|
+
*/
|
|
2069
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getResponsecode = function() {
|
|
2070
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.ResponseCode} */ (
|
|
2071
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.ResponseCode, 1));
|
|
2072
|
+
};
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.ResponseCode|undefined} value */
|
|
2076
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setResponsecode = function(value) {
|
|
2077
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
2078
|
+
};
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.clearResponsecode = function() {
|
|
2082
|
+
this.setResponsecode(undefined);
|
|
2083
|
+
};
|
|
2084
|
+
|
|
2085
|
+
|
|
2086
|
+
/**
|
|
2087
|
+
* Returns whether this field is set.
|
|
2088
|
+
* @return {!boolean}
|
|
2089
|
+
*/
|
|
2090
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.hasResponsecode = function() {
|
|
2091
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2092
|
+
};
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* optional string response = 2;
|
|
2097
|
+
* @return {string}
|
|
2098
|
+
*/
|
|
2099
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getResponse = function() {
|
|
2100
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2101
|
+
};
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
/** @param {string} value */
|
|
2105
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setResponse = function(value) {
|
|
2106
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
2107
|
+
};
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* optional string status = 3;
|
|
2112
|
+
* @return {string}
|
|
2113
|
+
*/
|
|
2114
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getStatus = function() {
|
|
2115
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
/** @param {string} value */
|
|
2120
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setStatus = function(value) {
|
|
2121
|
+
jspb.Message.setProto3StringField(this, 3, value);
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* optional string source = 4;
|
|
2127
|
+
* @return {string}
|
|
2128
|
+
*/
|
|
2129
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getSource = function() {
|
|
2130
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
/** @param {string} value */
|
|
2135
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setSource = function(value) {
|
|
2136
|
+
jspb.Message.setProto3StringField(this, 4, value);
|
|
2137
|
+
};
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* optional int64 sourceId = 5;
|
|
2142
|
+
* @return {number}
|
|
2143
|
+
*/
|
|
2144
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getSourceid = function() {
|
|
2145
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
/** @param {number} value */
|
|
2150
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setSourceid = function(value) {
|
|
2151
|
+
jspb.Message.setProto3IntField(this, 5, value);
|
|
2152
|
+
};
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
* optional string gatewayTransactionId = 6;
|
|
2157
|
+
* @return {string}
|
|
2158
|
+
*/
|
|
2159
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getGatewaytransactionid = function() {
|
|
2160
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2161
|
+
};
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
/** @param {string} value */
|
|
2165
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setGatewaytransactionid = function(value) {
|
|
2166
|
+
jspb.Message.setProto3StringField(this, 6, value);
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* optional int64 sniipTransactionId = 7;
|
|
2172
|
+
* @return {number}
|
|
2173
|
+
*/
|
|
2174
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getSniiptransactionid = function() {
|
|
2175
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
2176
|
+
};
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
/** @param {number} value */
|
|
2180
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setSniiptransactionid = function(value) {
|
|
2181
|
+
jspb.Message.setProto3IntField(this, 7, value);
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
* optional string receiptId = 8;
|
|
2187
|
+
* @return {string}
|
|
2188
|
+
*/
|
|
2189
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getReceiptid = function() {
|
|
2190
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
2191
|
+
};
|
|
2192
|
+
|
|
2193
|
+
|
|
2194
|
+
/** @param {string} value */
|
|
2195
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setReceiptid = function(value) {
|
|
2196
|
+
jspb.Message.setProto3StringField(this, 8, value);
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* optional double paidAmountExcludingSurcharge = 9;
|
|
2202
|
+
* @return {number}
|
|
2203
|
+
*/
|
|
2204
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getPaidamountexcludingsurcharge = function() {
|
|
2205
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 9, 0.0));
|
|
2206
|
+
};
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
/** @param {number} value */
|
|
2210
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setPaidamountexcludingsurcharge = function(value) {
|
|
2211
|
+
jspb.Message.setProto3FloatField(this, 9, value);
|
|
2212
|
+
};
|
|
2213
|
+
|
|
2214
|
+
|
|
2215
|
+
/**
|
|
2216
|
+
* optional double paymentProcessorSurchargeAmount = 10;
|
|
2217
|
+
* @return {number}
|
|
2218
|
+
*/
|
|
2219
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getPaymentprocessorsurchargeamount = function() {
|
|
2220
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 10, 0.0));
|
|
2221
|
+
};
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
/** @param {number} value */
|
|
2225
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setPaymentprocessorsurchargeamount = function(value) {
|
|
2226
|
+
jspb.Message.setProto3FloatField(this, 10, value);
|
|
2227
|
+
};
|
|
2228
|
+
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* optional double paidAmountIncludingSurchargeFees = 11;
|
|
2232
|
+
* @return {number}
|
|
2233
|
+
*/
|
|
2234
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getPaidamountincludingsurchargefees = function() {
|
|
2235
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 11, 0.0));
|
|
2236
|
+
};
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
/** @param {number} value */
|
|
2240
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setPaidamountincludingsurchargefees = function(value) {
|
|
2241
|
+
jspb.Message.setProto3FloatField(this, 11, value);
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* optional string gatewayResponseMessage = 12;
|
|
2247
|
+
* @return {string}
|
|
2248
|
+
*/
|
|
2249
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getGatewayresponsemessage = function() {
|
|
2250
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
2251
|
+
};
|
|
2252
|
+
|
|
2253
|
+
|
|
2254
|
+
/** @param {string} value */
|
|
2255
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setGatewayresponsemessage = function(value) {
|
|
2256
|
+
jspb.Message.setProto3StringField(this, 12, value);
|
|
2257
|
+
};
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
/**
|
|
2261
|
+
* optional string description = 13;
|
|
2262
|
+
* @return {string}
|
|
2263
|
+
*/
|
|
2264
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.getDescription = function() {
|
|
2265
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
2266
|
+
};
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
/** @param {string} value */
|
|
2270
|
+
proto.tillpaymentgatewayserviceapi.PaymentResponse.prototype.setDescription = function(value) {
|
|
2271
|
+
jspb.Message.setProto3StringField(this, 13, value);
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* Generated by JsPbCodeGenerator.
|
|
2278
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2279
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2280
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2281
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2282
|
+
* valid.
|
|
2283
|
+
* @extends {jspb.Message}
|
|
2284
|
+
* @constructor
|
|
2285
|
+
*/
|
|
2286
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest = function(opt_data) {
|
|
2287
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2288
|
+
};
|
|
2289
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest, jspb.Message);
|
|
2290
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2291
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.displayName = 'proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest';
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2296
|
+
/**
|
|
2297
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2298
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2299
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2300
|
+
* For the list of reserved names please see:
|
|
2301
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2302
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2303
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2304
|
+
* @return {!Object}
|
|
2305
|
+
*/
|
|
2306
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2307
|
+
return proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.toObject(opt_includeInstance, this);
|
|
2308
|
+
};
|
|
2309
|
+
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* Static version of the {@see toObject} method.
|
|
2313
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2314
|
+
* instance for transitional soy proto support:
|
|
2315
|
+
* http://goto/soy-param-migration
|
|
2316
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest} msg The msg instance to transform.
|
|
2317
|
+
* @return {!Object}
|
|
2318
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2319
|
+
*/
|
|
2320
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.toObject = function(includeInstance, msg) {
|
|
2321
|
+
var f, obj = {
|
|
2322
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
2323
|
+
};
|
|
2324
|
+
|
|
2325
|
+
if (includeInstance) {
|
|
2326
|
+
obj.$jspbMessageInstance = msg;
|
|
2327
|
+
}
|
|
2328
|
+
return obj;
|
|
2329
|
+
};
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2335
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2336
|
+
* @return {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest}
|
|
2337
|
+
*/
|
|
2338
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.deserializeBinary = function(bytes) {
|
|
2339
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2340
|
+
var msg = new proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest;
|
|
2341
|
+
return proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReader(msg, reader);
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2347
|
+
* given reader into the given message object.
|
|
2348
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest} msg The message object to deserialize into.
|
|
2349
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2350
|
+
* @return {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest}
|
|
2351
|
+
*/
|
|
2352
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2353
|
+
while (reader.nextField()) {
|
|
2354
|
+
if (reader.isEndGroup()) {
|
|
2355
|
+
break;
|
|
2356
|
+
}
|
|
2357
|
+
var field = reader.getFieldNumber();
|
|
2358
|
+
switch (field) {
|
|
2359
|
+
case 1:
|
|
2360
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2361
|
+
msg.setSettlementfileid(value);
|
|
2362
|
+
break;
|
|
2363
|
+
default:
|
|
2364
|
+
reader.skipField();
|
|
2365
|
+
break;
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
return msg;
|
|
2369
|
+
};
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2374
|
+
* @return {!Uint8Array}
|
|
2375
|
+
*/
|
|
2376
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.prototype.serializeBinary = function() {
|
|
2377
|
+
var writer = new jspb.BinaryWriter();
|
|
2378
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter(this, writer);
|
|
2379
|
+
return writer.getResultBuffer();
|
|
2380
|
+
};
|
|
2381
|
+
|
|
2382
|
+
|
|
2383
|
+
/**
|
|
2384
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2385
|
+
* format), writing to the given BinaryWriter.
|
|
2386
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest} message
|
|
2387
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2388
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2389
|
+
*/
|
|
2390
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2391
|
+
var f = undefined;
|
|
2392
|
+
f = message.getSettlementfileid();
|
|
2393
|
+
if (f !== 0) {
|
|
2394
|
+
writer.writeInt64(
|
|
2395
|
+
1,
|
|
2396
|
+
f
|
|
2397
|
+
);
|
|
2398
|
+
}
|
|
2399
|
+
};
|
|
2400
|
+
|
|
2401
|
+
|
|
2402
|
+
/**
|
|
2403
|
+
* optional int64 settlementFileId = 1;
|
|
2404
|
+
* @return {number}
|
|
2405
|
+
*/
|
|
2406
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.prototype.getSettlementfileid = function() {
|
|
2407
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2408
|
+
};
|
|
2409
|
+
|
|
2410
|
+
|
|
2411
|
+
/** @param {number} value */
|
|
2412
|
+
proto.tillpaymentgatewayserviceapi.ProcessSettlementFileRequest.prototype.setSettlementfileid = function(value) {
|
|
2413
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
2414
|
+
};
|
|
2415
|
+
|
|
2416
|
+
|
|
2417
|
+
|
|
2418
|
+
/**
|
|
2419
|
+
* Generated by JsPbCodeGenerator.
|
|
2420
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2421
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2422
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2423
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2424
|
+
* valid.
|
|
2425
|
+
* @extends {jspb.Message}
|
|
2426
|
+
* @constructor
|
|
2427
|
+
*/
|
|
2428
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest = function(opt_data) {
|
|
2429
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2430
|
+
};
|
|
2431
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.RefundRequest, jspb.Message);
|
|
2432
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2433
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.displayName = 'proto.tillpaymentgatewayserviceapi.RefundRequest';
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2438
|
+
/**
|
|
2439
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2440
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2441
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2442
|
+
* For the list of reserved names please see:
|
|
2443
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2444
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2445
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2446
|
+
* @return {!Object}
|
|
2447
|
+
*/
|
|
2448
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2449
|
+
return proto.tillpaymentgatewayserviceapi.RefundRequest.toObject(opt_includeInstance, this);
|
|
2450
|
+
};
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
/**
|
|
2454
|
+
* Static version of the {@see toObject} method.
|
|
2455
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2456
|
+
* instance for transitional soy proto support:
|
|
2457
|
+
* http://goto/soy-param-migration
|
|
2458
|
+
* @param {!proto.tillpaymentgatewayserviceapi.RefundRequest} msg The msg instance to transform.
|
|
2459
|
+
* @return {!Object}
|
|
2460
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2461
|
+
*/
|
|
2462
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.toObject = function(includeInstance, msg) {
|
|
2463
|
+
var f, obj = {
|
|
2464
|
+
amount: +jspb.Message.getFieldWithDefault(msg, 1, 0.0),
|
|
2465
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2466
|
+
};
|
|
2467
|
+
|
|
2468
|
+
if (includeInstance) {
|
|
2469
|
+
obj.$jspbMessageInstance = msg;
|
|
2470
|
+
}
|
|
2471
|
+
return obj;
|
|
2472
|
+
};
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2478
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2479
|
+
* @return {!proto.tillpaymentgatewayserviceapi.RefundRequest}
|
|
2480
|
+
*/
|
|
2481
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.deserializeBinary = function(bytes) {
|
|
2482
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2483
|
+
var msg = new proto.tillpaymentgatewayserviceapi.RefundRequest;
|
|
2484
|
+
return proto.tillpaymentgatewayserviceapi.RefundRequest.deserializeBinaryFromReader(msg, reader);
|
|
2485
|
+
};
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2490
|
+
* given reader into the given message object.
|
|
2491
|
+
* @param {!proto.tillpaymentgatewayserviceapi.RefundRequest} msg The message object to deserialize into.
|
|
2492
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2493
|
+
* @return {!proto.tillpaymentgatewayserviceapi.RefundRequest}
|
|
2494
|
+
*/
|
|
2495
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2496
|
+
while (reader.nextField()) {
|
|
2497
|
+
if (reader.isEndGroup()) {
|
|
2498
|
+
break;
|
|
2499
|
+
}
|
|
2500
|
+
var field = reader.getFieldNumber();
|
|
2501
|
+
switch (field) {
|
|
2502
|
+
case 1:
|
|
2503
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
2504
|
+
msg.setAmount(value);
|
|
2505
|
+
break;
|
|
2506
|
+
case 2:
|
|
2507
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2508
|
+
msg.setTransactionid(value);
|
|
2509
|
+
break;
|
|
2510
|
+
default:
|
|
2511
|
+
reader.skipField();
|
|
2512
|
+
break;
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
return msg;
|
|
2516
|
+
};
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2521
|
+
* @return {!Uint8Array}
|
|
2522
|
+
*/
|
|
2523
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.prototype.serializeBinary = function() {
|
|
2524
|
+
var writer = new jspb.BinaryWriter();
|
|
2525
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.serializeBinaryToWriter(this, writer);
|
|
2526
|
+
return writer.getResultBuffer();
|
|
2527
|
+
};
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2532
|
+
* format), writing to the given BinaryWriter.
|
|
2533
|
+
* @param {!proto.tillpaymentgatewayserviceapi.RefundRequest} message
|
|
2534
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2535
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2536
|
+
*/
|
|
2537
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2538
|
+
var f = undefined;
|
|
2539
|
+
f = message.getAmount();
|
|
2540
|
+
if (f !== 0.0) {
|
|
2541
|
+
writer.writeDouble(
|
|
2542
|
+
1,
|
|
2543
|
+
f
|
|
2544
|
+
);
|
|
2545
|
+
}
|
|
2546
|
+
f = message.getTransactionid();
|
|
2547
|
+
if (f !== 0) {
|
|
2548
|
+
writer.writeInt64(
|
|
2549
|
+
2,
|
|
2550
|
+
f
|
|
2551
|
+
);
|
|
2552
|
+
}
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* optional double amount = 1;
|
|
2558
|
+
* @return {number}
|
|
2559
|
+
*/
|
|
2560
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.prototype.getAmount = function() {
|
|
2561
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 1, 0.0));
|
|
2562
|
+
};
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
/** @param {number} value */
|
|
2566
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.prototype.setAmount = function(value) {
|
|
2567
|
+
jspb.Message.setProto3FloatField(this, 1, value);
|
|
2568
|
+
};
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* optional int64 transactionId = 2;
|
|
2573
|
+
* @return {number}
|
|
2574
|
+
*/
|
|
2575
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.prototype.getTransactionid = function() {
|
|
2576
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2577
|
+
};
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
/** @param {number} value */
|
|
2581
|
+
proto.tillpaymentgatewayserviceapi.RefundRequest.prototype.setTransactionid = function(value) {
|
|
2582
|
+
jspb.Message.setProto3IntField(this, 2, value);
|
|
2583
|
+
};
|
|
2584
|
+
|
|
2585
|
+
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* Generated by JsPbCodeGenerator.
|
|
2589
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2590
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2591
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2592
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2593
|
+
* valid.
|
|
2594
|
+
* @extends {jspb.Message}
|
|
2595
|
+
* @constructor
|
|
2596
|
+
*/
|
|
2597
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode = function(opt_data) {
|
|
2598
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2599
|
+
};
|
|
2600
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.ResponseCode, jspb.Message);
|
|
2601
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2602
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.displayName = 'proto.tillpaymentgatewayserviceapi.ResponseCode';
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2607
|
+
/**
|
|
2608
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2609
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2610
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2611
|
+
* For the list of reserved names please see:
|
|
2612
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2613
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2614
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2615
|
+
* @return {!Object}
|
|
2616
|
+
*/
|
|
2617
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.prototype.toObject = function(opt_includeInstance) {
|
|
2618
|
+
return proto.tillpaymentgatewayserviceapi.ResponseCode.toObject(opt_includeInstance, this);
|
|
2619
|
+
};
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* Static version of the {@see toObject} method.
|
|
2624
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2625
|
+
* instance for transitional soy proto support:
|
|
2626
|
+
* http://goto/soy-param-migration
|
|
2627
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ResponseCode} msg The msg instance to transform.
|
|
2628
|
+
* @return {!Object}
|
|
2629
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2630
|
+
*/
|
|
2631
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.toObject = function(includeInstance, msg) {
|
|
2632
|
+
var f, obj = {
|
|
2633
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2634
|
+
message: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2635
|
+
};
|
|
2636
|
+
|
|
2637
|
+
if (includeInstance) {
|
|
2638
|
+
obj.$jspbMessageInstance = msg;
|
|
2639
|
+
}
|
|
2640
|
+
return obj;
|
|
2641
|
+
};
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2647
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2648
|
+
* @return {!proto.tillpaymentgatewayserviceapi.ResponseCode}
|
|
2649
|
+
*/
|
|
2650
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinary = function(bytes) {
|
|
2651
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2652
|
+
var msg = new proto.tillpaymentgatewayserviceapi.ResponseCode;
|
|
2653
|
+
return proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinaryFromReader(msg, reader);
|
|
2654
|
+
};
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2659
|
+
* given reader into the given message object.
|
|
2660
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ResponseCode} msg The message object to deserialize into.
|
|
2661
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2662
|
+
* @return {!proto.tillpaymentgatewayserviceapi.ResponseCode}
|
|
2663
|
+
*/
|
|
2664
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
2665
|
+
while (reader.nextField()) {
|
|
2666
|
+
if (reader.isEndGroup()) {
|
|
2667
|
+
break;
|
|
2668
|
+
}
|
|
2669
|
+
var field = reader.getFieldNumber();
|
|
2670
|
+
switch (field) {
|
|
2671
|
+
case 1:
|
|
2672
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2673
|
+
msg.setCode(value);
|
|
2674
|
+
break;
|
|
2675
|
+
case 2:
|
|
2676
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2677
|
+
msg.setMessage(value);
|
|
2678
|
+
break;
|
|
2679
|
+
default:
|
|
2680
|
+
reader.skipField();
|
|
2681
|
+
break;
|
|
2682
|
+
}
|
|
2683
|
+
}
|
|
2684
|
+
return msg;
|
|
2685
|
+
};
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
/**
|
|
2689
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2690
|
+
* @return {!Uint8Array}
|
|
2691
|
+
*/
|
|
2692
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.prototype.serializeBinary = function() {
|
|
2693
|
+
var writer = new jspb.BinaryWriter();
|
|
2694
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.serializeBinaryToWriter(this, writer);
|
|
2695
|
+
return writer.getResultBuffer();
|
|
2696
|
+
};
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2701
|
+
* format), writing to the given BinaryWriter.
|
|
2702
|
+
* @param {!proto.tillpaymentgatewayserviceapi.ResponseCode} message
|
|
2703
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2704
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2705
|
+
*/
|
|
2706
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.serializeBinaryToWriter = function(message, writer) {
|
|
2707
|
+
var f = undefined;
|
|
2708
|
+
f = message.getCode();
|
|
2709
|
+
if (f !== 0) {
|
|
2710
|
+
writer.writeInt32(
|
|
2711
|
+
1,
|
|
2712
|
+
f
|
|
2713
|
+
);
|
|
2714
|
+
}
|
|
2715
|
+
f = message.getMessage();
|
|
2716
|
+
if (f.length > 0) {
|
|
2717
|
+
writer.writeString(
|
|
2718
|
+
2,
|
|
2719
|
+
f
|
|
2720
|
+
);
|
|
2721
|
+
}
|
|
2722
|
+
};
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
/**
|
|
2726
|
+
* optional int32 code = 1;
|
|
2727
|
+
* @return {number}
|
|
2728
|
+
*/
|
|
2729
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.prototype.getCode = function() {
|
|
2730
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2731
|
+
};
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
/** @param {number} value */
|
|
2735
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.prototype.setCode = function(value) {
|
|
2736
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
2737
|
+
};
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* optional string message = 2;
|
|
2742
|
+
* @return {string}
|
|
2743
|
+
*/
|
|
2744
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.prototype.getMessage = function() {
|
|
2745
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2746
|
+
};
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
/** @param {string} value */
|
|
2750
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.prototype.setMessage = function(value) {
|
|
2751
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* Generated by JsPbCodeGenerator.
|
|
2758
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2759
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2760
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2761
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2762
|
+
* valid.
|
|
2763
|
+
* @extends {jspb.Message}
|
|
2764
|
+
* @constructor
|
|
2765
|
+
*/
|
|
2766
|
+
proto.tillpaymentgatewayserviceapi.SettleFile = function(opt_data) {
|
|
2767
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2768
|
+
};
|
|
2769
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.SettleFile, jspb.Message);
|
|
2770
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2771
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.displayName = 'proto.tillpaymentgatewayserviceapi.SettleFile';
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2776
|
+
/**
|
|
2777
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2778
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2779
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2780
|
+
* For the list of reserved names please see:
|
|
2781
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2782
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2783
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2784
|
+
* @return {!Object}
|
|
2785
|
+
*/
|
|
2786
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.toObject = function(opt_includeInstance) {
|
|
2787
|
+
return proto.tillpaymentgatewayserviceapi.SettleFile.toObject(opt_includeInstance, this);
|
|
2788
|
+
};
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
/**
|
|
2792
|
+
* Static version of the {@see toObject} method.
|
|
2793
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2794
|
+
* instance for transitional soy proto support:
|
|
2795
|
+
* http://goto/soy-param-migration
|
|
2796
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFile} msg The msg instance to transform.
|
|
2797
|
+
* @return {!Object}
|
|
2798
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2799
|
+
*/
|
|
2800
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.toObject = function(includeInstance, msg) {
|
|
2801
|
+
var f, obj = {
|
|
2802
|
+
processdate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2803
|
+
creationtimestamp: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2804
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2805
|
+
filename: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
2806
|
+
};
|
|
2807
|
+
|
|
2808
|
+
if (includeInstance) {
|
|
2809
|
+
obj.$jspbMessageInstance = msg;
|
|
2810
|
+
}
|
|
2811
|
+
return obj;
|
|
2812
|
+
};
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
/**
|
|
2817
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2818
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2819
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettleFile}
|
|
2820
|
+
*/
|
|
2821
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.deserializeBinary = function(bytes) {
|
|
2822
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2823
|
+
var msg = new proto.tillpaymentgatewayserviceapi.SettleFile;
|
|
2824
|
+
return proto.tillpaymentgatewayserviceapi.SettleFile.deserializeBinaryFromReader(msg, reader);
|
|
2825
|
+
};
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2830
|
+
* given reader into the given message object.
|
|
2831
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFile} msg The message object to deserialize into.
|
|
2832
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2833
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettleFile}
|
|
2834
|
+
*/
|
|
2835
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.deserializeBinaryFromReader = function(msg, reader) {
|
|
2836
|
+
while (reader.nextField()) {
|
|
2837
|
+
if (reader.isEndGroup()) {
|
|
2838
|
+
break;
|
|
2839
|
+
}
|
|
2840
|
+
var field = reader.getFieldNumber();
|
|
2841
|
+
switch (field) {
|
|
2842
|
+
case 2:
|
|
2843
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2844
|
+
msg.setProcessdate(value);
|
|
2845
|
+
break;
|
|
2846
|
+
case 3:
|
|
2847
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2848
|
+
msg.setCreationtimestamp(value);
|
|
2849
|
+
break;
|
|
2850
|
+
case 4:
|
|
2851
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2852
|
+
msg.setSettlementfileid(value);
|
|
2853
|
+
break;
|
|
2854
|
+
case 5:
|
|
2855
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2856
|
+
msg.setFilename(value);
|
|
2857
|
+
break;
|
|
2858
|
+
default:
|
|
2859
|
+
reader.skipField();
|
|
2860
|
+
break;
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
return msg;
|
|
2864
|
+
};
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
/**
|
|
2868
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2869
|
+
* @return {!Uint8Array}
|
|
2870
|
+
*/
|
|
2871
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.serializeBinary = function() {
|
|
2872
|
+
var writer = new jspb.BinaryWriter();
|
|
2873
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.serializeBinaryToWriter(this, writer);
|
|
2874
|
+
return writer.getResultBuffer();
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
/**
|
|
2879
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2880
|
+
* format), writing to the given BinaryWriter.
|
|
2881
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFile} message
|
|
2882
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2883
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2884
|
+
*/
|
|
2885
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.serializeBinaryToWriter = function(message, writer) {
|
|
2886
|
+
var f = undefined;
|
|
2887
|
+
f = message.getProcessdate();
|
|
2888
|
+
if (f.length > 0) {
|
|
2889
|
+
writer.writeString(
|
|
2890
|
+
2,
|
|
2891
|
+
f
|
|
2892
|
+
);
|
|
2893
|
+
}
|
|
2894
|
+
f = message.getCreationtimestamp();
|
|
2895
|
+
if (f.length > 0) {
|
|
2896
|
+
writer.writeString(
|
|
2897
|
+
3,
|
|
2898
|
+
f
|
|
2899
|
+
);
|
|
2900
|
+
}
|
|
2901
|
+
f = message.getSettlementfileid();
|
|
2902
|
+
if (f !== 0) {
|
|
2903
|
+
writer.writeInt64(
|
|
2904
|
+
4,
|
|
2905
|
+
f
|
|
2906
|
+
);
|
|
2907
|
+
}
|
|
2908
|
+
f = message.getFilename();
|
|
2909
|
+
if (f.length > 0) {
|
|
2910
|
+
writer.writeString(
|
|
2911
|
+
5,
|
|
2912
|
+
f
|
|
2913
|
+
);
|
|
2914
|
+
}
|
|
2915
|
+
};
|
|
2916
|
+
|
|
2917
|
+
|
|
2918
|
+
/**
|
|
2919
|
+
* optional string processDate = 2;
|
|
2920
|
+
* @return {string}
|
|
2921
|
+
*/
|
|
2922
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.getProcessdate = function() {
|
|
2923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2924
|
+
};
|
|
2925
|
+
|
|
2926
|
+
|
|
2927
|
+
/** @param {string} value */
|
|
2928
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.setProcessdate = function(value) {
|
|
2929
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
2930
|
+
};
|
|
2931
|
+
|
|
2932
|
+
|
|
2933
|
+
/**
|
|
2934
|
+
* optional string creationTimeStamp = 3;
|
|
2935
|
+
* @return {string}
|
|
2936
|
+
*/
|
|
2937
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.getCreationtimestamp = function() {
|
|
2938
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2939
|
+
};
|
|
2940
|
+
|
|
2941
|
+
|
|
2942
|
+
/** @param {string} value */
|
|
2943
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.setCreationtimestamp = function(value) {
|
|
2944
|
+
jspb.Message.setProto3StringField(this, 3, value);
|
|
2945
|
+
};
|
|
2946
|
+
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* optional int64 settlementFileId = 4;
|
|
2950
|
+
* @return {number}
|
|
2951
|
+
*/
|
|
2952
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.getSettlementfileid = function() {
|
|
2953
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2954
|
+
};
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
/** @param {number} value */
|
|
2958
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.setSettlementfileid = function(value) {
|
|
2959
|
+
jspb.Message.setProto3IntField(this, 4, value);
|
|
2960
|
+
};
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* optional string fileName = 5;
|
|
2965
|
+
* @return {string}
|
|
2966
|
+
*/
|
|
2967
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.getFilename = function() {
|
|
2968
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2969
|
+
};
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
/** @param {string} value */
|
|
2973
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.prototype.setFilename = function(value) {
|
|
2974
|
+
jspb.Message.setProto3StringField(this, 5, value);
|
|
2975
|
+
};
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
/**
|
|
2980
|
+
* Generated by JsPbCodeGenerator.
|
|
2981
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2982
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2983
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2984
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2985
|
+
* valid.
|
|
2986
|
+
* @extends {jspb.Message}
|
|
2987
|
+
* @constructor
|
|
2988
|
+
*/
|
|
2989
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse = function(opt_data) {
|
|
2990
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.repeatedFields_, null);
|
|
2991
|
+
};
|
|
2992
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse, jspb.Message);
|
|
2993
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2994
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.displayName = 'proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse';
|
|
2995
|
+
}
|
|
2996
|
+
/**
|
|
2997
|
+
* List of repeated fields within this message type.
|
|
2998
|
+
* @private {!Array<number>}
|
|
2999
|
+
* @const
|
|
3000
|
+
*/
|
|
3001
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.repeatedFields_ = [9];
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3006
|
+
/**
|
|
3007
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3008
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3009
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3010
|
+
* For the list of reserved names please see:
|
|
3011
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3012
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3013
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3014
|
+
* @return {!Object}
|
|
3015
|
+
*/
|
|
3016
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3017
|
+
return proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.toObject(opt_includeInstance, this);
|
|
3018
|
+
};
|
|
3019
|
+
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* Static version of the {@see toObject} method.
|
|
3023
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3024
|
+
* instance for transitional soy proto support:
|
|
3025
|
+
* http://goto/soy-param-migration
|
|
3026
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse} msg The msg instance to transform.
|
|
3027
|
+
* @return {!Object}
|
|
3028
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3029
|
+
*/
|
|
3030
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.toObject = function(includeInstance, msg) {
|
|
3031
|
+
var f, obj = {
|
|
3032
|
+
responsecode: (f = msg.getResponsecode()) && proto.tillpaymentgatewayserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
3033
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3034
|
+
processdate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3035
|
+
totalnetamount: +jspb.Message.getFieldWithDefault(msg, 4, 0.0),
|
|
3036
|
+
totalrewardsamount: +jspb.Message.getFieldWithDefault(msg, 5, 0.0),
|
|
3037
|
+
totalprocessingfee: +jspb.Message.getFieldWithDefault(msg, 6, 0.0),
|
|
3038
|
+
totalsettlementamount: +jspb.Message.getFieldWithDefault(msg, 7, 0.0),
|
|
3039
|
+
numberofpayments: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
3040
|
+
settlementtransactionsList: jspb.Message.toObjectList(msg.getSettlementtransactionsList(),
|
|
3041
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.toObject, includeInstance)
|
|
3042
|
+
};
|
|
3043
|
+
|
|
3044
|
+
if (includeInstance) {
|
|
3045
|
+
obj.$jspbMessageInstance = msg;
|
|
3046
|
+
}
|
|
3047
|
+
return obj;
|
|
3048
|
+
};
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3054
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3055
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse}
|
|
3056
|
+
*/
|
|
3057
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.deserializeBinary = function(bytes) {
|
|
3058
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3059
|
+
var msg = new proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse;
|
|
3060
|
+
return proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
3061
|
+
};
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
/**
|
|
3065
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3066
|
+
* given reader into the given message object.
|
|
3067
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse} msg The message object to deserialize into.
|
|
3068
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3069
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse}
|
|
3070
|
+
*/
|
|
3071
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3072
|
+
while (reader.nextField()) {
|
|
3073
|
+
if (reader.isEndGroup()) {
|
|
3074
|
+
break;
|
|
3075
|
+
}
|
|
3076
|
+
var field = reader.getFieldNumber();
|
|
3077
|
+
switch (field) {
|
|
3078
|
+
case 1:
|
|
3079
|
+
var value = new proto.tillpaymentgatewayserviceapi.ResponseCode;
|
|
3080
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
3081
|
+
msg.setResponsecode(value);
|
|
3082
|
+
break;
|
|
3083
|
+
case 2:
|
|
3084
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3085
|
+
msg.setSettlementfileid(value);
|
|
3086
|
+
break;
|
|
3087
|
+
case 3:
|
|
3088
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3089
|
+
msg.setProcessdate(value);
|
|
3090
|
+
break;
|
|
3091
|
+
case 4:
|
|
3092
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3093
|
+
msg.setTotalnetamount(value);
|
|
3094
|
+
break;
|
|
3095
|
+
case 5:
|
|
3096
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3097
|
+
msg.setTotalrewardsamount(value);
|
|
3098
|
+
break;
|
|
3099
|
+
case 6:
|
|
3100
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3101
|
+
msg.setTotalprocessingfee(value);
|
|
3102
|
+
break;
|
|
3103
|
+
case 7:
|
|
3104
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3105
|
+
msg.setTotalsettlementamount(value);
|
|
3106
|
+
break;
|
|
3107
|
+
case 8:
|
|
3108
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3109
|
+
msg.setNumberofpayments(value);
|
|
3110
|
+
break;
|
|
3111
|
+
case 9:
|
|
3112
|
+
var value = new proto.tillpaymentgatewayserviceapi.SettlementTransaction;
|
|
3113
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.SettlementTransaction.deserializeBinaryFromReader);
|
|
3114
|
+
msg.addSettlementtransactions(value);
|
|
3115
|
+
break;
|
|
3116
|
+
default:
|
|
3117
|
+
reader.skipField();
|
|
3118
|
+
break;
|
|
3119
|
+
}
|
|
3120
|
+
}
|
|
3121
|
+
return msg;
|
|
3122
|
+
};
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3127
|
+
* @return {!Uint8Array}
|
|
3128
|
+
*/
|
|
3129
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.serializeBinary = function() {
|
|
3130
|
+
var writer = new jspb.BinaryWriter();
|
|
3131
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.serializeBinaryToWriter(this, writer);
|
|
3132
|
+
return writer.getResultBuffer();
|
|
3133
|
+
};
|
|
3134
|
+
|
|
3135
|
+
|
|
3136
|
+
/**
|
|
3137
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3138
|
+
* format), writing to the given BinaryWriter.
|
|
3139
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse} message
|
|
3140
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3141
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3142
|
+
*/
|
|
3143
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3144
|
+
var f = undefined;
|
|
3145
|
+
f = message.getResponsecode();
|
|
3146
|
+
if (f != null) {
|
|
3147
|
+
writer.writeMessage(
|
|
3148
|
+
1,
|
|
3149
|
+
f,
|
|
3150
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.serializeBinaryToWriter
|
|
3151
|
+
);
|
|
3152
|
+
}
|
|
3153
|
+
f = message.getSettlementfileid();
|
|
3154
|
+
if (f !== 0) {
|
|
3155
|
+
writer.writeInt64(
|
|
3156
|
+
2,
|
|
3157
|
+
f
|
|
3158
|
+
);
|
|
3159
|
+
}
|
|
3160
|
+
f = message.getProcessdate();
|
|
3161
|
+
if (f.length > 0) {
|
|
3162
|
+
writer.writeString(
|
|
3163
|
+
3,
|
|
3164
|
+
f
|
|
3165
|
+
);
|
|
3166
|
+
}
|
|
3167
|
+
f = message.getTotalnetamount();
|
|
3168
|
+
if (f !== 0.0) {
|
|
3169
|
+
writer.writeDouble(
|
|
3170
|
+
4,
|
|
3171
|
+
f
|
|
3172
|
+
);
|
|
3173
|
+
}
|
|
3174
|
+
f = message.getTotalrewardsamount();
|
|
3175
|
+
if (f !== 0.0) {
|
|
3176
|
+
writer.writeDouble(
|
|
3177
|
+
5,
|
|
3178
|
+
f
|
|
3179
|
+
);
|
|
3180
|
+
}
|
|
3181
|
+
f = message.getTotalprocessingfee();
|
|
3182
|
+
if (f !== 0.0) {
|
|
3183
|
+
writer.writeDouble(
|
|
3184
|
+
6,
|
|
3185
|
+
f
|
|
3186
|
+
);
|
|
3187
|
+
}
|
|
3188
|
+
f = message.getTotalsettlementamount();
|
|
3189
|
+
if (f !== 0.0) {
|
|
3190
|
+
writer.writeDouble(
|
|
3191
|
+
7,
|
|
3192
|
+
f
|
|
3193
|
+
);
|
|
3194
|
+
}
|
|
3195
|
+
f = message.getNumberofpayments();
|
|
3196
|
+
if (f !== 0) {
|
|
3197
|
+
writer.writeInt32(
|
|
3198
|
+
8,
|
|
3199
|
+
f
|
|
3200
|
+
);
|
|
3201
|
+
}
|
|
3202
|
+
f = message.getSettlementtransactionsList();
|
|
3203
|
+
if (f.length > 0) {
|
|
3204
|
+
writer.writeRepeatedMessage(
|
|
3205
|
+
9,
|
|
3206
|
+
f,
|
|
3207
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.serializeBinaryToWriter
|
|
3208
|
+
);
|
|
3209
|
+
}
|
|
3210
|
+
};
|
|
3211
|
+
|
|
3212
|
+
|
|
3213
|
+
/**
|
|
3214
|
+
* optional ResponseCode responseCode = 1;
|
|
3215
|
+
* @return {?proto.tillpaymentgatewayserviceapi.ResponseCode}
|
|
3216
|
+
*/
|
|
3217
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getResponsecode = function() {
|
|
3218
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.ResponseCode} */ (
|
|
3219
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.ResponseCode, 1));
|
|
3220
|
+
};
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.ResponseCode|undefined} value */
|
|
3224
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setResponsecode = function(value) {
|
|
3225
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
3226
|
+
};
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.clearResponsecode = function() {
|
|
3230
|
+
this.setResponsecode(undefined);
|
|
3231
|
+
};
|
|
3232
|
+
|
|
3233
|
+
|
|
3234
|
+
/**
|
|
3235
|
+
* Returns whether this field is set.
|
|
3236
|
+
* @return {!boolean}
|
|
3237
|
+
*/
|
|
3238
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.hasResponsecode = function() {
|
|
3239
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3240
|
+
};
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
/**
|
|
3244
|
+
* optional int64 settlementFileId = 2;
|
|
3245
|
+
* @return {number}
|
|
3246
|
+
*/
|
|
3247
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getSettlementfileid = function() {
|
|
3248
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3249
|
+
};
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
/** @param {number} value */
|
|
3253
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setSettlementfileid = function(value) {
|
|
3254
|
+
jspb.Message.setProto3IntField(this, 2, value);
|
|
3255
|
+
};
|
|
3256
|
+
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* optional string processDate = 3;
|
|
3260
|
+
* @return {string}
|
|
3261
|
+
*/
|
|
3262
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getProcessdate = function() {
|
|
3263
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3264
|
+
};
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
/** @param {string} value */
|
|
3268
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setProcessdate = function(value) {
|
|
3269
|
+
jspb.Message.setProto3StringField(this, 3, value);
|
|
3270
|
+
};
|
|
3271
|
+
|
|
3272
|
+
|
|
3273
|
+
/**
|
|
3274
|
+
* optional double totalNetAmount = 4;
|
|
3275
|
+
* @return {number}
|
|
3276
|
+
*/
|
|
3277
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getTotalnetamount = function() {
|
|
3278
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 4, 0.0));
|
|
3279
|
+
};
|
|
3280
|
+
|
|
3281
|
+
|
|
3282
|
+
/** @param {number} value */
|
|
3283
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setTotalnetamount = function(value) {
|
|
3284
|
+
jspb.Message.setProto3FloatField(this, 4, value);
|
|
3285
|
+
};
|
|
3286
|
+
|
|
3287
|
+
|
|
3288
|
+
/**
|
|
3289
|
+
* optional double totalRewardsAmount = 5;
|
|
3290
|
+
* @return {number}
|
|
3291
|
+
*/
|
|
3292
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getTotalrewardsamount = function() {
|
|
3293
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 5, 0.0));
|
|
3294
|
+
};
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
/** @param {number} value */
|
|
3298
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setTotalrewardsamount = function(value) {
|
|
3299
|
+
jspb.Message.setProto3FloatField(this, 5, value);
|
|
3300
|
+
};
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
/**
|
|
3304
|
+
* optional double totalProcessingFee = 6;
|
|
3305
|
+
* @return {number}
|
|
3306
|
+
*/
|
|
3307
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getTotalprocessingfee = function() {
|
|
3308
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 6, 0.0));
|
|
3309
|
+
};
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
/** @param {number} value */
|
|
3313
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setTotalprocessingfee = function(value) {
|
|
3314
|
+
jspb.Message.setProto3FloatField(this, 6, value);
|
|
3315
|
+
};
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
/**
|
|
3319
|
+
* optional double totalSettlementAmount = 7;
|
|
3320
|
+
* @return {number}
|
|
3321
|
+
*/
|
|
3322
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getTotalsettlementamount = function() {
|
|
3323
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 7, 0.0));
|
|
3324
|
+
};
|
|
3325
|
+
|
|
3326
|
+
|
|
3327
|
+
/** @param {number} value */
|
|
3328
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setTotalsettlementamount = function(value) {
|
|
3329
|
+
jspb.Message.setProto3FloatField(this, 7, value);
|
|
3330
|
+
};
|
|
3331
|
+
|
|
3332
|
+
|
|
3333
|
+
/**
|
|
3334
|
+
* optional int32 numberOfPayments = 8;
|
|
3335
|
+
* @return {number}
|
|
3336
|
+
*/
|
|
3337
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getNumberofpayments = function() {
|
|
3338
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
3339
|
+
};
|
|
3340
|
+
|
|
3341
|
+
|
|
3342
|
+
/** @param {number} value */
|
|
3343
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setNumberofpayments = function(value) {
|
|
3344
|
+
jspb.Message.setProto3IntField(this, 8, value);
|
|
3345
|
+
};
|
|
3346
|
+
|
|
3347
|
+
|
|
3348
|
+
/**
|
|
3349
|
+
* repeated SettlementTransaction settlementTransactions = 9;
|
|
3350
|
+
* @return {!Array<!proto.tillpaymentgatewayserviceapi.SettlementTransaction>}
|
|
3351
|
+
*/
|
|
3352
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.getSettlementtransactionsList = function() {
|
|
3353
|
+
return /** @type{!Array<!proto.tillpaymentgatewayserviceapi.SettlementTransaction>} */ (
|
|
3354
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tillpaymentgatewayserviceapi.SettlementTransaction, 9));
|
|
3355
|
+
};
|
|
3356
|
+
|
|
3357
|
+
|
|
3358
|
+
/** @param {!Array<!proto.tillpaymentgatewayserviceapi.SettlementTransaction>} value */
|
|
3359
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.setSettlementtransactionsList = function(value) {
|
|
3360
|
+
jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
3361
|
+
};
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
/**
|
|
3365
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementTransaction=} opt_value
|
|
3366
|
+
* @param {number=} opt_index
|
|
3367
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettlementTransaction}
|
|
3368
|
+
*/
|
|
3369
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.addSettlementtransactions = function(opt_value, opt_index) {
|
|
3370
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.tillpaymentgatewayserviceapi.SettlementTransaction, opt_index);
|
|
3371
|
+
};
|
|
3372
|
+
|
|
3373
|
+
|
|
3374
|
+
proto.tillpaymentgatewayserviceapi.SettleFileDetailsResponse.prototype.clearSettlementtransactionsList = function() {
|
|
3375
|
+
this.setSettlementtransactionsList([]);
|
|
3376
|
+
};
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
|
|
3380
|
+
/**
|
|
3381
|
+
* Generated by JsPbCodeGenerator.
|
|
3382
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3383
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3384
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3385
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3386
|
+
* valid.
|
|
3387
|
+
* @extends {jspb.Message}
|
|
3388
|
+
* @constructor
|
|
3389
|
+
*/
|
|
3390
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse = function(opt_data) {
|
|
3391
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.tillpaymentgatewayserviceapi.SettleFilesResponse.repeatedFields_, null);
|
|
3392
|
+
};
|
|
3393
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.SettleFilesResponse, jspb.Message);
|
|
3394
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3395
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.displayName = 'proto.tillpaymentgatewayserviceapi.SettleFilesResponse';
|
|
3396
|
+
}
|
|
3397
|
+
/**
|
|
3398
|
+
* List of repeated fields within this message type.
|
|
3399
|
+
* @private {!Array<number>}
|
|
3400
|
+
* @const
|
|
3401
|
+
*/
|
|
3402
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.repeatedFields_ = [2];
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
|
|
3406
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3407
|
+
/**
|
|
3408
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3409
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3410
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3411
|
+
* For the list of reserved names please see:
|
|
3412
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3413
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3414
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3415
|
+
* @return {!Object}
|
|
3416
|
+
*/
|
|
3417
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3418
|
+
return proto.tillpaymentgatewayserviceapi.SettleFilesResponse.toObject(opt_includeInstance, this);
|
|
3419
|
+
};
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
/**
|
|
3423
|
+
* Static version of the {@see toObject} method.
|
|
3424
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3425
|
+
* instance for transitional soy proto support:
|
|
3426
|
+
* http://goto/soy-param-migration
|
|
3427
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFilesResponse} msg The msg instance to transform.
|
|
3428
|
+
* @return {!Object}
|
|
3429
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3430
|
+
*/
|
|
3431
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.toObject = function(includeInstance, msg) {
|
|
3432
|
+
var f, obj = {
|
|
3433
|
+
responsecode: (f = msg.getResponsecode()) && proto.tillpaymentgatewayserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
3434
|
+
settlementfilesList: jspb.Message.toObjectList(msg.getSettlementfilesList(),
|
|
3435
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.toObject, includeInstance)
|
|
3436
|
+
};
|
|
3437
|
+
|
|
3438
|
+
if (includeInstance) {
|
|
3439
|
+
obj.$jspbMessageInstance = msg;
|
|
3440
|
+
}
|
|
3441
|
+
return obj;
|
|
3442
|
+
};
|
|
3443
|
+
}
|
|
3444
|
+
|
|
3445
|
+
|
|
3446
|
+
/**
|
|
3447
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3448
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3449
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettleFilesResponse}
|
|
3450
|
+
*/
|
|
3451
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.deserializeBinary = function(bytes) {
|
|
3452
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3453
|
+
var msg = new proto.tillpaymentgatewayserviceapi.SettleFilesResponse;
|
|
3454
|
+
return proto.tillpaymentgatewayserviceapi.SettleFilesResponse.deserializeBinaryFromReader(msg, reader);
|
|
3455
|
+
};
|
|
3456
|
+
|
|
3457
|
+
|
|
3458
|
+
/**
|
|
3459
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3460
|
+
* given reader into the given message object.
|
|
3461
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFilesResponse} msg The message object to deserialize into.
|
|
3462
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3463
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettleFilesResponse}
|
|
3464
|
+
*/
|
|
3465
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3466
|
+
while (reader.nextField()) {
|
|
3467
|
+
if (reader.isEndGroup()) {
|
|
3468
|
+
break;
|
|
3469
|
+
}
|
|
3470
|
+
var field = reader.getFieldNumber();
|
|
3471
|
+
switch (field) {
|
|
3472
|
+
case 1:
|
|
3473
|
+
var value = new proto.tillpaymentgatewayserviceapi.ResponseCode;
|
|
3474
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
3475
|
+
msg.setResponsecode(value);
|
|
3476
|
+
break;
|
|
3477
|
+
case 2:
|
|
3478
|
+
var value = new proto.tillpaymentgatewayserviceapi.SettleFile;
|
|
3479
|
+
reader.readMessage(value,proto.tillpaymentgatewayserviceapi.SettleFile.deserializeBinaryFromReader);
|
|
3480
|
+
msg.addSettlementfiles(value);
|
|
3481
|
+
break;
|
|
3482
|
+
default:
|
|
3483
|
+
reader.skipField();
|
|
3484
|
+
break;
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
return msg;
|
|
3488
|
+
};
|
|
3489
|
+
|
|
3490
|
+
|
|
3491
|
+
/**
|
|
3492
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3493
|
+
* @return {!Uint8Array}
|
|
3494
|
+
*/
|
|
3495
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.serializeBinary = function() {
|
|
3496
|
+
var writer = new jspb.BinaryWriter();
|
|
3497
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.serializeBinaryToWriter(this, writer);
|
|
3498
|
+
return writer.getResultBuffer();
|
|
3499
|
+
};
|
|
3500
|
+
|
|
3501
|
+
|
|
3502
|
+
/**
|
|
3503
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3504
|
+
* format), writing to the given BinaryWriter.
|
|
3505
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFilesResponse} message
|
|
3506
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3507
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3508
|
+
*/
|
|
3509
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3510
|
+
var f = undefined;
|
|
3511
|
+
f = message.getResponsecode();
|
|
3512
|
+
if (f != null) {
|
|
3513
|
+
writer.writeMessage(
|
|
3514
|
+
1,
|
|
3515
|
+
f,
|
|
3516
|
+
proto.tillpaymentgatewayserviceapi.ResponseCode.serializeBinaryToWriter
|
|
3517
|
+
);
|
|
3518
|
+
}
|
|
3519
|
+
f = message.getSettlementfilesList();
|
|
3520
|
+
if (f.length > 0) {
|
|
3521
|
+
writer.writeRepeatedMessage(
|
|
3522
|
+
2,
|
|
3523
|
+
f,
|
|
3524
|
+
proto.tillpaymentgatewayserviceapi.SettleFile.serializeBinaryToWriter
|
|
3525
|
+
);
|
|
3526
|
+
}
|
|
3527
|
+
};
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
/**
|
|
3531
|
+
* optional ResponseCode responseCode = 1;
|
|
3532
|
+
* @return {?proto.tillpaymentgatewayserviceapi.ResponseCode}
|
|
3533
|
+
*/
|
|
3534
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.getResponsecode = function() {
|
|
3535
|
+
return /** @type{?proto.tillpaymentgatewayserviceapi.ResponseCode} */ (
|
|
3536
|
+
jspb.Message.getWrapperField(this, proto.tillpaymentgatewayserviceapi.ResponseCode, 1));
|
|
3537
|
+
};
|
|
3538
|
+
|
|
3539
|
+
|
|
3540
|
+
/** @param {?proto.tillpaymentgatewayserviceapi.ResponseCode|undefined} value */
|
|
3541
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.setResponsecode = function(value) {
|
|
3542
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
3543
|
+
};
|
|
3544
|
+
|
|
3545
|
+
|
|
3546
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.clearResponsecode = function() {
|
|
3547
|
+
this.setResponsecode(undefined);
|
|
3548
|
+
};
|
|
3549
|
+
|
|
3550
|
+
|
|
3551
|
+
/**
|
|
3552
|
+
* Returns whether this field is set.
|
|
3553
|
+
* @return {!boolean}
|
|
3554
|
+
*/
|
|
3555
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.hasResponsecode = function() {
|
|
3556
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3557
|
+
};
|
|
3558
|
+
|
|
3559
|
+
|
|
3560
|
+
/**
|
|
3561
|
+
* repeated SettleFile settlementFiles = 2;
|
|
3562
|
+
* @return {!Array<!proto.tillpaymentgatewayserviceapi.SettleFile>}
|
|
3563
|
+
*/
|
|
3564
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.getSettlementfilesList = function() {
|
|
3565
|
+
return /** @type{!Array<!proto.tillpaymentgatewayserviceapi.SettleFile>} */ (
|
|
3566
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tillpaymentgatewayserviceapi.SettleFile, 2));
|
|
3567
|
+
};
|
|
3568
|
+
|
|
3569
|
+
|
|
3570
|
+
/** @param {!Array<!proto.tillpaymentgatewayserviceapi.SettleFile>} value */
|
|
3571
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.setSettlementfilesList = function(value) {
|
|
3572
|
+
jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3573
|
+
};
|
|
3574
|
+
|
|
3575
|
+
|
|
3576
|
+
/**
|
|
3577
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettleFile=} opt_value
|
|
3578
|
+
* @param {number=} opt_index
|
|
3579
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettleFile}
|
|
3580
|
+
*/
|
|
3581
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.addSettlementfiles = function(opt_value, opt_index) {
|
|
3582
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.tillpaymentgatewayserviceapi.SettleFile, opt_index);
|
|
3583
|
+
};
|
|
3584
|
+
|
|
3585
|
+
|
|
3586
|
+
proto.tillpaymentgatewayserviceapi.SettleFilesResponse.prototype.clearSettlementfilesList = function() {
|
|
3587
|
+
this.setSettlementfilesList([]);
|
|
3588
|
+
};
|
|
3589
|
+
|
|
3590
|
+
|
|
3591
|
+
|
|
3592
|
+
/**
|
|
3593
|
+
* Generated by JsPbCodeGenerator.
|
|
3594
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3595
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3596
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3597
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3598
|
+
* valid.
|
|
3599
|
+
* @extends {jspb.Message}
|
|
3600
|
+
* @constructor
|
|
3601
|
+
*/
|
|
3602
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest = function(opt_data) {
|
|
3603
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3604
|
+
};
|
|
3605
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest, jspb.Message);
|
|
3606
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3607
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.displayName = 'proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest';
|
|
3608
|
+
}
|
|
3609
|
+
|
|
3610
|
+
|
|
3611
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3612
|
+
/**
|
|
3613
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3614
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3615
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3616
|
+
* For the list of reserved names please see:
|
|
3617
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3618
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3619
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3620
|
+
* @return {!Object}
|
|
3621
|
+
*/
|
|
3622
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3623
|
+
return proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.toObject(opt_includeInstance, this);
|
|
3624
|
+
};
|
|
3625
|
+
|
|
3626
|
+
|
|
3627
|
+
/**
|
|
3628
|
+
* Static version of the {@see toObject} method.
|
|
3629
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3630
|
+
* instance for transitional soy proto support:
|
|
3631
|
+
* http://goto/soy-param-migration
|
|
3632
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest} msg The msg instance to transform.
|
|
3633
|
+
* @return {!Object}
|
|
3634
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3635
|
+
*/
|
|
3636
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.toObject = function(includeInstance, msg) {
|
|
3637
|
+
var f, obj = {
|
|
3638
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3639
|
+
};
|
|
3640
|
+
|
|
3641
|
+
if (includeInstance) {
|
|
3642
|
+
obj.$jspbMessageInstance = msg;
|
|
3643
|
+
}
|
|
3644
|
+
return obj;
|
|
3645
|
+
};
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
/**
|
|
3650
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3651
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3652
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest}
|
|
3653
|
+
*/
|
|
3654
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.deserializeBinary = function(bytes) {
|
|
3655
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3656
|
+
var msg = new proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest;
|
|
3657
|
+
return proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3658
|
+
};
|
|
3659
|
+
|
|
3660
|
+
|
|
3661
|
+
/**
|
|
3662
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3663
|
+
* given reader into the given message object.
|
|
3664
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest} msg The message object to deserialize into.
|
|
3665
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3666
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest}
|
|
3667
|
+
*/
|
|
3668
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3669
|
+
while (reader.nextField()) {
|
|
3670
|
+
if (reader.isEndGroup()) {
|
|
3671
|
+
break;
|
|
3672
|
+
}
|
|
3673
|
+
var field = reader.getFieldNumber();
|
|
3674
|
+
switch (field) {
|
|
3675
|
+
case 1:
|
|
3676
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3677
|
+
msg.setSettlementfileid(value);
|
|
3678
|
+
break;
|
|
3679
|
+
default:
|
|
3680
|
+
reader.skipField();
|
|
3681
|
+
break;
|
|
3682
|
+
}
|
|
3683
|
+
}
|
|
3684
|
+
return msg;
|
|
3685
|
+
};
|
|
3686
|
+
|
|
3687
|
+
|
|
3688
|
+
/**
|
|
3689
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3690
|
+
* @return {!Uint8Array}
|
|
3691
|
+
*/
|
|
3692
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.prototype.serializeBinary = function() {
|
|
3693
|
+
var writer = new jspb.BinaryWriter();
|
|
3694
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
3695
|
+
return writer.getResultBuffer();
|
|
3696
|
+
};
|
|
3697
|
+
|
|
3698
|
+
|
|
3699
|
+
/**
|
|
3700
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3701
|
+
* format), writing to the given BinaryWriter.
|
|
3702
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest} message
|
|
3703
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3704
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3705
|
+
*/
|
|
3706
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3707
|
+
var f = undefined;
|
|
3708
|
+
f = message.getSettlementfileid();
|
|
3709
|
+
if (f !== 0) {
|
|
3710
|
+
writer.writeInt64(
|
|
3711
|
+
1,
|
|
3712
|
+
f
|
|
3713
|
+
);
|
|
3714
|
+
}
|
|
3715
|
+
};
|
|
3716
|
+
|
|
3717
|
+
|
|
3718
|
+
/**
|
|
3719
|
+
* optional int64 settlementFileId = 1;
|
|
3720
|
+
* @return {number}
|
|
3721
|
+
*/
|
|
3722
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.prototype.getSettlementfileid = function() {
|
|
3723
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3724
|
+
};
|
|
3725
|
+
|
|
3726
|
+
|
|
3727
|
+
/** @param {number} value */
|
|
3728
|
+
proto.tillpaymentgatewayserviceapi.SettlementFilesDetailsRequest.prototype.setSettlementfileid = function(value) {
|
|
3729
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
3730
|
+
};
|
|
3731
|
+
|
|
3732
|
+
|
|
3733
|
+
|
|
3734
|
+
/**
|
|
3735
|
+
* Generated by JsPbCodeGenerator.
|
|
3736
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3737
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3738
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3739
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3740
|
+
* valid.
|
|
3741
|
+
* @extends {jspb.Message}
|
|
3742
|
+
* @constructor
|
|
3743
|
+
*/
|
|
3744
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction = function(opt_data) {
|
|
3745
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3746
|
+
};
|
|
3747
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.SettlementTransaction, jspb.Message);
|
|
3748
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3749
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.displayName = 'proto.tillpaymentgatewayserviceapi.SettlementTransaction';
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
|
|
3753
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3754
|
+
/**
|
|
3755
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3756
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3757
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3758
|
+
* For the list of reserved names please see:
|
|
3759
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3760
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3761
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3762
|
+
* @return {!Object}
|
|
3763
|
+
*/
|
|
3764
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
3765
|
+
return proto.tillpaymentgatewayserviceapi.SettlementTransaction.toObject(opt_includeInstance, this);
|
|
3766
|
+
};
|
|
3767
|
+
|
|
3768
|
+
|
|
3769
|
+
/**
|
|
3770
|
+
* Static version of the {@see toObject} method.
|
|
3771
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3772
|
+
* instance for transitional soy proto support:
|
|
3773
|
+
* http://goto/soy-param-migration
|
|
3774
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementTransaction} msg The msg instance to transform.
|
|
3775
|
+
* @return {!Object}
|
|
3776
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3777
|
+
*/
|
|
3778
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.toObject = function(includeInstance, msg) {
|
|
3779
|
+
var f, obj = {
|
|
3780
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3781
|
+
transactiondate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3782
|
+
paymentamount: +jspb.Message.getFieldWithDefault(msg, 3, 0.0),
|
|
3783
|
+
rewardsamount: +jspb.Message.getFieldWithDefault(msg, 4, 0.0),
|
|
3784
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3785
|
+
billername: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3786
|
+
fraudrisk: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3787
|
+
status: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
3788
|
+
userId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
3789
|
+
surchargeamount: +jspb.Message.getFieldWithDefault(msg, 10, 0.0),
|
|
3790
|
+
paidamountincludingsurcharge: +jspb.Message.getFieldWithDefault(msg, 11, 0.0)
|
|
3791
|
+
};
|
|
3792
|
+
|
|
3793
|
+
if (includeInstance) {
|
|
3794
|
+
obj.$jspbMessageInstance = msg;
|
|
3795
|
+
}
|
|
3796
|
+
return obj;
|
|
3797
|
+
};
|
|
3798
|
+
}
|
|
3799
|
+
|
|
3800
|
+
|
|
3801
|
+
/**
|
|
3802
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3803
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3804
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettlementTransaction}
|
|
3805
|
+
*/
|
|
3806
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.deserializeBinary = function(bytes) {
|
|
3807
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3808
|
+
var msg = new proto.tillpaymentgatewayserviceapi.SettlementTransaction;
|
|
3809
|
+
return proto.tillpaymentgatewayserviceapi.SettlementTransaction.deserializeBinaryFromReader(msg, reader);
|
|
3810
|
+
};
|
|
3811
|
+
|
|
3812
|
+
|
|
3813
|
+
/**
|
|
3814
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3815
|
+
* given reader into the given message object.
|
|
3816
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementTransaction} msg The message object to deserialize into.
|
|
3817
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3818
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettlementTransaction}
|
|
3819
|
+
*/
|
|
3820
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
3821
|
+
while (reader.nextField()) {
|
|
3822
|
+
if (reader.isEndGroup()) {
|
|
3823
|
+
break;
|
|
3824
|
+
}
|
|
3825
|
+
var field = reader.getFieldNumber();
|
|
3826
|
+
switch (field) {
|
|
3827
|
+
case 1:
|
|
3828
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3829
|
+
msg.setTransactionid(value);
|
|
3830
|
+
break;
|
|
3831
|
+
case 2:
|
|
3832
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3833
|
+
msg.setTransactiondate(value);
|
|
3834
|
+
break;
|
|
3835
|
+
case 3:
|
|
3836
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3837
|
+
msg.setPaymentamount(value);
|
|
3838
|
+
break;
|
|
3839
|
+
case 4:
|
|
3840
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3841
|
+
msg.setRewardsamount(value);
|
|
3842
|
+
break;
|
|
3843
|
+
case 5:
|
|
3844
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3845
|
+
msg.setBillercode(value);
|
|
3846
|
+
break;
|
|
3847
|
+
case 6:
|
|
3848
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3849
|
+
msg.setBillername(value);
|
|
3850
|
+
break;
|
|
3851
|
+
case 7:
|
|
3852
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3853
|
+
msg.setFraudrisk(value);
|
|
3854
|
+
break;
|
|
3855
|
+
case 8:
|
|
3856
|
+
var value = /** @type {!proto.tillpaymentgatewayserviceapi.SettlementTransactionStatus} */ (reader.readEnum());
|
|
3857
|
+
msg.setStatus(value);
|
|
3858
|
+
break;
|
|
3859
|
+
case 9:
|
|
3860
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3861
|
+
msg.setUserId(value);
|
|
3862
|
+
break;
|
|
3863
|
+
case 10:
|
|
3864
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3865
|
+
msg.setSurchargeamount(value);
|
|
3866
|
+
break;
|
|
3867
|
+
case 11:
|
|
3868
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3869
|
+
msg.setPaidamountincludingsurcharge(value);
|
|
3870
|
+
break;
|
|
3871
|
+
default:
|
|
3872
|
+
reader.skipField();
|
|
3873
|
+
break;
|
|
3874
|
+
}
|
|
3875
|
+
}
|
|
3876
|
+
return msg;
|
|
3877
|
+
};
|
|
3878
|
+
|
|
3879
|
+
|
|
3880
|
+
/**
|
|
3881
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3882
|
+
* @return {!Uint8Array}
|
|
3883
|
+
*/
|
|
3884
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.serializeBinary = function() {
|
|
3885
|
+
var writer = new jspb.BinaryWriter();
|
|
3886
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.serializeBinaryToWriter(this, writer);
|
|
3887
|
+
return writer.getResultBuffer();
|
|
3888
|
+
};
|
|
3889
|
+
|
|
3890
|
+
|
|
3891
|
+
/**
|
|
3892
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3893
|
+
* format), writing to the given BinaryWriter.
|
|
3894
|
+
* @param {!proto.tillpaymentgatewayserviceapi.SettlementTransaction} message
|
|
3895
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3896
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3897
|
+
*/
|
|
3898
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
3899
|
+
var f = undefined;
|
|
3900
|
+
f = message.getTransactionid();
|
|
3901
|
+
if (f !== 0) {
|
|
3902
|
+
writer.writeInt64(
|
|
3903
|
+
1,
|
|
3904
|
+
f
|
|
3905
|
+
);
|
|
3906
|
+
}
|
|
3907
|
+
f = message.getTransactiondate();
|
|
3908
|
+
if (f.length > 0) {
|
|
3909
|
+
writer.writeString(
|
|
3910
|
+
2,
|
|
3911
|
+
f
|
|
3912
|
+
);
|
|
3913
|
+
}
|
|
3914
|
+
f = message.getPaymentamount();
|
|
3915
|
+
if (f !== 0.0) {
|
|
3916
|
+
writer.writeDouble(
|
|
3917
|
+
3,
|
|
3918
|
+
f
|
|
3919
|
+
);
|
|
3920
|
+
}
|
|
3921
|
+
f = message.getRewardsamount();
|
|
3922
|
+
if (f !== 0.0) {
|
|
3923
|
+
writer.writeDouble(
|
|
3924
|
+
4,
|
|
3925
|
+
f
|
|
3926
|
+
);
|
|
3927
|
+
}
|
|
3928
|
+
f = message.getBillercode();
|
|
3929
|
+
if (f.length > 0) {
|
|
3930
|
+
writer.writeString(
|
|
3931
|
+
5,
|
|
3932
|
+
f
|
|
3933
|
+
);
|
|
3934
|
+
}
|
|
3935
|
+
f = message.getBillername();
|
|
3936
|
+
if (f.length > 0) {
|
|
3937
|
+
writer.writeString(
|
|
3938
|
+
6,
|
|
3939
|
+
f
|
|
3940
|
+
);
|
|
3941
|
+
}
|
|
3942
|
+
f = message.getFraudrisk();
|
|
3943
|
+
if (f.length > 0) {
|
|
3944
|
+
writer.writeString(
|
|
3945
|
+
7,
|
|
3946
|
+
f
|
|
3947
|
+
);
|
|
3948
|
+
}
|
|
3949
|
+
f = message.getStatus();
|
|
3950
|
+
if (f !== 0.0) {
|
|
3951
|
+
writer.writeEnum(
|
|
3952
|
+
8,
|
|
3953
|
+
f
|
|
3954
|
+
);
|
|
3955
|
+
}
|
|
3956
|
+
f = message.getUserId();
|
|
3957
|
+
if (f !== 0) {
|
|
3958
|
+
writer.writeInt64(
|
|
3959
|
+
9,
|
|
3960
|
+
f
|
|
3961
|
+
);
|
|
3962
|
+
}
|
|
3963
|
+
f = message.getSurchargeamount();
|
|
3964
|
+
if (f !== 0.0) {
|
|
3965
|
+
writer.writeDouble(
|
|
3966
|
+
10,
|
|
3967
|
+
f
|
|
3968
|
+
);
|
|
3969
|
+
}
|
|
3970
|
+
f = message.getPaidamountincludingsurcharge();
|
|
3971
|
+
if (f !== 0.0) {
|
|
3972
|
+
writer.writeDouble(
|
|
3973
|
+
11,
|
|
3974
|
+
f
|
|
3975
|
+
);
|
|
3976
|
+
}
|
|
3977
|
+
};
|
|
3978
|
+
|
|
3979
|
+
|
|
3980
|
+
/**
|
|
3981
|
+
* optional int64 transactionId = 1;
|
|
3982
|
+
* @return {number}
|
|
3983
|
+
*/
|
|
3984
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getTransactionid = function() {
|
|
3985
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3986
|
+
};
|
|
3987
|
+
|
|
3988
|
+
|
|
3989
|
+
/** @param {number} value */
|
|
3990
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setTransactionid = function(value) {
|
|
3991
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
3992
|
+
};
|
|
3993
|
+
|
|
3994
|
+
|
|
3995
|
+
/**
|
|
3996
|
+
* optional string transactionDate = 2;
|
|
3997
|
+
* @return {string}
|
|
3998
|
+
*/
|
|
3999
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getTransactiondate = function() {
|
|
4000
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4001
|
+
};
|
|
4002
|
+
|
|
4003
|
+
|
|
4004
|
+
/** @param {string} value */
|
|
4005
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setTransactiondate = function(value) {
|
|
4006
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
4007
|
+
};
|
|
4008
|
+
|
|
4009
|
+
|
|
4010
|
+
/**
|
|
4011
|
+
* optional double paymentAmount = 3;
|
|
4012
|
+
* @return {number}
|
|
4013
|
+
*/
|
|
4014
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getPaymentamount = function() {
|
|
4015
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 3, 0.0));
|
|
4016
|
+
};
|
|
4017
|
+
|
|
4018
|
+
|
|
4019
|
+
/** @param {number} value */
|
|
4020
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setPaymentamount = function(value) {
|
|
4021
|
+
jspb.Message.setProto3FloatField(this, 3, value);
|
|
4022
|
+
};
|
|
4023
|
+
|
|
4024
|
+
|
|
4025
|
+
/**
|
|
4026
|
+
* optional double rewardsAmount = 4;
|
|
4027
|
+
* @return {number}
|
|
4028
|
+
*/
|
|
4029
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getRewardsamount = function() {
|
|
4030
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 4, 0.0));
|
|
4031
|
+
};
|
|
4032
|
+
|
|
4033
|
+
|
|
4034
|
+
/** @param {number} value */
|
|
4035
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setRewardsamount = function(value) {
|
|
4036
|
+
jspb.Message.setProto3FloatField(this, 4, value);
|
|
4037
|
+
};
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
/**
|
|
4041
|
+
* optional string billerCode = 5;
|
|
4042
|
+
* @return {string}
|
|
4043
|
+
*/
|
|
4044
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getBillercode = function() {
|
|
4045
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4046
|
+
};
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
/** @param {string} value */
|
|
4050
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setBillercode = function(value) {
|
|
4051
|
+
jspb.Message.setProto3StringField(this, 5, value);
|
|
4052
|
+
};
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
/**
|
|
4056
|
+
* optional string billerName = 6;
|
|
4057
|
+
* @return {string}
|
|
4058
|
+
*/
|
|
4059
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getBillername = function() {
|
|
4060
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4061
|
+
};
|
|
4062
|
+
|
|
4063
|
+
|
|
4064
|
+
/** @param {string} value */
|
|
4065
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setBillername = function(value) {
|
|
4066
|
+
jspb.Message.setProto3StringField(this, 6, value);
|
|
4067
|
+
};
|
|
4068
|
+
|
|
4069
|
+
|
|
4070
|
+
/**
|
|
4071
|
+
* optional string fraudRisk = 7;
|
|
4072
|
+
* @return {string}
|
|
4073
|
+
*/
|
|
4074
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getFraudrisk = function() {
|
|
4075
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4076
|
+
};
|
|
4077
|
+
|
|
4078
|
+
|
|
4079
|
+
/** @param {string} value */
|
|
4080
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setFraudrisk = function(value) {
|
|
4081
|
+
jspb.Message.setProto3StringField(this, 7, value);
|
|
4082
|
+
};
|
|
4083
|
+
|
|
4084
|
+
|
|
4085
|
+
/**
|
|
4086
|
+
* optional SettlementTransactionStatus status = 8;
|
|
4087
|
+
* @return {!proto.tillpaymentgatewayserviceapi.SettlementTransactionStatus}
|
|
4088
|
+
*/
|
|
4089
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getStatus = function() {
|
|
4090
|
+
return /** @type {!proto.tillpaymentgatewayserviceapi.SettlementTransactionStatus} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
4091
|
+
};
|
|
4092
|
+
|
|
4093
|
+
|
|
4094
|
+
/** @param {!proto.tillpaymentgatewayserviceapi.SettlementTransactionStatus} value */
|
|
4095
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setStatus = function(value) {
|
|
4096
|
+
jspb.Message.setProto3EnumField(this, 8, value);
|
|
4097
|
+
};
|
|
4098
|
+
|
|
4099
|
+
|
|
4100
|
+
/**
|
|
4101
|
+
* optional int64 user_id = 9;
|
|
4102
|
+
* @return {number}
|
|
4103
|
+
*/
|
|
4104
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getUserId = function() {
|
|
4105
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
4106
|
+
};
|
|
4107
|
+
|
|
4108
|
+
|
|
4109
|
+
/** @param {number} value */
|
|
4110
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setUserId = function(value) {
|
|
4111
|
+
jspb.Message.setProto3IntField(this, 9, value);
|
|
4112
|
+
};
|
|
4113
|
+
|
|
4114
|
+
|
|
4115
|
+
/**
|
|
4116
|
+
* optional double surchargeAmount = 10;
|
|
4117
|
+
* @return {number}
|
|
4118
|
+
*/
|
|
4119
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getSurchargeamount = function() {
|
|
4120
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 10, 0.0));
|
|
4121
|
+
};
|
|
4122
|
+
|
|
4123
|
+
|
|
4124
|
+
/** @param {number} value */
|
|
4125
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setSurchargeamount = function(value) {
|
|
4126
|
+
jspb.Message.setProto3FloatField(this, 10, value);
|
|
4127
|
+
};
|
|
4128
|
+
|
|
4129
|
+
|
|
4130
|
+
/**
|
|
4131
|
+
* optional double paidAmountIncludingSurcharge = 11;
|
|
4132
|
+
* @return {number}
|
|
4133
|
+
*/
|
|
4134
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.getPaidamountincludingsurcharge = function() {
|
|
4135
|
+
return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 11, 0.0));
|
|
4136
|
+
};
|
|
4137
|
+
|
|
4138
|
+
|
|
4139
|
+
/** @param {number} value */
|
|
4140
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransaction.prototype.setPaidamountincludingsurcharge = function(value) {
|
|
4141
|
+
jspb.Message.setProto3FloatField(this, 11, value);
|
|
4142
|
+
};
|
|
4143
|
+
|
|
4144
|
+
|
|
4145
|
+
|
|
4146
|
+
/**
|
|
4147
|
+
* Generated by JsPbCodeGenerator.
|
|
4148
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4149
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4150
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4151
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4152
|
+
* valid.
|
|
4153
|
+
* @extends {jspb.Message}
|
|
4154
|
+
* @constructor
|
|
4155
|
+
*/
|
|
4156
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification = function(opt_data) {
|
|
4157
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4158
|
+
};
|
|
4159
|
+
goog.inherits(proto.tillpaymentgatewayserviceapi.TillTransactionNotification, jspb.Message);
|
|
4160
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4161
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.displayName = 'proto.tillpaymentgatewayserviceapi.TillTransactionNotification';
|
|
4162
|
+
}
|
|
4163
|
+
|
|
4164
|
+
|
|
4165
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4166
|
+
/**
|
|
4167
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4168
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4169
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4170
|
+
* For the list of reserved names please see:
|
|
4171
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4172
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4173
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4174
|
+
* @return {!Object}
|
|
4175
|
+
*/
|
|
4176
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.toObject = function(opt_includeInstance) {
|
|
4177
|
+
return proto.tillpaymentgatewayserviceapi.TillTransactionNotification.toObject(opt_includeInstance, this);
|
|
4178
|
+
};
|
|
4179
|
+
|
|
4180
|
+
|
|
4181
|
+
/**
|
|
4182
|
+
* Static version of the {@see toObject} method.
|
|
4183
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
4184
|
+
* instance for transitional soy proto support:
|
|
4185
|
+
* http://goto/soy-param-migration
|
|
4186
|
+
* @param {!proto.tillpaymentgatewayserviceapi.TillTransactionNotification} msg The msg instance to transform.
|
|
4187
|
+
* @return {!Object}
|
|
4188
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4189
|
+
*/
|
|
4190
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.toObject = function(includeInstance, msg) {
|
|
4191
|
+
var f, obj = {
|
|
4192
|
+
adaptercode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4193
|
+
adaptermessage: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4194
|
+
amount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4195
|
+
code: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4196
|
+
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4197
|
+
merchanttransactionid: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4198
|
+
message: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4199
|
+
paymentmethod: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4200
|
+
purchaseid: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4201
|
+
result: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4202
|
+
transactiontype: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4203
|
+
uuid: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
4204
|
+
};
|
|
4205
|
+
|
|
4206
|
+
if (includeInstance) {
|
|
4207
|
+
obj.$jspbMessageInstance = msg;
|
|
4208
|
+
}
|
|
4209
|
+
return obj;
|
|
4210
|
+
};
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
|
|
4214
|
+
/**
|
|
4215
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4216
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4217
|
+
* @return {!proto.tillpaymentgatewayserviceapi.TillTransactionNotification}
|
|
4218
|
+
*/
|
|
4219
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.deserializeBinary = function(bytes) {
|
|
4220
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4221
|
+
var msg = new proto.tillpaymentgatewayserviceapi.TillTransactionNotification;
|
|
4222
|
+
return proto.tillpaymentgatewayserviceapi.TillTransactionNotification.deserializeBinaryFromReader(msg, reader);
|
|
4223
|
+
};
|
|
4224
|
+
|
|
4225
|
+
|
|
4226
|
+
/**
|
|
4227
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4228
|
+
* given reader into the given message object.
|
|
4229
|
+
* @param {!proto.tillpaymentgatewayserviceapi.TillTransactionNotification} msg The message object to deserialize into.
|
|
4230
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4231
|
+
* @return {!proto.tillpaymentgatewayserviceapi.TillTransactionNotification}
|
|
4232
|
+
*/
|
|
4233
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.deserializeBinaryFromReader = function(msg, reader) {
|
|
4234
|
+
while (reader.nextField()) {
|
|
4235
|
+
if (reader.isEndGroup()) {
|
|
4236
|
+
break;
|
|
4237
|
+
}
|
|
4238
|
+
var field = reader.getFieldNumber();
|
|
4239
|
+
switch (field) {
|
|
4240
|
+
case 1:
|
|
4241
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4242
|
+
msg.setAdaptercode(value);
|
|
4243
|
+
break;
|
|
4244
|
+
case 2:
|
|
4245
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4246
|
+
msg.setAdaptermessage(value);
|
|
4247
|
+
break;
|
|
4248
|
+
case 3:
|
|
4249
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4250
|
+
msg.setAmount(value);
|
|
4251
|
+
break;
|
|
4252
|
+
case 4:
|
|
4253
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4254
|
+
msg.setCode(value);
|
|
4255
|
+
break;
|
|
4256
|
+
case 5:
|
|
4257
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4258
|
+
msg.setCurrency(value);
|
|
4259
|
+
break;
|
|
4260
|
+
case 6:
|
|
4261
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4262
|
+
msg.setMerchanttransactionid(value);
|
|
4263
|
+
break;
|
|
4264
|
+
case 7:
|
|
4265
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4266
|
+
msg.setMessage(value);
|
|
4267
|
+
break;
|
|
4268
|
+
case 8:
|
|
4269
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4270
|
+
msg.setPaymentmethod(value);
|
|
4271
|
+
break;
|
|
4272
|
+
case 9:
|
|
4273
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4274
|
+
msg.setPurchaseid(value);
|
|
4275
|
+
break;
|
|
4276
|
+
case 10:
|
|
4277
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4278
|
+
msg.setResult(value);
|
|
4279
|
+
break;
|
|
4280
|
+
case 11:
|
|
4281
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4282
|
+
msg.setTransactiontype(value);
|
|
4283
|
+
break;
|
|
4284
|
+
case 12:
|
|
4285
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4286
|
+
msg.setUuid(value);
|
|
4287
|
+
break;
|
|
4288
|
+
default:
|
|
4289
|
+
reader.skipField();
|
|
4290
|
+
break;
|
|
4291
|
+
}
|
|
4292
|
+
}
|
|
4293
|
+
return msg;
|
|
4294
|
+
};
|
|
4295
|
+
|
|
4296
|
+
|
|
4297
|
+
/**
|
|
4298
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4299
|
+
* @return {!Uint8Array}
|
|
4300
|
+
*/
|
|
4301
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.serializeBinary = function() {
|
|
4302
|
+
var writer = new jspb.BinaryWriter();
|
|
4303
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.serializeBinaryToWriter(this, writer);
|
|
4304
|
+
return writer.getResultBuffer();
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4307
|
+
|
|
4308
|
+
/**
|
|
4309
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4310
|
+
* format), writing to the given BinaryWriter.
|
|
4311
|
+
* @param {!proto.tillpaymentgatewayserviceapi.TillTransactionNotification} message
|
|
4312
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4313
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4314
|
+
*/
|
|
4315
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.serializeBinaryToWriter = function(message, writer) {
|
|
4316
|
+
var f = undefined;
|
|
4317
|
+
f = message.getAdaptercode();
|
|
4318
|
+
if (f.length > 0) {
|
|
4319
|
+
writer.writeString(
|
|
4320
|
+
1,
|
|
4321
|
+
f
|
|
4322
|
+
);
|
|
4323
|
+
}
|
|
4324
|
+
f = message.getAdaptermessage();
|
|
4325
|
+
if (f.length > 0) {
|
|
4326
|
+
writer.writeString(
|
|
4327
|
+
2,
|
|
4328
|
+
f
|
|
4329
|
+
);
|
|
4330
|
+
}
|
|
4331
|
+
f = message.getAmount();
|
|
4332
|
+
if (f.length > 0) {
|
|
4333
|
+
writer.writeString(
|
|
4334
|
+
3,
|
|
4335
|
+
f
|
|
4336
|
+
);
|
|
4337
|
+
}
|
|
4338
|
+
f = message.getCode();
|
|
4339
|
+
if (f.length > 0) {
|
|
4340
|
+
writer.writeString(
|
|
4341
|
+
4,
|
|
4342
|
+
f
|
|
4343
|
+
);
|
|
4344
|
+
}
|
|
4345
|
+
f = message.getCurrency();
|
|
4346
|
+
if (f.length > 0) {
|
|
4347
|
+
writer.writeString(
|
|
4348
|
+
5,
|
|
4349
|
+
f
|
|
4350
|
+
);
|
|
4351
|
+
}
|
|
4352
|
+
f = message.getMerchanttransactionid();
|
|
4353
|
+
if (f.length > 0) {
|
|
4354
|
+
writer.writeString(
|
|
4355
|
+
6,
|
|
4356
|
+
f
|
|
4357
|
+
);
|
|
4358
|
+
}
|
|
4359
|
+
f = message.getMessage();
|
|
4360
|
+
if (f.length > 0) {
|
|
4361
|
+
writer.writeString(
|
|
4362
|
+
7,
|
|
4363
|
+
f
|
|
4364
|
+
);
|
|
4365
|
+
}
|
|
4366
|
+
f = message.getPaymentmethod();
|
|
4367
|
+
if (f.length > 0) {
|
|
4368
|
+
writer.writeString(
|
|
4369
|
+
8,
|
|
4370
|
+
f
|
|
4371
|
+
);
|
|
4372
|
+
}
|
|
4373
|
+
f = message.getPurchaseid();
|
|
4374
|
+
if (f.length > 0) {
|
|
4375
|
+
writer.writeString(
|
|
4376
|
+
9,
|
|
4377
|
+
f
|
|
4378
|
+
);
|
|
4379
|
+
}
|
|
4380
|
+
f = message.getResult();
|
|
4381
|
+
if (f.length > 0) {
|
|
4382
|
+
writer.writeString(
|
|
4383
|
+
10,
|
|
4384
|
+
f
|
|
4385
|
+
);
|
|
4386
|
+
}
|
|
4387
|
+
f = message.getTransactiontype();
|
|
4388
|
+
if (f.length > 0) {
|
|
4389
|
+
writer.writeString(
|
|
4390
|
+
11,
|
|
4391
|
+
f
|
|
4392
|
+
);
|
|
4393
|
+
}
|
|
4394
|
+
f = message.getUuid();
|
|
4395
|
+
if (f.length > 0) {
|
|
4396
|
+
writer.writeString(
|
|
4397
|
+
12,
|
|
4398
|
+
f
|
|
4399
|
+
);
|
|
4400
|
+
}
|
|
4401
|
+
};
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
/**
|
|
4405
|
+
* optional string adapterCode = 1;
|
|
4406
|
+
* @return {string}
|
|
4407
|
+
*/
|
|
4408
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getAdaptercode = function() {
|
|
4409
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4410
|
+
};
|
|
4411
|
+
|
|
4412
|
+
|
|
4413
|
+
/** @param {string} value */
|
|
4414
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setAdaptercode = function(value) {
|
|
4415
|
+
jspb.Message.setProto3StringField(this, 1, value);
|
|
4416
|
+
};
|
|
4417
|
+
|
|
4418
|
+
|
|
4419
|
+
/**
|
|
4420
|
+
* optional string adapterMessage = 2;
|
|
4421
|
+
* @return {string}
|
|
4422
|
+
*/
|
|
4423
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getAdaptermessage = function() {
|
|
4424
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4425
|
+
};
|
|
4426
|
+
|
|
4427
|
+
|
|
4428
|
+
/** @param {string} value */
|
|
4429
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setAdaptermessage = function(value) {
|
|
4430
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
4431
|
+
};
|
|
4432
|
+
|
|
4433
|
+
|
|
4434
|
+
/**
|
|
4435
|
+
* optional string amount = 3;
|
|
4436
|
+
* @return {string}
|
|
4437
|
+
*/
|
|
4438
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getAmount = function() {
|
|
4439
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4440
|
+
};
|
|
4441
|
+
|
|
4442
|
+
|
|
4443
|
+
/** @param {string} value */
|
|
4444
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setAmount = function(value) {
|
|
4445
|
+
jspb.Message.setProto3StringField(this, 3, value);
|
|
4446
|
+
};
|
|
4447
|
+
|
|
4448
|
+
|
|
4449
|
+
/**
|
|
4450
|
+
* optional string code = 4;
|
|
4451
|
+
* @return {string}
|
|
4452
|
+
*/
|
|
4453
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getCode = function() {
|
|
4454
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4455
|
+
};
|
|
4456
|
+
|
|
4457
|
+
|
|
4458
|
+
/** @param {string} value */
|
|
4459
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setCode = function(value) {
|
|
4460
|
+
jspb.Message.setProto3StringField(this, 4, value);
|
|
4461
|
+
};
|
|
4462
|
+
|
|
4463
|
+
|
|
4464
|
+
/**
|
|
4465
|
+
* optional string currency = 5;
|
|
4466
|
+
* @return {string}
|
|
4467
|
+
*/
|
|
4468
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getCurrency = function() {
|
|
4469
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4470
|
+
};
|
|
4471
|
+
|
|
4472
|
+
|
|
4473
|
+
/** @param {string} value */
|
|
4474
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setCurrency = function(value) {
|
|
4475
|
+
jspb.Message.setProto3StringField(this, 5, value);
|
|
4476
|
+
};
|
|
4477
|
+
|
|
4478
|
+
|
|
4479
|
+
/**
|
|
4480
|
+
* optional string merchantTransactionId = 6;
|
|
4481
|
+
* @return {string}
|
|
4482
|
+
*/
|
|
4483
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getMerchanttransactionid = function() {
|
|
4484
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4485
|
+
};
|
|
4486
|
+
|
|
4487
|
+
|
|
4488
|
+
/** @param {string} value */
|
|
4489
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setMerchanttransactionid = function(value) {
|
|
4490
|
+
jspb.Message.setProto3StringField(this, 6, value);
|
|
4491
|
+
};
|
|
4492
|
+
|
|
4493
|
+
|
|
4494
|
+
/**
|
|
4495
|
+
* optional string message = 7;
|
|
4496
|
+
* @return {string}
|
|
4497
|
+
*/
|
|
4498
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getMessage = function() {
|
|
4499
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4500
|
+
};
|
|
4501
|
+
|
|
4502
|
+
|
|
4503
|
+
/** @param {string} value */
|
|
4504
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setMessage = function(value) {
|
|
4505
|
+
jspb.Message.setProto3StringField(this, 7, value);
|
|
4506
|
+
};
|
|
4507
|
+
|
|
4508
|
+
|
|
4509
|
+
/**
|
|
4510
|
+
* optional string paymentMethod = 8;
|
|
4511
|
+
* @return {string}
|
|
4512
|
+
*/
|
|
4513
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getPaymentmethod = function() {
|
|
4514
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4515
|
+
};
|
|
4516
|
+
|
|
4517
|
+
|
|
4518
|
+
/** @param {string} value */
|
|
4519
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setPaymentmethod = function(value) {
|
|
4520
|
+
jspb.Message.setProto3StringField(this, 8, value);
|
|
4521
|
+
};
|
|
4522
|
+
|
|
4523
|
+
|
|
4524
|
+
/**
|
|
4525
|
+
* optional string purchaseId = 9;
|
|
4526
|
+
* @return {string}
|
|
4527
|
+
*/
|
|
4528
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getPurchaseid = function() {
|
|
4529
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4530
|
+
};
|
|
4531
|
+
|
|
4532
|
+
|
|
4533
|
+
/** @param {string} value */
|
|
4534
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setPurchaseid = function(value) {
|
|
4535
|
+
jspb.Message.setProto3StringField(this, 9, value);
|
|
4536
|
+
};
|
|
4537
|
+
|
|
4538
|
+
|
|
4539
|
+
/**
|
|
4540
|
+
* optional string result = 10;
|
|
4541
|
+
* @return {string}
|
|
4542
|
+
*/
|
|
4543
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getResult = function() {
|
|
4544
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4545
|
+
};
|
|
4546
|
+
|
|
4547
|
+
|
|
4548
|
+
/** @param {string} value */
|
|
4549
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setResult = function(value) {
|
|
4550
|
+
jspb.Message.setProto3StringField(this, 10, value);
|
|
4551
|
+
};
|
|
4552
|
+
|
|
4553
|
+
|
|
4554
|
+
/**
|
|
4555
|
+
* optional string transactionType = 11;
|
|
4556
|
+
* @return {string}
|
|
4557
|
+
*/
|
|
4558
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getTransactiontype = function() {
|
|
4559
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4560
|
+
};
|
|
4561
|
+
|
|
4562
|
+
|
|
4563
|
+
/** @param {string} value */
|
|
4564
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setTransactiontype = function(value) {
|
|
4565
|
+
jspb.Message.setProto3StringField(this, 11, value);
|
|
4566
|
+
};
|
|
4567
|
+
|
|
4568
|
+
|
|
4569
|
+
/**
|
|
4570
|
+
* optional string uuid = 12;
|
|
4571
|
+
* @return {string}
|
|
4572
|
+
*/
|
|
4573
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.getUuid = function() {
|
|
4574
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
4575
|
+
};
|
|
4576
|
+
|
|
4577
|
+
|
|
4578
|
+
/** @param {string} value */
|
|
4579
|
+
proto.tillpaymentgatewayserviceapi.TillTransactionNotification.prototype.setUuid = function(value) {
|
|
4580
|
+
jspb.Message.setProto3StringField(this, 12, value);
|
|
4581
|
+
};
|
|
4582
|
+
|
|
4583
|
+
|
|
4584
|
+
/**
|
|
4585
|
+
* @enum {number}
|
|
4586
|
+
*/
|
|
4587
|
+
proto.tillpaymentgatewayserviceapi.PaymentGatewaySource = {
|
|
4588
|
+
TILL_PAYMENT: 0
|
|
4589
|
+
};
|
|
4590
|
+
|
|
4591
|
+
/**
|
|
4592
|
+
* @enum {number}
|
|
4593
|
+
*/
|
|
4594
|
+
proto.tillpaymentgatewayserviceapi.SettlementTransactionStatus = {
|
|
4595
|
+
SETTLEMENT_SUCCESS: 0,
|
|
4596
|
+
SETTLEMENT_RECORD_NOT_FOUND: 1,
|
|
4597
|
+
PAYMENT_AMOUNT_DOES_NOT_MATCH: 2
|
|
4598
|
+
};
|
|
4599
|
+
|
|
4600
|
+
/**
|
|
4601
|
+
* @enum {number}
|
|
4602
|
+
*/
|
|
4603
|
+
proto.tillpaymentgatewayserviceapi.Status = {
|
|
4604
|
+
SUCCESS: 0,
|
|
4605
|
+
FAILED: 1,
|
|
4606
|
+
NO_RESPONSE: 2,
|
|
4607
|
+
PENDING_3_DS: 3
|
|
4608
|
+
};
|
|
4609
|
+
|
|
4610
|
+
goog.object.extend(exports, proto.tillpaymentgatewayserviceapi);
|