@sniipwebmaster/payment-methods-client-grpcweb 0.2.2624 → 0.2.2653
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 +372 -36
- package/package.json +1 -1
|
@@ -53,6 +53,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResp
|
|
|
53
53
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest', null, global);
|
|
54
54
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodGroupsResponse', null, global);
|
|
55
55
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodType', null, global);
|
|
56
57
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse', null, global);
|
|
57
58
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest', null, global);
|
|
58
59
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest', null, global);
|
|
@@ -8853,7 +8854,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.toObject = function(inclu
|
|
|
8853
8854
|
var f, obj = {
|
|
8854
8855
|
paymentmethodgroupid: msg.getPaymentmethodgroupid(),
|
|
8855
8856
|
name: msg.getName(),
|
|
8856
|
-
paymentmethodsList: jspb.Message.
|
|
8857
|
+
paymentmethodsList: jspb.Message.toObjectList(msg.getPaymentmethodsList(),
|
|
8858
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject, includeInstance)
|
|
8857
8859
|
};
|
|
8858
8860
|
|
|
8859
8861
|
if (includeInstance) {
|
|
@@ -8899,7 +8901,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.deserializeBinaryFromRead
|
|
|
8899
8901
|
msg.setName(value);
|
|
8900
8902
|
break;
|
|
8901
8903
|
case 3:
|
|
8902
|
-
var value =
|
|
8904
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodType;
|
|
8905
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReader);
|
|
8903
8906
|
msg.getPaymentmethodsList().push(value);
|
|
8904
8907
|
msg.setPaymentmethodsList(msg.getPaymentmethodsList());
|
|
8905
8908
|
break;
|
|
@@ -8957,9 +8960,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.prototype.serializeBinary
|
|
|
8957
8960
|
}
|
|
8958
8961
|
f = this.getPaymentmethodsList();
|
|
8959
8962
|
if (f.length > 0) {
|
|
8960
|
-
writer.
|
|
8963
|
+
writer.writeRepeatedMessage(
|
|
8961
8964
|
3,
|
|
8962
|
-
f
|
|
8965
|
+
f,
|
|
8966
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.serializeBinaryToWriter
|
|
8963
8967
|
);
|
|
8964
8968
|
}
|
|
8965
8969
|
};
|
|
@@ -9005,24 +9009,25 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.prototype.setName = funct
|
|
|
9005
9009
|
|
|
9006
9010
|
|
|
9007
9011
|
/**
|
|
9008
|
-
* repeated
|
|
9012
|
+
* repeated PaymentMethodType paymentMethods = 3;
|
|
9009
9013
|
* If you change this array by adding, removing or replacing elements, or if you
|
|
9010
9014
|
* replace the array itself, then you must call the setter to update it.
|
|
9011
|
-
* @return {!Array
|
|
9015
|
+
* @return {!Array.<!proto.sniippaymentmethodsserviceapi.PaymentMethodType>}
|
|
9012
9016
|
*/
|
|
9013
9017
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.prototype.getPaymentmethodsList = function() {
|
|
9014
|
-
return /** @type
|
|
9018
|
+
return /** @type{!Array.<!proto.sniippaymentmethodsserviceapi.PaymentMethodType>} */ (
|
|
9019
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodType, 3));
|
|
9015
9020
|
};
|
|
9016
9021
|
|
|
9017
9022
|
|
|
9018
|
-
/** @param {Array
|
|
9023
|
+
/** @param {Array.<!proto.sniippaymentmethodsserviceapi.PaymentMethodType>} value */
|
|
9019
9024
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.prototype.setPaymentmethodsList = function(value) {
|
|
9020
|
-
jspb.Message.
|
|
9025
|
+
jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
9021
9026
|
};
|
|
9022
9027
|
|
|
9023
9028
|
|
|
9024
9029
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.prototype.clearPaymentmethodsList = function() {
|
|
9025
|
-
|
|
9030
|
+
this.setPaymentmethodsList([]);
|
|
9026
9031
|
};
|
|
9027
9032
|
|
|
9028
9033
|
|
|
@@ -9122,9 +9127,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.deserializeB
|
|
|
9122
9127
|
msg.setName(value);
|
|
9123
9128
|
break;
|
|
9124
9129
|
case 2:
|
|
9125
|
-
var value = /** @type {
|
|
9126
|
-
msg.
|
|
9127
|
-
msg.setPaymentmethodsList(msg.getPaymentmethodsList());
|
|
9130
|
+
var value = /** @type {!Array.<number>} */ (reader.readPackedInt64());
|
|
9131
|
+
msg.setPaymentmethodsList(value);
|
|
9128
9132
|
break;
|
|
9129
9133
|
default:
|
|
9130
9134
|
reader.skipField();
|
|
@@ -9173,7 +9177,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.se
|
|
|
9173
9177
|
}
|
|
9174
9178
|
f = this.getPaymentmethodsList();
|
|
9175
9179
|
if (f.length > 0) {
|
|
9176
|
-
writer.
|
|
9180
|
+
writer.writePackedInt64(
|
|
9177
9181
|
2,
|
|
9178
9182
|
f
|
|
9179
9183
|
);
|
|
@@ -9206,17 +9210,17 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.se
|
|
|
9206
9210
|
|
|
9207
9211
|
|
|
9208
9212
|
/**
|
|
9209
|
-
* repeated
|
|
9213
|
+
* repeated int64 paymentMethods = 2;
|
|
9210
9214
|
* If you change this array by adding, removing or replacing elements, or if you
|
|
9211
9215
|
* replace the array itself, then you must call the setter to update it.
|
|
9212
|
-
* @return {!Array.<
|
|
9216
|
+
* @return {!Array.<number>}
|
|
9213
9217
|
*/
|
|
9214
9218
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.getPaymentmethodsList = function() {
|
|
9215
|
-
return /** @type {!Array.<
|
|
9219
|
+
return /** @type {!Array.<number>} */ (jspb.Message.getField(this, 2));
|
|
9216
9220
|
};
|
|
9217
9221
|
|
|
9218
9222
|
|
|
9219
|
-
/** @param {Array.<
|
|
9223
|
+
/** @param {Array.<number>} value */
|
|
9220
9224
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.setPaymentmethodsList = function(value) {
|
|
9221
9225
|
jspb.Message.setField(this, 2, value || []);
|
|
9222
9226
|
};
|
|
@@ -9543,9 +9547,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.deserializeBi
|
|
|
9543
9547
|
msg.setName(value);
|
|
9544
9548
|
break;
|
|
9545
9549
|
case 2:
|
|
9546
|
-
var value = /** @type {
|
|
9547
|
-
msg.
|
|
9548
|
-
msg.setPaymentmethodsList(msg.getPaymentmethodsList());
|
|
9550
|
+
var value = /** @type {!Array.<number>} */ (reader.readPackedInt64());
|
|
9551
|
+
msg.setPaymentmethodsList(value);
|
|
9549
9552
|
break;
|
|
9550
9553
|
default:
|
|
9551
9554
|
reader.skipField();
|
|
@@ -9594,7 +9597,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.ser
|
|
|
9594
9597
|
}
|
|
9595
9598
|
f = this.getPaymentmethodsList();
|
|
9596
9599
|
if (f.length > 0) {
|
|
9597
|
-
writer.
|
|
9600
|
+
writer.writePackedInt64(
|
|
9598
9601
|
2,
|
|
9599
9602
|
f
|
|
9600
9603
|
);
|
|
@@ -9627,17 +9630,17 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.set
|
|
|
9627
9630
|
|
|
9628
9631
|
|
|
9629
9632
|
/**
|
|
9630
|
-
* repeated
|
|
9633
|
+
* repeated int64 paymentMethods = 2;
|
|
9631
9634
|
* If you change this array by adding, removing or replacing elements, or if you
|
|
9632
9635
|
* replace the array itself, then you must call the setter to update it.
|
|
9633
|
-
* @return {!Array.<
|
|
9636
|
+
* @return {!Array.<number>}
|
|
9634
9637
|
*/
|
|
9635
9638
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.getPaymentmethodsList = function() {
|
|
9636
|
-
return /** @type {!Array.<
|
|
9639
|
+
return /** @type {!Array.<number>} */ (jspb.Message.getField(this, 2));
|
|
9637
9640
|
};
|
|
9638
9641
|
|
|
9639
9642
|
|
|
9640
|
-
/** @param {Array.<
|
|
9643
|
+
/** @param {Array.<number>} value */
|
|
9641
9644
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.setPaymentmethodsList = function(value) {
|
|
9642
9645
|
jspb.Message.setField(this, 2, value || []);
|
|
9643
9646
|
};
|
|
@@ -10091,6 +10094,335 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodResponse.prototype.hasResponsec
|
|
|
10091
10094
|
|
|
10092
10095
|
|
|
10093
10096
|
|
|
10097
|
+
/**
|
|
10098
|
+
* Generated by JsPbCodeGenerator.
|
|
10099
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
10100
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
10101
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
10102
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
10103
|
+
* valid.
|
|
10104
|
+
* @extends {jspb.Message}
|
|
10105
|
+
* @constructor
|
|
10106
|
+
*/
|
|
10107
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType = function(opt_data) {
|
|
10108
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
10109
|
+
};
|
|
10110
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodType, jspb.Message);
|
|
10111
|
+
if (goog.DEBUG && !COMPILED) {
|
|
10112
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodType';
|
|
10113
|
+
}
|
|
10114
|
+
|
|
10115
|
+
|
|
10116
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10117
|
+
/**
|
|
10118
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
10119
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10120
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10121
|
+
* For the list of reserved names please see:
|
|
10122
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
10123
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
10124
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
10125
|
+
* @return {!Object}
|
|
10126
|
+
*/
|
|
10127
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.toObject = function(opt_includeInstance) {
|
|
10128
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject(opt_includeInstance, this);
|
|
10129
|
+
};
|
|
10130
|
+
|
|
10131
|
+
|
|
10132
|
+
/**
|
|
10133
|
+
* Static version of the {@see toObject} method.
|
|
10134
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
10135
|
+
* instance for transitional soy proto support:
|
|
10136
|
+
* http://goto/soy-param-migration
|
|
10137
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} msg The msg instance to transform.
|
|
10138
|
+
* @return {!Object}
|
|
10139
|
+
*/
|
|
10140
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject = function(includeInstance, msg) {
|
|
10141
|
+
var f, obj = {
|
|
10142
|
+
paymentmethodtypeid: msg.getPaymentmethodtypeid(),
|
|
10143
|
+
paymenttype: msg.getPaymenttype(),
|
|
10144
|
+
allowdebit: msg.getAllowdebit(),
|
|
10145
|
+
allowcredit: msg.getAllowcredit(),
|
|
10146
|
+
eftposonly: msg.getEftposonly(),
|
|
10147
|
+
internationalonly: msg.getInternationalonly(),
|
|
10148
|
+
displayname: msg.getDisplayname()
|
|
10149
|
+
};
|
|
10150
|
+
|
|
10151
|
+
if (includeInstance) {
|
|
10152
|
+
obj.$jspbMessageInstance = msg;
|
|
10153
|
+
}
|
|
10154
|
+
return obj;
|
|
10155
|
+
};
|
|
10156
|
+
}
|
|
10157
|
+
|
|
10158
|
+
|
|
10159
|
+
/**
|
|
10160
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10161
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10162
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType}
|
|
10163
|
+
*/
|
|
10164
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinary = function(bytes) {
|
|
10165
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10166
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodType;
|
|
10167
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReader(msg, reader);
|
|
10168
|
+
};
|
|
10169
|
+
|
|
10170
|
+
|
|
10171
|
+
/**
|
|
10172
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10173
|
+
* given reader into the given message object.
|
|
10174
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} msg The message object to deserialize into.
|
|
10175
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10176
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType}
|
|
10177
|
+
*/
|
|
10178
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReader = function(msg, reader) {
|
|
10179
|
+
while (reader.nextField()) {
|
|
10180
|
+
if (reader.isEndGroup()) {
|
|
10181
|
+
break;
|
|
10182
|
+
}
|
|
10183
|
+
var field = reader.getFieldNumber();
|
|
10184
|
+
switch (field) {
|
|
10185
|
+
case 1:
|
|
10186
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10187
|
+
msg.setPaymentmethodtypeid(value);
|
|
10188
|
+
break;
|
|
10189
|
+
case 2:
|
|
10190
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10191
|
+
msg.setPaymenttype(value);
|
|
10192
|
+
break;
|
|
10193
|
+
case 3:
|
|
10194
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10195
|
+
msg.setAllowdebit(value);
|
|
10196
|
+
break;
|
|
10197
|
+
case 4:
|
|
10198
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10199
|
+
msg.setAllowcredit(value);
|
|
10200
|
+
break;
|
|
10201
|
+
case 5:
|
|
10202
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10203
|
+
msg.setEftposonly(value);
|
|
10204
|
+
break;
|
|
10205
|
+
case 6:
|
|
10206
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10207
|
+
msg.setInternationalonly(value);
|
|
10208
|
+
break;
|
|
10209
|
+
case 7:
|
|
10210
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10211
|
+
msg.setDisplayname(value);
|
|
10212
|
+
break;
|
|
10213
|
+
default:
|
|
10214
|
+
reader.skipField();
|
|
10215
|
+
break;
|
|
10216
|
+
}
|
|
10217
|
+
}
|
|
10218
|
+
return msg;
|
|
10219
|
+
};
|
|
10220
|
+
|
|
10221
|
+
|
|
10222
|
+
/**
|
|
10223
|
+
* Class method variant: serializes the given message to binary data
|
|
10224
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
10225
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} message
|
|
10226
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10227
|
+
*/
|
|
10228
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.serializeBinaryToWriter = function(message, writer) {
|
|
10229
|
+
message.serializeBinaryToWriter(writer);
|
|
10230
|
+
};
|
|
10231
|
+
|
|
10232
|
+
|
|
10233
|
+
/**
|
|
10234
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10235
|
+
* @return {!Uint8Array}
|
|
10236
|
+
*/
|
|
10237
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.serializeBinary = function() {
|
|
10238
|
+
var writer = new jspb.BinaryWriter();
|
|
10239
|
+
this.serializeBinaryToWriter(writer);
|
|
10240
|
+
return writer.getResultBuffer();
|
|
10241
|
+
};
|
|
10242
|
+
|
|
10243
|
+
|
|
10244
|
+
/**
|
|
10245
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
10246
|
+
* writing to the given BinaryWriter.
|
|
10247
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10248
|
+
*/
|
|
10249
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.serializeBinaryToWriter = function (writer) {
|
|
10250
|
+
var f = undefined;
|
|
10251
|
+
f = this.getPaymentmethodtypeid();
|
|
10252
|
+
if (f !== 0) {
|
|
10253
|
+
writer.writeInt64(
|
|
10254
|
+
1,
|
|
10255
|
+
f
|
|
10256
|
+
);
|
|
10257
|
+
}
|
|
10258
|
+
f = this.getPaymenttype();
|
|
10259
|
+
if (f.length > 0) {
|
|
10260
|
+
writer.writeString(
|
|
10261
|
+
2,
|
|
10262
|
+
f
|
|
10263
|
+
);
|
|
10264
|
+
}
|
|
10265
|
+
f = this.getAllowdebit();
|
|
10266
|
+
if (f) {
|
|
10267
|
+
writer.writeBool(
|
|
10268
|
+
3,
|
|
10269
|
+
f
|
|
10270
|
+
);
|
|
10271
|
+
}
|
|
10272
|
+
f = this.getAllowcredit();
|
|
10273
|
+
if (f) {
|
|
10274
|
+
writer.writeBool(
|
|
10275
|
+
4,
|
|
10276
|
+
f
|
|
10277
|
+
);
|
|
10278
|
+
}
|
|
10279
|
+
f = this.getEftposonly();
|
|
10280
|
+
if (f) {
|
|
10281
|
+
writer.writeBool(
|
|
10282
|
+
5,
|
|
10283
|
+
f
|
|
10284
|
+
);
|
|
10285
|
+
}
|
|
10286
|
+
f = this.getInternationalonly();
|
|
10287
|
+
if (f) {
|
|
10288
|
+
writer.writeBool(
|
|
10289
|
+
6,
|
|
10290
|
+
f
|
|
10291
|
+
);
|
|
10292
|
+
}
|
|
10293
|
+
f = this.getDisplayname();
|
|
10294
|
+
if (f.length > 0) {
|
|
10295
|
+
writer.writeString(
|
|
10296
|
+
7,
|
|
10297
|
+
f
|
|
10298
|
+
);
|
|
10299
|
+
}
|
|
10300
|
+
};
|
|
10301
|
+
|
|
10302
|
+
|
|
10303
|
+
/**
|
|
10304
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
10305
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} The clone.
|
|
10306
|
+
*/
|
|
10307
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.cloneMessage = function() {
|
|
10308
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} */ (jspb.Message.cloneMessage(this));
|
|
10309
|
+
};
|
|
10310
|
+
|
|
10311
|
+
|
|
10312
|
+
/**
|
|
10313
|
+
* optional int64 paymentMethodTypeId = 1;
|
|
10314
|
+
* @return {number}
|
|
10315
|
+
*/
|
|
10316
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getPaymentmethodtypeid = function() {
|
|
10317
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
10318
|
+
};
|
|
10319
|
+
|
|
10320
|
+
|
|
10321
|
+
/** @param {number} value */
|
|
10322
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setPaymentmethodtypeid = function(value) {
|
|
10323
|
+
jspb.Message.setField(this, 1, value);
|
|
10324
|
+
};
|
|
10325
|
+
|
|
10326
|
+
|
|
10327
|
+
/**
|
|
10328
|
+
* optional string paymentType = 2;
|
|
10329
|
+
* @return {string}
|
|
10330
|
+
*/
|
|
10331
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getPaymenttype = function() {
|
|
10332
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
10333
|
+
};
|
|
10334
|
+
|
|
10335
|
+
|
|
10336
|
+
/** @param {string} value */
|
|
10337
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setPaymenttype = function(value) {
|
|
10338
|
+
jspb.Message.setField(this, 2, value);
|
|
10339
|
+
};
|
|
10340
|
+
|
|
10341
|
+
|
|
10342
|
+
/**
|
|
10343
|
+
* optional bool allowDebit = 3;
|
|
10344
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10345
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10346
|
+
* @return {boolean}
|
|
10347
|
+
*/
|
|
10348
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowdebit = function() {
|
|
10349
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
|
|
10350
|
+
};
|
|
10351
|
+
|
|
10352
|
+
|
|
10353
|
+
/** @param {boolean} value */
|
|
10354
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowdebit = function(value) {
|
|
10355
|
+
jspb.Message.setField(this, 3, value);
|
|
10356
|
+
};
|
|
10357
|
+
|
|
10358
|
+
|
|
10359
|
+
/**
|
|
10360
|
+
* optional bool allowCredit = 4;
|
|
10361
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10362
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10363
|
+
* @return {boolean}
|
|
10364
|
+
*/
|
|
10365
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowcredit = function() {
|
|
10366
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
|
|
10367
|
+
};
|
|
10368
|
+
|
|
10369
|
+
|
|
10370
|
+
/** @param {boolean} value */
|
|
10371
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowcredit = function(value) {
|
|
10372
|
+
jspb.Message.setField(this, 4, value);
|
|
10373
|
+
};
|
|
10374
|
+
|
|
10375
|
+
|
|
10376
|
+
/**
|
|
10377
|
+
* optional bool eftposOnly = 5;
|
|
10378
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10379
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10380
|
+
* @return {boolean}
|
|
10381
|
+
*/
|
|
10382
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getEftposonly = function() {
|
|
10383
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 5, false));
|
|
10384
|
+
};
|
|
10385
|
+
|
|
10386
|
+
|
|
10387
|
+
/** @param {boolean} value */
|
|
10388
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setEftposonly = function(value) {
|
|
10389
|
+
jspb.Message.setField(this, 5, value);
|
|
10390
|
+
};
|
|
10391
|
+
|
|
10392
|
+
|
|
10393
|
+
/**
|
|
10394
|
+
* optional bool internationalOnly = 6;
|
|
10395
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
10396
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
10397
|
+
* @return {boolean}
|
|
10398
|
+
*/
|
|
10399
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getInternationalonly = function() {
|
|
10400
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
|
|
10401
|
+
};
|
|
10402
|
+
|
|
10403
|
+
|
|
10404
|
+
/** @param {boolean} value */
|
|
10405
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setInternationalonly = function(value) {
|
|
10406
|
+
jspb.Message.setField(this, 6, value);
|
|
10407
|
+
};
|
|
10408
|
+
|
|
10409
|
+
|
|
10410
|
+
/**
|
|
10411
|
+
* optional string displayName = 7;
|
|
10412
|
+
* @return {string}
|
|
10413
|
+
*/
|
|
10414
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getDisplayname = function() {
|
|
10415
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
|
|
10416
|
+
};
|
|
10417
|
+
|
|
10418
|
+
|
|
10419
|
+
/** @param {string} value */
|
|
10420
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setDisplayname = function(value) {
|
|
10421
|
+
jspb.Message.setField(this, 7, value);
|
|
10422
|
+
};
|
|
10423
|
+
|
|
10424
|
+
|
|
10425
|
+
|
|
10094
10426
|
/**
|
|
10095
10427
|
* Generated by JsPbCodeGenerator.
|
|
10096
10428
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10144,7 +10476,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse.prototype.toObjec
|
|
|
10144
10476
|
proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse.toObject = function(includeInstance, msg) {
|
|
10145
10477
|
var f, obj = {
|
|
10146
10478
|
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
10147
|
-
typesList: jspb.Message.
|
|
10479
|
+
typesList: jspb.Message.toObjectList(msg.getTypesList(),
|
|
10480
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject, includeInstance)
|
|
10148
10481
|
};
|
|
10149
10482
|
|
|
10150
10483
|
if (includeInstance) {
|
|
@@ -10187,7 +10520,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse.deserializeBinary
|
|
|
10187
10520
|
msg.setResponsecode(value);
|
|
10188
10521
|
break;
|
|
10189
10522
|
case 2:
|
|
10190
|
-
var value =
|
|
10523
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodType;
|
|
10524
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReader);
|
|
10191
10525
|
msg.getTypesList().push(value);
|
|
10192
10526
|
msg.setTypesList(msg.getTypesList());
|
|
10193
10527
|
break;
|
|
@@ -10239,9 +10573,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse.prototype.seriali
|
|
|
10239
10573
|
}
|
|
10240
10574
|
f = this.getTypesList();
|
|
10241
10575
|
if (f.length > 0) {
|
|
10242
|
-
writer.
|
|
10576
|
+
writer.writeRepeatedMessage(
|
|
10243
10577
|
2,
|
|
10244
|
-
f
|
|
10578
|
+
f,
|
|
10579
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.serializeBinaryToWriter
|
|
10245
10580
|
);
|
|
10246
10581
|
}
|
|
10247
10582
|
};
|
|
@@ -10287,24 +10622,25 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse.prototype.hasResp
|
|
|
10287
10622
|
|
|
10288
10623
|
|
|
10289
10624
|
/**
|
|
10290
|
-
* repeated
|
|
10625
|
+
* repeated PaymentMethodType types = 2;
|
|
10291
10626
|
* If you change this array by adding, removing or replacing elements, or if you
|
|
10292
10627
|
* replace the array itself, then you must call the setter to update it.
|
|
10293
|
-
* @return {!Array
|
|
10628
|
+
* @return {!Array.<!proto.sniippaymentmethodsserviceapi.PaymentMethodType>}
|
|
10294
10629
|
*/
|
|
10295
10630
|
proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse.prototype.getTypesList = function() {
|
|
10296
|
-
return /** @type
|
|
10631
|
+
return /** @type{!Array.<!proto.sniippaymentmethodsserviceapi.PaymentMethodType>} */ (
|
|
10632
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodType, 2));
|
|
10297
10633
|
};
|
|
10298
10634
|
|
|
10299
10635
|
|
|
10300
|
-
/** @param {Array
|
|
10636
|
+
/** @param {Array.<!proto.sniippaymentmethodsserviceapi.PaymentMethodType>} value */
|
|
10301
10637
|
proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse.prototype.setTypesList = function(value) {
|
|
10302
|
-
jspb.Message.
|
|
10638
|
+
jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
10303
10639
|
};
|
|
10304
10640
|
|
|
10305
10641
|
|
|
10306
10642
|
proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse.prototype.clearTypesList = function() {
|
|
10307
|
-
|
|
10643
|
+
this.setTypesList([]);
|
|
10308
10644
|
};
|
|
10309
10645
|
|
|
10310
10646
|
|