@sniipwebmaster/payment-methods-client-grpcweb 0.2.968 → 0.2.1001
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.
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
goog.exportSymbol('proto.google.protobuf.Empty', null, global);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Generated by JsPbCodeGenerator.
|
|
18
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
19
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
20
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
21
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
22
|
+
* valid.
|
|
23
|
+
* @extends {jspb.Message}
|
|
24
|
+
* @constructor
|
|
25
|
+
*/
|
|
26
|
+
proto.google.protobuf.Empty = function(opt_data) {
|
|
27
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
28
|
+
};
|
|
29
|
+
goog.inherits(proto.google.protobuf.Empty, jspb.Message);
|
|
30
|
+
if (goog.DEBUG && !COMPILED) {
|
|
31
|
+
proto.google.protobuf.Empty.displayName = 'proto.google.protobuf.Empty';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
36
|
+
/**
|
|
37
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
38
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
39
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
40
|
+
* For the list of reserved names please see:
|
|
41
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
42
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
43
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
44
|
+
* @return {!Object}
|
|
45
|
+
*/
|
|
46
|
+
proto.google.protobuf.Empty.prototype.toObject = function(opt_includeInstance) {
|
|
47
|
+
return proto.google.protobuf.Empty.toObject(opt_includeInstance, this);
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Static version of the {@see toObject} method.
|
|
53
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
54
|
+
* instance for transitional soy proto support:
|
|
55
|
+
* http://goto/soy-param-migration
|
|
56
|
+
* @param {!proto.google.protobuf.Empty} msg The msg instance to transform.
|
|
57
|
+
* @return {!Object}
|
|
58
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
59
|
+
*/
|
|
60
|
+
proto.google.protobuf.Empty.toObject = function(includeInstance, msg) {
|
|
61
|
+
var f, obj = {
|
|
62
|
+
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
if (includeInstance) {
|
|
66
|
+
obj.$jspbMessageInstance = msg;
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Deserializes binary data (in protobuf wire format).
|
|
75
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
76
|
+
* @return {!proto.google.protobuf.Empty}
|
|
77
|
+
*/
|
|
78
|
+
proto.google.protobuf.Empty.deserializeBinary = function(bytes) {
|
|
79
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
80
|
+
var msg = new proto.google.protobuf.Empty;
|
|
81
|
+
return proto.google.protobuf.Empty.deserializeBinaryFromReader(msg, reader);
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
87
|
+
* given reader into the given message object.
|
|
88
|
+
* @param {!proto.google.protobuf.Empty} msg The message object to deserialize into.
|
|
89
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
90
|
+
* @return {!proto.google.protobuf.Empty}
|
|
91
|
+
*/
|
|
92
|
+
proto.google.protobuf.Empty.deserializeBinaryFromReader = function(msg, reader) {
|
|
93
|
+
while (reader.nextField()) {
|
|
94
|
+
if (reader.isEndGroup()) {
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
var field = reader.getFieldNumber();
|
|
98
|
+
switch (field) {
|
|
99
|
+
default:
|
|
100
|
+
reader.skipField();
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return msg;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
110
|
+
* @return {!Uint8Array}
|
|
111
|
+
*/
|
|
112
|
+
proto.google.protobuf.Empty.prototype.serializeBinary = function() {
|
|
113
|
+
var writer = new jspb.BinaryWriter();
|
|
114
|
+
proto.google.protobuf.Empty.serializeBinaryToWriter(this, writer);
|
|
115
|
+
return writer.getResultBuffer();
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
121
|
+
* format), writing to the given BinaryWriter.
|
|
122
|
+
* @param {!proto.google.protobuf.Empty} message
|
|
123
|
+
* @param {!jspb.BinaryWriter} writer
|
|
124
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
125
|
+
*/
|
|
126
|
+
proto.google.protobuf.Empty.serializeBinaryToWriter = function(message, writer) {
|
|
127
|
+
var f = undefined;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
goog.object.extend(exports, proto.google.protobuf);
|
|
@@ -68,14 +68,47 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
68
68
|
options['format'] = 'text';
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
-
* @private @const {!
|
|
71
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
72
|
+
*/
|
|
73
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @private @const {string} The hostname
|
|
77
|
+
*/
|
|
78
|
+
this.hostname_ = hostname;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @private @const {?Object} The credentials to be used to connect
|
|
82
|
+
* to the server
|
|
72
83
|
*/
|
|
73
|
-
this.
|
|
74
|
-
hostname, credentials, options);
|
|
84
|
+
this.credentials_ = credentials;
|
|
75
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @private @const {?Object} Options for the client
|
|
88
|
+
*/
|
|
89
|
+
this.options_ = options;
|
|
76
90
|
};
|
|
77
91
|
|
|
78
92
|
|
|
93
|
+
/**
|
|
94
|
+
* @const
|
|
95
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
96
|
+
* !proto.sniippaymentmethodsserviceapi.ActivatePaymentDetailRequest,
|
|
97
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
98
|
+
*/
|
|
99
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_ActivatePaymentDetail = new grpc.web.MethodDescriptor(
|
|
100
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ActivatePaymentDetail',
|
|
101
|
+
grpc.web.MethodType.UNARY,
|
|
102
|
+
proto.sniippaymentmethodsserviceapi.ActivatePaymentDetailRequest,
|
|
103
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
104
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.ActivatePaymentDetailRequest} request */
|
|
105
|
+
function(request) {
|
|
106
|
+
return request.serializeBinary();
|
|
107
|
+
},
|
|
108
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
|
|
79
112
|
/**
|
|
80
113
|
* @const
|
|
81
114
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -95,7 +128,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_ActivatePaymentDetail = ne
|
|
|
95
128
|
/**
|
|
96
129
|
* @param {!proto.sniippaymentmethodsserviceapi.ActivatePaymentDetailRequest} request The
|
|
97
130
|
* request proto
|
|
98
|
-
* @param {
|
|
131
|
+
* @param {?Object<string, string>} metadata User defined
|
|
99
132
|
* call metadata
|
|
100
133
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
101
134
|
* callback The callback function(error, response)
|
|
@@ -107,8 +140,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
107
140
|
return this.client_.rpcCall(this.hostname_ +
|
|
108
141
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ActivatePaymentDetail',
|
|
109
142
|
request,
|
|
110
|
-
metadata,
|
|
111
|
-
|
|
143
|
+
metadata || {},
|
|
144
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_ActivatePaymentDetail,
|
|
112
145
|
callback);
|
|
113
146
|
};
|
|
114
147
|
|
|
@@ -116,22 +149,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
116
149
|
/**
|
|
117
150
|
* @param {!proto.sniippaymentmethodsserviceapi.ActivatePaymentDetailRequest} request The
|
|
118
151
|
* request proto
|
|
119
|
-
* @param {
|
|
152
|
+
* @param {?Object<string, string>} metadata User defined
|
|
120
153
|
* call metadata
|
|
121
154
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
122
|
-
*
|
|
155
|
+
* A native promise that resolves to the response
|
|
123
156
|
*/
|
|
124
157
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.activatePaymentDetail =
|
|
125
158
|
function(request, metadata) {
|
|
126
|
-
return
|
|
127
|
-
|
|
128
|
-
request,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
});
|
|
159
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
160
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ActivatePaymentDetail',
|
|
161
|
+
request,
|
|
162
|
+
metadata || {},
|
|
163
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_ActivatePaymentDetail);
|
|
132
164
|
};
|
|
133
165
|
|
|
134
166
|
|
|
167
|
+
/**
|
|
168
|
+
* @const
|
|
169
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
170
|
+
* !proto.sniippaymentmethodsserviceapi.AddCreditCardRequest,
|
|
171
|
+
* !proto.sniippaymentmethodsserviceapi.AddCreditCardResponse>}
|
|
172
|
+
*/
|
|
173
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_AddCreditCard = new grpc.web.MethodDescriptor(
|
|
174
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddCreditCard',
|
|
175
|
+
grpc.web.MethodType.UNARY,
|
|
176
|
+
proto.sniippaymentmethodsserviceapi.AddCreditCardRequest,
|
|
177
|
+
proto.sniippaymentmethodsserviceapi.AddCreditCardResponse,
|
|
178
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.AddCreditCardRequest} request */
|
|
179
|
+
function(request) {
|
|
180
|
+
return request.serializeBinary();
|
|
181
|
+
},
|
|
182
|
+
proto.sniippaymentmethodsserviceapi.AddCreditCardResponse.deserializeBinary
|
|
183
|
+
);
|
|
184
|
+
|
|
185
|
+
|
|
135
186
|
/**
|
|
136
187
|
* @const
|
|
137
188
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -151,7 +202,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_AddCreditCard = new grpc.w
|
|
|
151
202
|
/**
|
|
152
203
|
* @param {!proto.sniippaymentmethodsserviceapi.AddCreditCardRequest} request The
|
|
153
204
|
* request proto
|
|
154
|
-
* @param {
|
|
205
|
+
* @param {?Object<string, string>} metadata User defined
|
|
155
206
|
* call metadata
|
|
156
207
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.AddCreditCardResponse)}
|
|
157
208
|
* callback The callback function(error, response)
|
|
@@ -163,8 +214,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
163
214
|
return this.client_.rpcCall(this.hostname_ +
|
|
164
215
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddCreditCard',
|
|
165
216
|
request,
|
|
166
|
-
metadata,
|
|
167
|
-
|
|
217
|
+
metadata || {},
|
|
218
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_AddCreditCard,
|
|
168
219
|
callback);
|
|
169
220
|
};
|
|
170
221
|
|
|
@@ -172,22 +223,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
172
223
|
/**
|
|
173
224
|
* @param {!proto.sniippaymentmethodsserviceapi.AddCreditCardRequest} request The
|
|
174
225
|
* request proto
|
|
175
|
-
* @param {
|
|
226
|
+
* @param {?Object<string, string>} metadata User defined
|
|
176
227
|
* call metadata
|
|
177
228
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.AddCreditCardResponse>}
|
|
178
|
-
*
|
|
229
|
+
* A native promise that resolves to the response
|
|
179
230
|
*/
|
|
180
231
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.addCreditCard =
|
|
181
232
|
function(request, metadata) {
|
|
182
|
-
return
|
|
183
|
-
|
|
184
|
-
request,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
});
|
|
233
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
234
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddCreditCard',
|
|
235
|
+
request,
|
|
236
|
+
metadata || {},
|
|
237
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_AddCreditCard);
|
|
188
238
|
};
|
|
189
239
|
|
|
190
240
|
|
|
241
|
+
/**
|
|
242
|
+
* @const
|
|
243
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
244
|
+
* !proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest,
|
|
245
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodResponse>}
|
|
246
|
+
*/
|
|
247
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_AddPaymentMethod = new grpc.web.MethodDescriptor(
|
|
248
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddPaymentMethod',
|
|
249
|
+
grpc.web.MethodType.UNARY,
|
|
250
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest,
|
|
251
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodResponse,
|
|
252
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest} request */
|
|
253
|
+
function(request) {
|
|
254
|
+
return request.serializeBinary();
|
|
255
|
+
},
|
|
256
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodResponse.deserializeBinary
|
|
257
|
+
);
|
|
258
|
+
|
|
259
|
+
|
|
191
260
|
/**
|
|
192
261
|
* @const
|
|
193
262
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -207,7 +276,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_AddPaymentMethod = new grp
|
|
|
207
276
|
/**
|
|
208
277
|
* @param {!proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest} request The
|
|
209
278
|
* request proto
|
|
210
|
-
* @param {
|
|
279
|
+
* @param {?Object<string, string>} metadata User defined
|
|
211
280
|
* call metadata
|
|
212
281
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodResponse)}
|
|
213
282
|
* callback The callback function(error, response)
|
|
@@ -219,8 +288,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
219
288
|
return this.client_.rpcCall(this.hostname_ +
|
|
220
289
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddPaymentMethod',
|
|
221
290
|
request,
|
|
222
|
-
metadata,
|
|
223
|
-
|
|
291
|
+
metadata || {},
|
|
292
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_AddPaymentMethod,
|
|
224
293
|
callback);
|
|
225
294
|
};
|
|
226
295
|
|
|
@@ -228,22 +297,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
228
297
|
/**
|
|
229
298
|
* @param {!proto.sniippaymentmethodsserviceapi.AddPaymentMethodRequest} request The
|
|
230
299
|
* request proto
|
|
231
|
-
* @param {
|
|
300
|
+
* @param {?Object<string, string>} metadata User defined
|
|
232
301
|
* call metadata
|
|
233
302
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodResponse>}
|
|
234
|
-
*
|
|
303
|
+
* A native promise that resolves to the response
|
|
235
304
|
*/
|
|
236
305
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.addPaymentMethod =
|
|
237
306
|
function(request, metadata) {
|
|
238
|
-
return
|
|
239
|
-
|
|
240
|
-
request,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
});
|
|
307
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
308
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddPaymentMethod',
|
|
309
|
+
request,
|
|
310
|
+
metadata || {},
|
|
311
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_AddPaymentMethod);
|
|
244
312
|
};
|
|
245
313
|
|
|
246
314
|
|
|
315
|
+
/**
|
|
316
|
+
* @const
|
|
317
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
318
|
+
* !proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest,
|
|
319
|
+
* !proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse>}
|
|
320
|
+
*/
|
|
321
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_AddZenithToken = new grpc.web.MethodDescriptor(
|
|
322
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddZenithToken',
|
|
323
|
+
grpc.web.MethodType.UNARY,
|
|
324
|
+
proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest,
|
|
325
|
+
proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse,
|
|
326
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest} request */
|
|
327
|
+
function(request) {
|
|
328
|
+
return request.serializeBinary();
|
|
329
|
+
},
|
|
330
|
+
proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse.deserializeBinary
|
|
331
|
+
);
|
|
332
|
+
|
|
333
|
+
|
|
247
334
|
/**
|
|
248
335
|
* @const
|
|
249
336
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -263,7 +350,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_AddZenithToken = new grpc.
|
|
|
263
350
|
/**
|
|
264
351
|
* @param {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest} request The
|
|
265
352
|
* request proto
|
|
266
|
-
* @param {
|
|
353
|
+
* @param {?Object<string, string>} metadata User defined
|
|
267
354
|
* call metadata
|
|
268
355
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse)}
|
|
269
356
|
* callback The callback function(error, response)
|
|
@@ -275,8 +362,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
275
362
|
return this.client_.rpcCall(this.hostname_ +
|
|
276
363
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddZenithToken',
|
|
277
364
|
request,
|
|
278
|
-
metadata,
|
|
279
|
-
|
|
365
|
+
metadata || {},
|
|
366
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_AddZenithToken,
|
|
280
367
|
callback);
|
|
281
368
|
};
|
|
282
369
|
|
|
@@ -284,22 +371,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
284
371
|
/**
|
|
285
372
|
* @param {!proto.sniippaymentmethodsserviceapi.AddZenithTokenRequest} request The
|
|
286
373
|
* request proto
|
|
287
|
-
* @param {
|
|
374
|
+
* @param {?Object<string, string>} metadata User defined
|
|
288
375
|
* call metadata
|
|
289
376
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse>}
|
|
290
|
-
*
|
|
377
|
+
* A native promise that resolves to the response
|
|
291
378
|
*/
|
|
292
379
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.addZenithToken =
|
|
293
380
|
function(request, metadata) {
|
|
294
|
-
return
|
|
295
|
-
|
|
296
|
-
request,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
});
|
|
381
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
382
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/AddZenithToken',
|
|
383
|
+
request,
|
|
384
|
+
metadata || {},
|
|
385
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_AddZenithToken);
|
|
300
386
|
};
|
|
301
387
|
|
|
302
388
|
|
|
389
|
+
/**
|
|
390
|
+
* @const
|
|
391
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
392
|
+
* !proto.sniippaymentmethodsserviceapi.DeleteCreditCardRequest,
|
|
393
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
394
|
+
*/
|
|
395
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_DeleteCreditCard = new grpc.web.MethodDescriptor(
|
|
396
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/DeleteCreditCard',
|
|
397
|
+
grpc.web.MethodType.UNARY,
|
|
398
|
+
proto.sniippaymentmethodsserviceapi.DeleteCreditCardRequest,
|
|
399
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
400
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.DeleteCreditCardRequest} request */
|
|
401
|
+
function(request) {
|
|
402
|
+
return request.serializeBinary();
|
|
403
|
+
},
|
|
404
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
|
|
303
408
|
/**
|
|
304
409
|
* @const
|
|
305
410
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -319,7 +424,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_DeleteCreditCard = new grp
|
|
|
319
424
|
/**
|
|
320
425
|
* @param {!proto.sniippaymentmethodsserviceapi.DeleteCreditCardRequest} request The
|
|
321
426
|
* request proto
|
|
322
|
-
* @param {
|
|
427
|
+
* @param {?Object<string, string>} metadata User defined
|
|
323
428
|
* call metadata
|
|
324
429
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
325
430
|
* callback The callback function(error, response)
|
|
@@ -331,8 +436,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
331
436
|
return this.client_.rpcCall(this.hostname_ +
|
|
332
437
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/DeleteCreditCard',
|
|
333
438
|
request,
|
|
334
|
-
metadata,
|
|
335
|
-
|
|
439
|
+
metadata || {},
|
|
440
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_DeleteCreditCard,
|
|
336
441
|
callback);
|
|
337
442
|
};
|
|
338
443
|
|
|
@@ -340,22 +445,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
340
445
|
/**
|
|
341
446
|
* @param {!proto.sniippaymentmethodsserviceapi.DeleteCreditCardRequest} request The
|
|
342
447
|
* request proto
|
|
343
|
-
* @param {
|
|
448
|
+
* @param {?Object<string, string>} metadata User defined
|
|
344
449
|
* call metadata
|
|
345
450
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
346
|
-
*
|
|
451
|
+
* A native promise that resolves to the response
|
|
347
452
|
*/
|
|
348
453
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.deleteCreditCard =
|
|
349
454
|
function(request, metadata) {
|
|
350
|
-
return
|
|
351
|
-
|
|
352
|
-
request,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
});
|
|
455
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
456
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/DeleteCreditCard',
|
|
457
|
+
request,
|
|
458
|
+
metadata || {},
|
|
459
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_DeleteCreditCard);
|
|
356
460
|
};
|
|
357
461
|
|
|
358
462
|
|
|
463
|
+
/**
|
|
464
|
+
* @const
|
|
465
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
466
|
+
* !proto.google.protobuf.Empty,
|
|
467
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
468
|
+
*/
|
|
469
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_Echo = new grpc.web.MethodDescriptor(
|
|
470
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/Echo',
|
|
471
|
+
grpc.web.MethodType.UNARY,
|
|
472
|
+
proto.google.protobuf.Empty,
|
|
473
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
474
|
+
/** @param {!proto.google.protobuf.Empty} request */
|
|
475
|
+
function(request) {
|
|
476
|
+
return request.serializeBinary();
|
|
477
|
+
},
|
|
478
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
479
|
+
);
|
|
480
|
+
|
|
481
|
+
|
|
359
482
|
/**
|
|
360
483
|
* @const
|
|
361
484
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -375,7 +498,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_Echo = new grpc.web.Abstra
|
|
|
375
498
|
/**
|
|
376
499
|
* @param {!proto.google.protobuf.Empty} request The
|
|
377
500
|
* request proto
|
|
378
|
-
* @param {
|
|
501
|
+
* @param {?Object<string, string>} metadata User defined
|
|
379
502
|
* call metadata
|
|
380
503
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
381
504
|
* callback The callback function(error, response)
|
|
@@ -387,8 +510,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
387
510
|
return this.client_.rpcCall(this.hostname_ +
|
|
388
511
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/Echo',
|
|
389
512
|
request,
|
|
390
|
-
metadata,
|
|
391
|
-
|
|
513
|
+
metadata || {},
|
|
514
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_Echo,
|
|
392
515
|
callback);
|
|
393
516
|
};
|
|
394
517
|
|
|
@@ -396,22 +519,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
396
519
|
/**
|
|
397
520
|
* @param {!proto.google.protobuf.Empty} request The
|
|
398
521
|
* request proto
|
|
399
|
-
* @param {
|
|
522
|
+
* @param {?Object<string, string>} metadata User defined
|
|
400
523
|
* call metadata
|
|
401
524
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
402
|
-
*
|
|
525
|
+
* A native promise that resolves to the response
|
|
403
526
|
*/
|
|
404
527
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.echo =
|
|
405
528
|
function(request, metadata) {
|
|
406
|
-
return
|
|
407
|
-
|
|
408
|
-
request,
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
});
|
|
529
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
530
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/Echo',
|
|
531
|
+
request,
|
|
532
|
+
metadata || {},
|
|
533
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_Echo);
|
|
412
534
|
};
|
|
413
535
|
|
|
414
536
|
|
|
537
|
+
/**
|
|
538
|
+
* @const
|
|
539
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
540
|
+
* !proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest,
|
|
541
|
+
* !proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse>}
|
|
542
|
+
*/
|
|
543
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetActivatedPaymentMethod = new grpc.web.MethodDescriptor(
|
|
544
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetActivatedPaymentMethod',
|
|
545
|
+
grpc.web.MethodType.UNARY,
|
|
546
|
+
proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest,
|
|
547
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse,
|
|
548
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest} request */
|
|
549
|
+
function(request) {
|
|
550
|
+
return request.serializeBinary();
|
|
551
|
+
},
|
|
552
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse.deserializeBinary
|
|
553
|
+
);
|
|
554
|
+
|
|
555
|
+
|
|
415
556
|
/**
|
|
416
557
|
* @const
|
|
417
558
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -431,7 +572,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_GetActivatedPaymentMethod
|
|
|
431
572
|
/**
|
|
432
573
|
* @param {!proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest} request The
|
|
433
574
|
* request proto
|
|
434
|
-
* @param {
|
|
575
|
+
* @param {?Object<string, string>} metadata User defined
|
|
435
576
|
* call metadata
|
|
436
577
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse)}
|
|
437
578
|
* callback The callback function(error, response)
|
|
@@ -443,8 +584,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
443
584
|
return this.client_.rpcCall(this.hostname_ +
|
|
444
585
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetActivatedPaymentMethod',
|
|
445
586
|
request,
|
|
446
|
-
metadata,
|
|
447
|
-
|
|
587
|
+
metadata || {},
|
|
588
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetActivatedPaymentMethod,
|
|
448
589
|
callback);
|
|
449
590
|
};
|
|
450
591
|
|
|
@@ -452,22 +593,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
452
593
|
/**
|
|
453
594
|
* @param {!proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest} request The
|
|
454
595
|
* request proto
|
|
455
|
-
* @param {
|
|
596
|
+
* @param {?Object<string, string>} metadata User defined
|
|
456
597
|
* call metadata
|
|
457
598
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse>}
|
|
458
|
-
*
|
|
599
|
+
* A native promise that resolves to the response
|
|
459
600
|
*/
|
|
460
601
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getActivatedPaymentMethod =
|
|
461
602
|
function(request, metadata) {
|
|
462
|
-
return
|
|
463
|
-
|
|
464
|
-
request,
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
});
|
|
603
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
604
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetActivatedPaymentMethod',
|
|
605
|
+
request,
|
|
606
|
+
metadata || {},
|
|
607
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetActivatedPaymentMethod);
|
|
468
608
|
};
|
|
469
609
|
|
|
470
610
|
|
|
611
|
+
/**
|
|
612
|
+
* @const
|
|
613
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
614
|
+
* !proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest,
|
|
615
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
|
|
616
|
+
*/
|
|
617
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetCreditCardForPayment = new grpc.web.MethodDescriptor(
|
|
618
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetCreditCardForPayment',
|
|
619
|
+
grpc.web.MethodType.UNARY,
|
|
620
|
+
proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest,
|
|
621
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse,
|
|
622
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest} request */
|
|
623
|
+
function(request) {
|
|
624
|
+
return request.serializeBinary();
|
|
625
|
+
},
|
|
626
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeBinary
|
|
627
|
+
);
|
|
628
|
+
|
|
629
|
+
|
|
471
630
|
/**
|
|
472
631
|
* @const
|
|
473
632
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -487,7 +646,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_GetCreditCardForPayment =
|
|
|
487
646
|
/**
|
|
488
647
|
* @param {!proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest} request The
|
|
489
648
|
* request proto
|
|
490
|
-
* @param {
|
|
649
|
+
* @param {?Object<string, string>} metadata User defined
|
|
491
650
|
* call metadata
|
|
492
651
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse)}
|
|
493
652
|
* callback The callback function(error, response)
|
|
@@ -499,8 +658,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
499
658
|
return this.client_.rpcCall(this.hostname_ +
|
|
500
659
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetCreditCardForPayment',
|
|
501
660
|
request,
|
|
502
|
-
metadata,
|
|
503
|
-
|
|
661
|
+
metadata || {},
|
|
662
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetCreditCardForPayment,
|
|
504
663
|
callback);
|
|
505
664
|
};
|
|
506
665
|
|
|
@@ -508,22 +667,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
508
667
|
/**
|
|
509
668
|
* @param {!proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest} request The
|
|
510
669
|
* request proto
|
|
511
|
-
* @param {
|
|
670
|
+
* @param {?Object<string, string>} metadata User defined
|
|
512
671
|
* call metadata
|
|
513
672
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
|
|
514
|
-
*
|
|
673
|
+
* A native promise that resolves to the response
|
|
515
674
|
*/
|
|
516
675
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getCreditCardForPayment =
|
|
517
676
|
function(request, metadata) {
|
|
518
|
-
return
|
|
519
|
-
|
|
520
|
-
request,
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
});
|
|
677
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
678
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetCreditCardForPayment',
|
|
679
|
+
request,
|
|
680
|
+
metadata || {},
|
|
681
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetCreditCardForPayment);
|
|
524
682
|
};
|
|
525
683
|
|
|
526
684
|
|
|
685
|
+
/**
|
|
686
|
+
* @const
|
|
687
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
688
|
+
* !proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest,
|
|
689
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
|
|
690
|
+
*/
|
|
691
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodForPayment = new grpc.web.MethodDescriptor(
|
|
692
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodForPayment',
|
|
693
|
+
grpc.web.MethodType.UNARY,
|
|
694
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest,
|
|
695
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse,
|
|
696
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request */
|
|
697
|
+
function(request) {
|
|
698
|
+
return request.serializeBinary();
|
|
699
|
+
},
|
|
700
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeBinary
|
|
701
|
+
);
|
|
702
|
+
|
|
703
|
+
|
|
527
704
|
/**
|
|
528
705
|
* @const
|
|
529
706
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -543,7 +720,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodForPayment
|
|
|
543
720
|
/**
|
|
544
721
|
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request The
|
|
545
722
|
* request proto
|
|
546
|
-
* @param {
|
|
723
|
+
* @param {?Object<string, string>} metadata User defined
|
|
547
724
|
* call metadata
|
|
548
725
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse)}
|
|
549
726
|
* callback The callback function(error, response)
|
|
@@ -555,8 +732,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
555
732
|
return this.client_.rpcCall(this.hostname_ +
|
|
556
733
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodForPayment',
|
|
557
734
|
request,
|
|
558
|
-
metadata,
|
|
559
|
-
|
|
735
|
+
metadata || {},
|
|
736
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodForPayment,
|
|
560
737
|
callback);
|
|
561
738
|
};
|
|
562
739
|
|
|
@@ -564,22 +741,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
564
741
|
/**
|
|
565
742
|
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request The
|
|
566
743
|
* request proto
|
|
567
|
-
* @param {
|
|
744
|
+
* @param {?Object<string, string>} metadata User defined
|
|
568
745
|
* call metadata
|
|
569
746
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
|
|
570
|
-
*
|
|
747
|
+
* A native promise that resolves to the response
|
|
571
748
|
*/
|
|
572
749
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodForPayment =
|
|
573
750
|
function(request, metadata) {
|
|
574
|
-
return
|
|
575
|
-
|
|
576
|
-
request,
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
});
|
|
751
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
752
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodForPayment',
|
|
753
|
+
request,
|
|
754
|
+
metadata || {},
|
|
755
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodForPayment);
|
|
580
756
|
};
|
|
581
757
|
|
|
582
758
|
|
|
759
|
+
/**
|
|
760
|
+
* @const
|
|
761
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
762
|
+
* !proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest,
|
|
763
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
764
|
+
*/
|
|
765
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethods = new grpc.web.MethodDescriptor(
|
|
766
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethods',
|
|
767
|
+
grpc.web.MethodType.UNARY,
|
|
768
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest,
|
|
769
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
|
|
770
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request */
|
|
771
|
+
function(request) {
|
|
772
|
+
return request.serializeBinary();
|
|
773
|
+
},
|
|
774
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
775
|
+
);
|
|
776
|
+
|
|
777
|
+
|
|
583
778
|
/**
|
|
584
779
|
* @const
|
|
585
780
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -599,7 +794,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethods = new gr
|
|
|
599
794
|
/**
|
|
600
795
|
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request The
|
|
601
796
|
* request proto
|
|
602
|
-
* @param {
|
|
797
|
+
* @param {?Object<string, string>} metadata User defined
|
|
603
798
|
* call metadata
|
|
604
799
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
|
|
605
800
|
* callback The callback function(error, response)
|
|
@@ -611,8 +806,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
611
806
|
return this.client_.rpcCall(this.hostname_ +
|
|
612
807
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethods',
|
|
613
808
|
request,
|
|
614
|
-
metadata,
|
|
615
|
-
|
|
809
|
+
metadata || {},
|
|
810
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethods,
|
|
616
811
|
callback);
|
|
617
812
|
};
|
|
618
813
|
|
|
@@ -620,22 +815,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
620
815
|
/**
|
|
621
816
|
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request The
|
|
622
817
|
* request proto
|
|
623
|
-
* @param {
|
|
818
|
+
* @param {?Object<string, string>} metadata User defined
|
|
624
819
|
* call metadata
|
|
625
820
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
626
|
-
*
|
|
821
|
+
* A native promise that resolves to the response
|
|
627
822
|
*/
|
|
628
823
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethods =
|
|
629
824
|
function(request, metadata) {
|
|
630
|
-
return
|
|
631
|
-
|
|
632
|
-
request,
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
});
|
|
825
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
826
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethods',
|
|
827
|
+
request,
|
|
828
|
+
metadata || {},
|
|
829
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethods);
|
|
636
830
|
};
|
|
637
831
|
|
|
638
832
|
|
|
833
|
+
/**
|
|
834
|
+
* @const
|
|
835
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
836
|
+
* !proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest,
|
|
837
|
+
* !proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse>}
|
|
838
|
+
*/
|
|
839
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetZenithPaymentDetails = new grpc.web.MethodDescriptor(
|
|
840
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetZenithPaymentDetails',
|
|
841
|
+
grpc.web.MethodType.UNARY,
|
|
842
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest,
|
|
843
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse,
|
|
844
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} request */
|
|
845
|
+
function(request) {
|
|
846
|
+
return request.serializeBinary();
|
|
847
|
+
},
|
|
848
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.deserializeBinary
|
|
849
|
+
);
|
|
850
|
+
|
|
851
|
+
|
|
639
852
|
/**
|
|
640
853
|
* @const
|
|
641
854
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -655,7 +868,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_GetZenithPaymentDetails =
|
|
|
655
868
|
/**
|
|
656
869
|
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} request The
|
|
657
870
|
* request proto
|
|
658
|
-
* @param {
|
|
871
|
+
* @param {?Object<string, string>} metadata User defined
|
|
659
872
|
* call metadata
|
|
660
873
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse)}
|
|
661
874
|
* callback The callback function(error, response)
|
|
@@ -667,8 +880,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
667
880
|
return this.client_.rpcCall(this.hostname_ +
|
|
668
881
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetZenithPaymentDetails',
|
|
669
882
|
request,
|
|
670
|
-
metadata,
|
|
671
|
-
|
|
883
|
+
metadata || {},
|
|
884
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetZenithPaymentDetails,
|
|
672
885
|
callback);
|
|
673
886
|
};
|
|
674
887
|
|
|
@@ -676,22 +889,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
676
889
|
/**
|
|
677
890
|
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} request The
|
|
678
891
|
* request proto
|
|
679
|
-
* @param {
|
|
892
|
+
* @param {?Object<string, string>} metadata User defined
|
|
680
893
|
* call metadata
|
|
681
894
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse>}
|
|
682
|
-
*
|
|
895
|
+
* A native promise that resolves to the response
|
|
683
896
|
*/
|
|
684
897
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getZenithPaymentDetails =
|
|
685
898
|
function(request, metadata) {
|
|
686
|
-
return
|
|
687
|
-
|
|
688
|
-
request,
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
});
|
|
899
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
900
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetZenithPaymentDetails',
|
|
901
|
+
request,
|
|
902
|
+
metadata || {},
|
|
903
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_GetZenithPaymentDetails);
|
|
692
904
|
};
|
|
693
905
|
|
|
694
906
|
|
|
907
|
+
/**
|
|
908
|
+
* @const
|
|
909
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
910
|
+
* !proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest,
|
|
911
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
912
|
+
*/
|
|
913
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_RemovePaymentMethod = new grpc.web.MethodDescriptor(
|
|
914
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/RemovePaymentMethod',
|
|
915
|
+
grpc.web.MethodType.UNARY,
|
|
916
|
+
proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest,
|
|
917
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
918
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest} request */
|
|
919
|
+
function(request) {
|
|
920
|
+
return request.serializeBinary();
|
|
921
|
+
},
|
|
922
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
923
|
+
);
|
|
924
|
+
|
|
925
|
+
|
|
695
926
|
/**
|
|
696
927
|
* @const
|
|
697
928
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -711,7 +942,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_RemovePaymentMethod = new
|
|
|
711
942
|
/**
|
|
712
943
|
* @param {!proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest} request The
|
|
713
944
|
* request proto
|
|
714
|
-
* @param {
|
|
945
|
+
* @param {?Object<string, string>} metadata User defined
|
|
715
946
|
* call metadata
|
|
716
947
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
717
948
|
* callback The callback function(error, response)
|
|
@@ -723,8 +954,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
723
954
|
return this.client_.rpcCall(this.hostname_ +
|
|
724
955
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/RemovePaymentMethod',
|
|
725
956
|
request,
|
|
726
|
-
metadata,
|
|
727
|
-
|
|
957
|
+
metadata || {},
|
|
958
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_RemovePaymentMethod,
|
|
728
959
|
callback);
|
|
729
960
|
};
|
|
730
961
|
|
|
@@ -732,22 +963,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
732
963
|
/**
|
|
733
964
|
* @param {!proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest} request The
|
|
734
965
|
* request proto
|
|
735
|
-
* @param {
|
|
966
|
+
* @param {?Object<string, string>} metadata User defined
|
|
736
967
|
* call metadata
|
|
737
968
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
738
|
-
*
|
|
969
|
+
* A native promise that resolves to the response
|
|
739
970
|
*/
|
|
740
971
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.removePaymentMethod =
|
|
741
972
|
function(request, metadata) {
|
|
742
|
-
return
|
|
743
|
-
|
|
744
|
-
request,
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
});
|
|
973
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
974
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/RemovePaymentMethod',
|
|
975
|
+
request,
|
|
976
|
+
metadata || {},
|
|
977
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_RemovePaymentMethod);
|
|
748
978
|
};
|
|
749
979
|
|
|
750
980
|
|
|
981
|
+
/**
|
|
982
|
+
* @const
|
|
983
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
984
|
+
* !proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest,
|
|
985
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
986
|
+
*/
|
|
987
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_UpdateCreditCardDetails = new grpc.web.MethodDescriptor(
|
|
988
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdateCreditCardDetails',
|
|
989
|
+
grpc.web.MethodType.UNARY,
|
|
990
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest,
|
|
991
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
992
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest} request */
|
|
993
|
+
function(request) {
|
|
994
|
+
return request.serializeBinary();
|
|
995
|
+
},
|
|
996
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
997
|
+
);
|
|
998
|
+
|
|
999
|
+
|
|
751
1000
|
/**
|
|
752
1001
|
* @const
|
|
753
1002
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -767,7 +1016,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_UpdateCreditCardDetails =
|
|
|
767
1016
|
/**
|
|
768
1017
|
* @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest} request The
|
|
769
1018
|
* request proto
|
|
770
|
-
* @param {
|
|
1019
|
+
* @param {?Object<string, string>} metadata User defined
|
|
771
1020
|
* call metadata
|
|
772
1021
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
773
1022
|
* callback The callback function(error, response)
|
|
@@ -779,8 +1028,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
779
1028
|
return this.client_.rpcCall(this.hostname_ +
|
|
780
1029
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdateCreditCardDetails',
|
|
781
1030
|
request,
|
|
782
|
-
metadata,
|
|
783
|
-
|
|
1031
|
+
metadata || {},
|
|
1032
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_UpdateCreditCardDetails,
|
|
784
1033
|
callback);
|
|
785
1034
|
};
|
|
786
1035
|
|
|
@@ -788,22 +1037,40 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
788
1037
|
/**
|
|
789
1038
|
* @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest} request The
|
|
790
1039
|
* request proto
|
|
791
|
-
* @param {
|
|
1040
|
+
* @param {?Object<string, string>} metadata User defined
|
|
792
1041
|
* call metadata
|
|
793
1042
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
794
|
-
*
|
|
1043
|
+
* A native promise that resolves to the response
|
|
795
1044
|
*/
|
|
796
1045
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.updateCreditCardDetails =
|
|
797
1046
|
function(request, metadata) {
|
|
798
|
-
return
|
|
799
|
-
|
|
800
|
-
request,
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
});
|
|
1047
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1048
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdateCreditCardDetails',
|
|
1049
|
+
request,
|
|
1050
|
+
metadata || {},
|
|
1051
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_UpdateCreditCardDetails);
|
|
804
1052
|
};
|
|
805
1053
|
|
|
806
1054
|
|
|
1055
|
+
/**
|
|
1056
|
+
* @const
|
|
1057
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1058
|
+
* !proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest,
|
|
1059
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
1060
|
+
*/
|
|
1061
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_UpdatePaymentMethod = new grpc.web.MethodDescriptor(
|
|
1062
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdatePaymentMethod',
|
|
1063
|
+
grpc.web.MethodType.UNARY,
|
|
1064
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest,
|
|
1065
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
1066
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest} request */
|
|
1067
|
+
function(request) {
|
|
1068
|
+
return request.serializeBinary();
|
|
1069
|
+
},
|
|
1070
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
1071
|
+
);
|
|
1072
|
+
|
|
1073
|
+
|
|
807
1074
|
/**
|
|
808
1075
|
* @const
|
|
809
1076
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -823,7 +1090,7 @@ const methodInfo_SniipPaymentMethodsServiceAPIService_UpdatePaymentMethod = new
|
|
|
823
1090
|
/**
|
|
824
1091
|
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest} request The
|
|
825
1092
|
* request proto
|
|
826
|
-
* @param {
|
|
1093
|
+
* @param {?Object<string, string>} metadata User defined
|
|
827
1094
|
* call metadata
|
|
828
1095
|
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
829
1096
|
* callback The callback function(error, response)
|
|
@@ -835,8 +1102,8 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
835
1102
|
return this.client_.rpcCall(this.hostname_ +
|
|
836
1103
|
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdatePaymentMethod',
|
|
837
1104
|
request,
|
|
838
|
-
metadata,
|
|
839
|
-
|
|
1105
|
+
metadata || {},
|
|
1106
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_UpdatePaymentMethod,
|
|
840
1107
|
callback);
|
|
841
1108
|
};
|
|
842
1109
|
|
|
@@ -844,19 +1111,18 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.p
|
|
|
844
1111
|
/**
|
|
845
1112
|
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest} request The
|
|
846
1113
|
* request proto
|
|
847
|
-
* @param {
|
|
1114
|
+
* @param {?Object<string, string>} metadata User defined
|
|
848
1115
|
* call metadata
|
|
849
1116
|
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
850
|
-
*
|
|
1117
|
+
* A native promise that resolves to the response
|
|
851
1118
|
*/
|
|
852
1119
|
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.updatePaymentMethod =
|
|
853
1120
|
function(request, metadata) {
|
|
854
|
-
return
|
|
855
|
-
|
|
856
|
-
request,
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
});
|
|
1121
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1122
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdatePaymentMethod',
|
|
1123
|
+
request,
|
|
1124
|
+
metadata || {},
|
|
1125
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_UpdatePaymentMethod);
|
|
860
1126
|
};
|
|
861
1127
|
|
|
862
1128
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sniipwebmaster/payment-methods-client-grpcweb",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1001",
|
|
4
4
|
"description": "payment-methods-client-grpcweb",
|
|
5
5
|
"author": "Sniip Development Team",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"google-protobuf": "3.
|
|
9
|
-
"grpc-web": "1.0.
|
|
8
|
+
"google-protobuf": "3.9.0",
|
|
9
|
+
"grpc-web": "1.0.5"
|
|
10
10
|
}
|
|
11
11
|
}
|