@sniipwebmaster/payment-methods-client-grpcweb 0.2.592 → 0.2.608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_pb.js +304 -144
- package/package.json +1 -1
|
@@ -41,6 +41,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteReques
|
|
|
41
41
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest', null, global);
|
|
42
42
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse', null, global);
|
|
43
43
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodResponse', null, global);
|
|
44
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest', null, global);
|
|
44
45
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse', null, global);
|
|
45
46
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
46
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
@@ -6108,6 +6109,290 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodResponse.prototype.hasResponsec
|
|
|
6108
6109
|
|
|
6109
6110
|
|
|
6110
6111
|
|
|
6112
|
+
/**
|
|
6113
|
+
* Generated by JsPbCodeGenerator.
|
|
6114
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6115
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6116
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6117
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6118
|
+
* valid.
|
|
6119
|
+
* @extends {jspb.Message}
|
|
6120
|
+
* @constructor
|
|
6121
|
+
*/
|
|
6122
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest = function(opt_data) {
|
|
6123
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6124
|
+
};
|
|
6125
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest, jspb.Message);
|
|
6126
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6127
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest';
|
|
6128
|
+
}
|
|
6129
|
+
|
|
6130
|
+
|
|
6131
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6132
|
+
/**
|
|
6133
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
6134
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6135
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6136
|
+
* For the list of reserved names please see:
|
|
6137
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
6138
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
6139
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
6140
|
+
* @return {!Object}
|
|
6141
|
+
*/
|
|
6142
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6143
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject(opt_includeInstance, this);
|
|
6144
|
+
};
|
|
6145
|
+
|
|
6146
|
+
|
|
6147
|
+
/**
|
|
6148
|
+
* Static version of the {@see toObject} method.
|
|
6149
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
6150
|
+
* instance for transitional soy proto support:
|
|
6151
|
+
* http://goto/soy-param-migration
|
|
6152
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} msg The msg instance to transform.
|
|
6153
|
+
* @return {!Object}
|
|
6154
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6155
|
+
*/
|
|
6156
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject = function(includeInstance, msg) {
|
|
6157
|
+
var f, obj = {
|
|
6158
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6159
|
+
paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6160
|
+
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject(includeInstance, f),
|
|
6161
|
+
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
6162
|
+
accesstoken: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
6163
|
+
};
|
|
6164
|
+
|
|
6165
|
+
if (includeInstance) {
|
|
6166
|
+
obj.$jspbMessageInstance = msg;
|
|
6167
|
+
}
|
|
6168
|
+
return obj;
|
|
6169
|
+
};
|
|
6170
|
+
}
|
|
6171
|
+
|
|
6172
|
+
|
|
6173
|
+
/**
|
|
6174
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6175
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6176
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest}
|
|
6177
|
+
*/
|
|
6178
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinary = function(bytes) {
|
|
6179
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6180
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest;
|
|
6181
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
6182
|
+
};
|
|
6183
|
+
|
|
6184
|
+
|
|
6185
|
+
/**
|
|
6186
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6187
|
+
* given reader into the given message object.
|
|
6188
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} msg The message object to deserialize into.
|
|
6189
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6190
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest}
|
|
6191
|
+
*/
|
|
6192
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6193
|
+
while (reader.nextField()) {
|
|
6194
|
+
if (reader.isEndGroup()) {
|
|
6195
|
+
break;
|
|
6196
|
+
}
|
|
6197
|
+
var field = reader.getFieldNumber();
|
|
6198
|
+
switch (field) {
|
|
6199
|
+
case 1:
|
|
6200
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6201
|
+
msg.setPaymentmethodid(value);
|
|
6202
|
+
break;
|
|
6203
|
+
case 2:
|
|
6204
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6205
|
+
msg.setPaymenttype(value);
|
|
6206
|
+
break;
|
|
6207
|
+
case 3:
|
|
6208
|
+
var value = new proto.sniippaymentmethodsserviceapi.UpdateCreditCard;
|
|
6209
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.UpdateCreditCard.deserializeBinaryFromReader);
|
|
6210
|
+
msg.setCreditcard(value);
|
|
6211
|
+
break;
|
|
6212
|
+
case 4:
|
|
6213
|
+
var value = new proto.sniippaymentmethodsserviceapi.BankAccount;
|
|
6214
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BankAccount.deserializeBinaryFromReader);
|
|
6215
|
+
msg.setBankaccount(value);
|
|
6216
|
+
break;
|
|
6217
|
+
case 5:
|
|
6218
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6219
|
+
msg.setAccesstoken(value);
|
|
6220
|
+
break;
|
|
6221
|
+
default:
|
|
6222
|
+
reader.skipField();
|
|
6223
|
+
break;
|
|
6224
|
+
}
|
|
6225
|
+
}
|
|
6226
|
+
return msg;
|
|
6227
|
+
};
|
|
6228
|
+
|
|
6229
|
+
|
|
6230
|
+
/**
|
|
6231
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6232
|
+
* @return {!Uint8Array}
|
|
6233
|
+
*/
|
|
6234
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.serializeBinary = function() {
|
|
6235
|
+
var writer = new jspb.BinaryWriter();
|
|
6236
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryToWriter(this, writer);
|
|
6237
|
+
return writer.getResultBuffer();
|
|
6238
|
+
};
|
|
6239
|
+
|
|
6240
|
+
|
|
6241
|
+
/**
|
|
6242
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6243
|
+
* format), writing to the given BinaryWriter.
|
|
6244
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} message
|
|
6245
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6246
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6247
|
+
*/
|
|
6248
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6249
|
+
var f = undefined;
|
|
6250
|
+
f = message.getPaymentmethodid();
|
|
6251
|
+
if (f !== 0) {
|
|
6252
|
+
writer.writeInt64(
|
|
6253
|
+
1,
|
|
6254
|
+
f
|
|
6255
|
+
);
|
|
6256
|
+
}
|
|
6257
|
+
f = message.getPaymenttype();
|
|
6258
|
+
if (f.length > 0) {
|
|
6259
|
+
writer.writeString(
|
|
6260
|
+
2,
|
|
6261
|
+
f
|
|
6262
|
+
);
|
|
6263
|
+
}
|
|
6264
|
+
f = message.getCreditcard();
|
|
6265
|
+
if (f != null) {
|
|
6266
|
+
writer.writeMessage(
|
|
6267
|
+
3,
|
|
6268
|
+
f,
|
|
6269
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.serializeBinaryToWriter
|
|
6270
|
+
);
|
|
6271
|
+
}
|
|
6272
|
+
f = message.getBankaccount();
|
|
6273
|
+
if (f != null) {
|
|
6274
|
+
writer.writeMessage(
|
|
6275
|
+
4,
|
|
6276
|
+
f,
|
|
6277
|
+
proto.sniippaymentmethodsserviceapi.BankAccount.serializeBinaryToWriter
|
|
6278
|
+
);
|
|
6279
|
+
}
|
|
6280
|
+
f = message.getAccesstoken();
|
|
6281
|
+
if (f.length > 0) {
|
|
6282
|
+
writer.writeString(
|
|
6283
|
+
5,
|
|
6284
|
+
f
|
|
6285
|
+
);
|
|
6286
|
+
}
|
|
6287
|
+
};
|
|
6288
|
+
|
|
6289
|
+
|
|
6290
|
+
/**
|
|
6291
|
+
* optional int64 paymentMethodId = 1;
|
|
6292
|
+
* @return {number}
|
|
6293
|
+
*/
|
|
6294
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getPaymentmethodid = function() {
|
|
6295
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6296
|
+
};
|
|
6297
|
+
|
|
6298
|
+
|
|
6299
|
+
/** @param {number} value */
|
|
6300
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setPaymentmethodid = function(value) {
|
|
6301
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
6302
|
+
};
|
|
6303
|
+
|
|
6304
|
+
|
|
6305
|
+
/**
|
|
6306
|
+
* optional string paymentType = 2;
|
|
6307
|
+
* @return {string}
|
|
6308
|
+
*/
|
|
6309
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getPaymenttype = function() {
|
|
6310
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6311
|
+
};
|
|
6312
|
+
|
|
6313
|
+
|
|
6314
|
+
/** @param {string} value */
|
|
6315
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setPaymenttype = function(value) {
|
|
6316
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
6317
|
+
};
|
|
6318
|
+
|
|
6319
|
+
|
|
6320
|
+
/**
|
|
6321
|
+
* optional UpdateCreditCard creditCard = 3;
|
|
6322
|
+
* @return {?proto.sniippaymentmethodsserviceapi.UpdateCreditCard}
|
|
6323
|
+
*/
|
|
6324
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getCreditcard = function() {
|
|
6325
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.UpdateCreditCard} */ (
|
|
6326
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.UpdateCreditCard, 3));
|
|
6327
|
+
};
|
|
6328
|
+
|
|
6329
|
+
|
|
6330
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.UpdateCreditCard|undefined} value */
|
|
6331
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setCreditcard = function(value) {
|
|
6332
|
+
jspb.Message.setWrapperField(this, 3, value);
|
|
6333
|
+
};
|
|
6334
|
+
|
|
6335
|
+
|
|
6336
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.clearCreditcard = function() {
|
|
6337
|
+
this.setCreditcard(undefined);
|
|
6338
|
+
};
|
|
6339
|
+
|
|
6340
|
+
|
|
6341
|
+
/**
|
|
6342
|
+
* Returns whether this field is set.
|
|
6343
|
+
* @return {!boolean}
|
|
6344
|
+
*/
|
|
6345
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasCreditcard = function() {
|
|
6346
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6347
|
+
};
|
|
6348
|
+
|
|
6349
|
+
|
|
6350
|
+
/**
|
|
6351
|
+
* optional BankAccount bankAccount = 4;
|
|
6352
|
+
* @return {?proto.sniippaymentmethodsserviceapi.BankAccount}
|
|
6353
|
+
*/
|
|
6354
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getBankaccount = function() {
|
|
6355
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.BankAccount} */ (
|
|
6356
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.BankAccount, 4));
|
|
6357
|
+
};
|
|
6358
|
+
|
|
6359
|
+
|
|
6360
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.BankAccount|undefined} value */
|
|
6361
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setBankaccount = function(value) {
|
|
6362
|
+
jspb.Message.setWrapperField(this, 4, value);
|
|
6363
|
+
};
|
|
6364
|
+
|
|
6365
|
+
|
|
6366
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.clearBankaccount = function() {
|
|
6367
|
+
this.setBankaccount(undefined);
|
|
6368
|
+
};
|
|
6369
|
+
|
|
6370
|
+
|
|
6371
|
+
/**
|
|
6372
|
+
* Returns whether this field is set.
|
|
6373
|
+
* @return {!boolean}
|
|
6374
|
+
*/
|
|
6375
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasBankaccount = function() {
|
|
6376
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6377
|
+
};
|
|
6378
|
+
|
|
6379
|
+
|
|
6380
|
+
/**
|
|
6381
|
+
* optional string accessToken = 5;
|
|
6382
|
+
* @return {string}
|
|
6383
|
+
*/
|
|
6384
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getAccesstoken = function() {
|
|
6385
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6386
|
+
};
|
|
6387
|
+
|
|
6388
|
+
|
|
6389
|
+
/** @param {string} value */
|
|
6390
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setAccesstoken = function(value) {
|
|
6391
|
+
jspb.Message.setProto3StringField(this, 5, value);
|
|
6392
|
+
};
|
|
6393
|
+
|
|
6394
|
+
|
|
6395
|
+
|
|
6111
6396
|
/**
|
|
6112
6397
|
* Generated by JsPbCodeGenerator.
|
|
6113
6398
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7076,11 +7361,7 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.toObjec
|
|
|
7076
7361
|
*/
|
|
7077
7362
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.toObject = function(includeInstance, msg) {
|
|
7078
7363
|
var f, obj = {
|
|
7079
|
-
|
|
7080
|
-
paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7081
|
-
maskedcreditcard: (f = msg.getMaskedcreditcard()) && proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject(includeInstance, f),
|
|
7082
|
-
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
7083
|
-
accesstoken: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
7364
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject(includeInstance, f)
|
|
7084
7365
|
};
|
|
7085
7366
|
|
|
7086
7367
|
if (includeInstance) {
|
|
@@ -7118,26 +7399,9 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.deserializeBinary
|
|
|
7118
7399
|
var field = reader.getFieldNumber();
|
|
7119
7400
|
switch (field) {
|
|
7120
7401
|
case 1:
|
|
7121
|
-
var value =
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
case 2:
|
|
7125
|
-
var value = /** @type {string} */ (reader.readString());
|
|
7126
|
-
msg.setPaymenttype(value);
|
|
7127
|
-
break;
|
|
7128
|
-
case 3:
|
|
7129
|
-
var value = new proto.sniippaymentmethodsserviceapi.UpdateCreditCard;
|
|
7130
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.UpdateCreditCard.deserializeBinaryFromReader);
|
|
7131
|
-
msg.setMaskedcreditcard(value);
|
|
7132
|
-
break;
|
|
7133
|
-
case 4:
|
|
7134
|
-
var value = new proto.sniippaymentmethodsserviceapi.BankAccount;
|
|
7135
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BankAccount.deserializeBinaryFromReader);
|
|
7136
|
-
msg.setBankaccount(value);
|
|
7137
|
-
break;
|
|
7138
|
-
case 5:
|
|
7139
|
-
var value = /** @type {string} */ (reader.readString());
|
|
7140
|
-
msg.setAccesstoken(value);
|
|
7402
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest;
|
|
7403
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinaryFromReader);
|
|
7404
|
+
msg.setData(value);
|
|
7141
7405
|
break;
|
|
7142
7406
|
default:
|
|
7143
7407
|
reader.skipField();
|
|
@@ -7168,124 +7432,35 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.seriali
|
|
|
7168
7432
|
*/
|
|
7169
7433
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7170
7434
|
var f = undefined;
|
|
7171
|
-
f = message.
|
|
7172
|
-
if (f !== 0) {
|
|
7173
|
-
writer.writeInt64(
|
|
7174
|
-
1,
|
|
7175
|
-
f
|
|
7176
|
-
);
|
|
7177
|
-
}
|
|
7178
|
-
f = message.getPaymenttype();
|
|
7179
|
-
if (f.length > 0) {
|
|
7180
|
-
writer.writeString(
|
|
7181
|
-
2,
|
|
7182
|
-
f
|
|
7183
|
-
);
|
|
7184
|
-
}
|
|
7185
|
-
f = message.getMaskedcreditcard();
|
|
7186
|
-
if (f != null) {
|
|
7187
|
-
writer.writeMessage(
|
|
7188
|
-
3,
|
|
7189
|
-
f,
|
|
7190
|
-
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.serializeBinaryToWriter
|
|
7191
|
-
);
|
|
7192
|
-
}
|
|
7193
|
-
f = message.getBankaccount();
|
|
7435
|
+
f = message.getData();
|
|
7194
7436
|
if (f != null) {
|
|
7195
7437
|
writer.writeMessage(
|
|
7196
|
-
|
|
7438
|
+
1,
|
|
7197
7439
|
f,
|
|
7198
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7199
|
-
);
|
|
7200
|
-
}
|
|
7201
|
-
f = message.getAccesstoken();
|
|
7202
|
-
if (f.length > 0) {
|
|
7203
|
-
writer.writeString(
|
|
7204
|
-
5,
|
|
7205
|
-
f
|
|
7440
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryToWriter
|
|
7206
7441
|
);
|
|
7207
7442
|
}
|
|
7208
7443
|
};
|
|
7209
7444
|
|
|
7210
7445
|
|
|
7211
7446
|
/**
|
|
7212
|
-
* optional
|
|
7213
|
-
* @return {
|
|
7214
|
-
*/
|
|
7215
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.getPaymentmethodid = function() {
|
|
7216
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7217
|
-
};
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
/** @param {number} value */
|
|
7221
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.setPaymentmethodid = function(value) {
|
|
7222
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
7223
|
-
};
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
/**
|
|
7227
|
-
* optional string paymentType = 2;
|
|
7228
|
-
* @return {string}
|
|
7229
|
-
*/
|
|
7230
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.getPaymenttype = function() {
|
|
7231
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7232
|
-
};
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
/** @param {string} value */
|
|
7236
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.setPaymenttype = function(value) {
|
|
7237
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
7238
|
-
};
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
/**
|
|
7242
|
-
* optional UpdateCreditCard maskedCreditCard = 3;
|
|
7243
|
-
* @return {?proto.sniippaymentmethodsserviceapi.UpdateCreditCard}
|
|
7244
|
-
*/
|
|
7245
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.getMaskedcreditcard = function() {
|
|
7246
|
-
return /** @type{?proto.sniippaymentmethodsserviceapi.UpdateCreditCard} */ (
|
|
7247
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.UpdateCreditCard, 3));
|
|
7248
|
-
};
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
/** @param {?proto.sniippaymentmethodsserviceapi.UpdateCreditCard|undefined} value */
|
|
7252
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.setMaskedcreditcard = function(value) {
|
|
7253
|
-
jspb.Message.setWrapperField(this, 3, value);
|
|
7254
|
-
};
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.clearMaskedcreditcard = function() {
|
|
7258
|
-
this.setMaskedcreditcard(undefined);
|
|
7259
|
-
};
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
/**
|
|
7263
|
-
* Returns whether this field is set.
|
|
7264
|
-
* @return {!boolean}
|
|
7265
|
-
*/
|
|
7266
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.hasMaskedcreditcard = function() {
|
|
7267
|
-
return jspb.Message.getField(this, 3) != null;
|
|
7268
|
-
};
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
/**
|
|
7272
|
-
* optional BankAccount bankAccount = 4;
|
|
7273
|
-
* @return {?proto.sniippaymentmethodsserviceapi.BankAccount}
|
|
7447
|
+
* optional PaymentMethodUpdateRequest data = 1;
|
|
7448
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest}
|
|
7274
7449
|
*/
|
|
7275
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.
|
|
7276
|
-
return /** @type{?proto.sniippaymentmethodsserviceapi.
|
|
7277
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.
|
|
7450
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.getData = function() {
|
|
7451
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} */ (
|
|
7452
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest, 1));
|
|
7278
7453
|
};
|
|
7279
7454
|
|
|
7280
7455
|
|
|
7281
|
-
/** @param {?proto.sniippaymentmethodsserviceapi.
|
|
7282
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.
|
|
7283
|
-
jspb.Message.setWrapperField(this,
|
|
7456
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest|undefined} value */
|
|
7457
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.setData = function(value) {
|
|
7458
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
7284
7459
|
};
|
|
7285
7460
|
|
|
7286
7461
|
|
|
7287
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.
|
|
7288
|
-
this.
|
|
7462
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.clearData = function() {
|
|
7463
|
+
this.setData(undefined);
|
|
7289
7464
|
};
|
|
7290
7465
|
|
|
7291
7466
|
|
|
@@ -7293,23 +7468,8 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.clearBa
|
|
|
7293
7468
|
* Returns whether this field is set.
|
|
7294
7469
|
* @return {!boolean}
|
|
7295
7470
|
*/
|
|
7296
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.
|
|
7297
|
-
return jspb.Message.getField(this,
|
|
7298
|
-
};
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
/**
|
|
7302
|
-
* optional string accessToken = 5;
|
|
7303
|
-
* @return {string}
|
|
7304
|
-
*/
|
|
7305
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.getAccesstoken = function() {
|
|
7306
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7307
|
-
};
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
/** @param {string} value */
|
|
7311
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.setAccesstoken = function(value) {
|
|
7312
|
-
jspb.Message.setProto3StringField(this, 5, value);
|
|
7471
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.hasData = function() {
|
|
7472
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7313
7473
|
};
|
|
7314
7474
|
|
|
7315
7475
|
|