wsp-ms-core 1.0.78-beta-5 → 1.0.81
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/dist/index.cjs +21 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -362,6 +362,27 @@ var _PaymentGateway = class _PaymentGateway extends ValueObject {
|
|
|
362
362
|
isExternal() {
|
|
363
363
|
return _PaymentGateway.EXTERNALS.includes(this.value);
|
|
364
364
|
}
|
|
365
|
+
get isMercadoPago() {
|
|
366
|
+
return this.equals(_PaymentGateway.MERCADOPAGO);
|
|
367
|
+
}
|
|
368
|
+
get isHandy() {
|
|
369
|
+
return this.equals(_PaymentGateway.HANDY);
|
|
370
|
+
}
|
|
371
|
+
get isWonaDebit() {
|
|
372
|
+
return this.equals(_PaymentGateway.WONA_DEBIT);
|
|
373
|
+
}
|
|
374
|
+
get isWonaCard() {
|
|
375
|
+
return this.equals(_PaymentGateway.WONA_CARD);
|
|
376
|
+
}
|
|
377
|
+
get isWonaCash() {
|
|
378
|
+
return this.equals(_PaymentGateway.WONA_CASH);
|
|
379
|
+
}
|
|
380
|
+
get isWonaTransfer() {
|
|
381
|
+
return this.equals(_PaymentGateway.WONA_TRANSFER);
|
|
382
|
+
}
|
|
383
|
+
get isWonaMercadoPago() {
|
|
384
|
+
return this.equals(_PaymentGateway.WONA_MERCADOPAGO);
|
|
385
|
+
}
|
|
365
386
|
toPrimitives() {
|
|
366
387
|
return { value: this.value };
|
|
367
388
|
}
|