@infrab4a/connect 4.1.2-beta.14 → 4.1.2-beta.15
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/package.json +1 -1
- package/src/domain/shopping/index.d.ts +1 -0
- package/src/domain/shopping/interfaces/index.d.ts +0 -1
- package/src/domain/shopping/interfaces/payment-provider-card.interface.d.ts +2 -1
- package/src/domain/shopping/services/glampoints-payment.service.d.ts +2 -2
- package/src/domain/shopping/services/pagarme-bank-slip-payment.service.d.ts +2 -2
- package/src/domain/shopping/services/pagarme-pix-payment.service.d.ts +2 -2
- package/src/domain/shopping/interfaces/payment-provider.interface.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Checkout } from '../models/checkout';
|
|
2
2
|
import { Payment } from '../models/payment';
|
|
3
|
+
import { PaymentCardInfo } from '../types';
|
|
3
4
|
export interface PaymentProviderCard {
|
|
4
5
|
addCard(): Promise<any>;
|
|
5
|
-
pay(checkout: Checkout, card:
|
|
6
|
+
pay(checkout: Checkout, card: PaymentCardInfo): Promise<Partial<Payment>>;
|
|
6
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Checkout, Payment,
|
|
2
|
-
export declare class GlampointsPaymentService implements
|
|
1
|
+
import { Checkout, Payment, PaymentProviderGlampoints } from '../models';
|
|
2
|
+
export declare class GlampointsPaymentService implements PaymentProviderGlampoints {
|
|
3
3
|
pay(checkout: Checkout): Promise<Partial<Payment>>;
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Checkout, Payment,
|
|
1
|
+
import { Checkout, Payment, PaymentProviderBankSlip } from '../models';
|
|
2
2
|
import { PagarmeCredentials } from '../types';
|
|
3
|
-
export declare class PagarmeBankSlipService implements
|
|
3
|
+
export declare class PagarmeBankSlipService implements PaymentProviderBankSlip {
|
|
4
4
|
private credentials;
|
|
5
5
|
constructor(credentials: PagarmeCredentials);
|
|
6
6
|
pay(checkout: Checkout): Promise<Partial<Payment>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Checkout, Payment,
|
|
1
|
+
import { Checkout, Payment, PaymentProviderPix } from '../models';
|
|
2
2
|
import { PagarmeCredentials } from '../types';
|
|
3
|
-
export declare class PagarmePixService implements
|
|
3
|
+
export declare class PagarmePixService implements PaymentProviderPix {
|
|
4
4
|
private credentials;
|
|
5
5
|
constructor(credentials: PagarmeCredentials);
|
|
6
6
|
pay(checkout: Checkout): Promise<Partial<Payment>>;
|