@sniipwebmaster/bill-service-client-grpcweb 22.12.9212 → 22.12.9240
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
|
@@ -173,7 +173,8 @@ proto.sniipbillapi.AcceptedPaymentMethod.toObject = function(includeInstance, ms
|
|
|
173
173
|
allowcredit: msg.getAllowcredit(),
|
|
174
174
|
eftposonly: msg.getEftposonly(),
|
|
175
175
|
allowinternational: msg.getAllowinternational(),
|
|
176
|
-
allowprepaid: msg.getAllowprepaid()
|
|
176
|
+
allowprepaid: msg.getAllowprepaid(),
|
|
177
|
+
allowcryptocom: msg.getAllowcryptocom()
|
|
177
178
|
};
|
|
178
179
|
|
|
179
180
|
if (includeInstance) {
|
|
@@ -234,6 +235,10 @@ proto.sniipbillapi.AcceptedPaymentMethod.deserializeBinaryFromReader = function(
|
|
|
234
235
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
235
236
|
msg.setAllowprepaid(value);
|
|
236
237
|
break;
|
|
238
|
+
case 7:
|
|
239
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
240
|
+
msg.setAllowcryptocom(value);
|
|
241
|
+
break;
|
|
237
242
|
default:
|
|
238
243
|
reader.skipField();
|
|
239
244
|
break;
|
|
@@ -314,6 +319,13 @@ proto.sniipbillapi.AcceptedPaymentMethod.prototype.serializeBinaryToWriter = fun
|
|
|
314
319
|
f
|
|
315
320
|
);
|
|
316
321
|
}
|
|
322
|
+
f = this.getAllowcryptocom();
|
|
323
|
+
if (f) {
|
|
324
|
+
writer.writeBool(
|
|
325
|
+
7,
|
|
326
|
+
f
|
|
327
|
+
);
|
|
328
|
+
}
|
|
317
329
|
};
|
|
318
330
|
|
|
319
331
|
|
|
@@ -426,6 +438,23 @@ proto.sniipbillapi.AcceptedPaymentMethod.prototype.setAllowprepaid = function(va
|
|
|
426
438
|
};
|
|
427
439
|
|
|
428
440
|
|
|
441
|
+
/**
|
|
442
|
+
* optional bool allowCryptoCom = 7;
|
|
443
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
444
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
445
|
+
* @return {boolean}
|
|
446
|
+
*/
|
|
447
|
+
proto.sniipbillapi.AcceptedPaymentMethod.prototype.getAllowcryptocom = function() {
|
|
448
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 7, false));
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
/** @param {boolean} value */
|
|
453
|
+
proto.sniipbillapi.AcceptedPaymentMethod.prototype.setAllowcryptocom = function(value) {
|
|
454
|
+
jspb.Message.setField(this, 7, value);
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
|
|
429
458
|
|
|
430
459
|
/**
|
|
431
460
|
* Generated by JsPbCodeGenerator.
|