@sniipwebmaster/payment-methods-client-grpcweb 0.2.1900 → 0.2.1909
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
|
@@ -2199,7 +2199,8 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.toObject = function(includeInst
|
|
|
2199
2199
|
name: msg.getName(),
|
|
2200
2200
|
cardcolour: msg.getCardcolour(),
|
|
2201
2201
|
textcolour: msg.getTextcolour(),
|
|
2202
|
-
isdefaultcolour: msg.getIsdefaultcolour()
|
|
2202
|
+
isdefaultcolour: msg.getIsdefaultcolour(),
|
|
2203
|
+
isdark: msg.getIsdark()
|
|
2203
2204
|
};
|
|
2204
2205
|
|
|
2205
2206
|
if (includeInstance) {
|
|
@@ -2256,6 +2257,10 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader = f
|
|
|
2256
2257
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2257
2258
|
msg.setIsdefaultcolour(value);
|
|
2258
2259
|
break;
|
|
2260
|
+
case 6:
|
|
2261
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2262
|
+
msg.setIsdark(value);
|
|
2263
|
+
break;
|
|
2259
2264
|
default:
|
|
2260
2265
|
reader.skipField();
|
|
2261
2266
|
break;
|
|
@@ -2329,6 +2334,13 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.serializeBinaryToWrit
|
|
|
2329
2334
|
f
|
|
2330
2335
|
);
|
|
2331
2336
|
}
|
|
2337
|
+
f = this.getIsdark();
|
|
2338
|
+
if (f) {
|
|
2339
|
+
writer.writeBool(
|
|
2340
|
+
6,
|
|
2341
|
+
f
|
|
2342
|
+
);
|
|
2343
|
+
}
|
|
2332
2344
|
};
|
|
2333
2345
|
|
|
2334
2346
|
|
|
@@ -2418,6 +2430,23 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setIsdefaultcolour =
|
|
|
2418
2430
|
};
|
|
2419
2431
|
|
|
2420
2432
|
|
|
2433
|
+
/**
|
|
2434
|
+
* optional bool isDark = 6;
|
|
2435
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2436
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2437
|
+
* @return {boolean}
|
|
2438
|
+
*/
|
|
2439
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.getIsdark = function() {
|
|
2440
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
|
|
2441
|
+
};
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
/** @param {boolean} value */
|
|
2445
|
+
proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setIsdark = function(value) {
|
|
2446
|
+
jspb.Message.setField(this, 6, value);
|
|
2447
|
+
};
|
|
2448
|
+
|
|
2449
|
+
|
|
2421
2450
|
|
|
2422
2451
|
/**
|
|
2423
2452
|
* Generated by JsPbCodeGenerator.
|