@sniipwebmaster/payment-methods-client-grpcweb 21.8.3287 → 21.11.3312
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 +30 -1
- package/package.json +1 -1
|
@@ -12142,7 +12142,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject = function(includ
|
|
|
12142
12142
|
allowcredit: msg.getAllowcredit(),
|
|
12143
12143
|
eftposonly: msg.getEftposonly(),
|
|
12144
12144
|
allowinternational: msg.getAllowinternational(),
|
|
12145
|
-
displayname: msg.getDisplayname()
|
|
12145
|
+
displayname: msg.getDisplayname(),
|
|
12146
|
+
allowprepaid: msg.getAllowprepaid()
|
|
12146
12147
|
};
|
|
12147
12148
|
|
|
12148
12149
|
if (includeInstance) {
|
|
@@ -12207,6 +12208,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReade
|
|
|
12207
12208
|
var value = /** @type {string} */ (reader.readString());
|
|
12208
12209
|
msg.setDisplayname(value);
|
|
12209
12210
|
break;
|
|
12211
|
+
case 8:
|
|
12212
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
12213
|
+
msg.setAllowprepaid(value);
|
|
12214
|
+
break;
|
|
12210
12215
|
default:
|
|
12211
12216
|
reader.skipField();
|
|
12212
12217
|
break;
|
|
@@ -12294,6 +12299,13 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.serializeBinaryT
|
|
|
12294
12299
|
f
|
|
12295
12300
|
);
|
|
12296
12301
|
}
|
|
12302
|
+
f = this.getAllowprepaid();
|
|
12303
|
+
if (f) {
|
|
12304
|
+
writer.writeBool(
|
|
12305
|
+
8,
|
|
12306
|
+
f
|
|
12307
|
+
);
|
|
12308
|
+
}
|
|
12297
12309
|
};
|
|
12298
12310
|
|
|
12299
12311
|
|
|
@@ -12419,6 +12431,23 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setDisplayname =
|
|
|
12419
12431
|
};
|
|
12420
12432
|
|
|
12421
12433
|
|
|
12434
|
+
/**
|
|
12435
|
+
* optional bool allowPrepaid = 8;
|
|
12436
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
12437
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
12438
|
+
* @return {boolean}
|
|
12439
|
+
*/
|
|
12440
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowprepaid = function() {
|
|
12441
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 8, false));
|
|
12442
|
+
};
|
|
12443
|
+
|
|
12444
|
+
|
|
12445
|
+
/** @param {boolean} value */
|
|
12446
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowprepaid = function(value) {
|
|
12447
|
+
jspb.Message.setField(this, 8, value);
|
|
12448
|
+
};
|
|
12449
|
+
|
|
12450
|
+
|
|
12422
12451
|
|
|
12423
12452
|
/**
|
|
12424
12453
|
* Generated by JsPbCodeGenerator.
|