@tonder.io/ionic-full-sdk 0.0.35-beta → 0.0.36-beta

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.
@@ -16,9 +16,6 @@ export declare class ThreeDSHandler {
16
16
  removeStorageItem(): void;
17
17
  saveVerifyTransactionUrl(): void;
18
18
  saveUrlWithExpiration(url: string): void;
19
- saveCheckoutId(checkoutId: any): void;
20
- removeCheckoutId(): void;
21
- getCurrentCheckoutId(): any;
22
19
  getUrlWithExpiration(): any;
23
20
  removeVerifyTransactionUrl(): void;
24
21
  getVerifyTransactionUrl(): string | null;
@@ -5,7 +5,7 @@ import { ErrorResponse } from '@tonder.io/ionic-lite-sdk/dist/classes/errorRespo
5
5
  import { Business, PaymentData, OrderItem } from '@tonder.io/ionic-lite-sdk/dist/types/commons';
6
6
  import { CustomerRegisterResponse, StartCheckoutResponse } from '@tonder.io/ionic-lite-sdk/dist/types/responses';
7
7
  import { InCollectorContainer } from '../helpers/skyflow';
8
- import { APM } from 'src/types/commons';
8
+ import { APM } from '@tonder.io/ionic-lite-sdk/dist/types/commons';
9
9
  export type InlineCheckoutConstructor = {
10
10
  returnUrl: string;
11
11
  apiKey: string;
@@ -18,6 +18,7 @@ export type InlineCheckoutConstructor = {
18
18
  collectorIds?: CollectorIds;
19
19
  isOpenPaySandbox?: boolean;
20
20
  isEnrollmentCard?: boolean;
21
+ mode?: 'production' | 'stage' | 'sandbox' | 'development';
21
22
  };
22
23
  export declare class InlineCheckout {
23
24
  #private;
@@ -64,7 +65,8 @@ export declare class InlineCheckout {
64
65
  card: {};
65
66
  currency: string;
66
67
  isEnrollmentCard: boolean;
67
- constructor({ apiKey, returnUrl, successUrl, renderPaymentButton, callBack, styles, containerId, collectorIds, isOpenPaySandbox, isEnrollmentCard, renderSaveCardButton, }: InlineCheckoutConstructor);
68
+ mode: 'production' | 'stage' | 'sandbox' | 'development';
69
+ constructor({ apiKey, returnUrl, successUrl, renderPaymentButton, callBack, styles, containerId, collectorIds, isOpenPaySandbox, isEnrollmentCard, renderSaveCardButton, mode, }: InlineCheckoutConstructor);
68
70
  handle3dsRedirect(response: ErrorResponse | StartCheckoutResponse | false | undefined): Promise<false | ErrorResponse | StartCheckoutResponse | undefined>;
69
71
  payment(data: any): Promise<unknown>;
70
72
  setCartItems(items: OrderItem[]): void;
@@ -0,0 +1,62 @@
1
+ declare enum PAYMENT_METHOD {
2
+ SORIANA = "SORIANA",
3
+ OXXO = "OXXO",
4
+ SPEI = "SPEI",
5
+ CODI = "CODI",
6
+ MERCADOPAGO = "MERCADOPAGO",
7
+ PAYPAL = "PAYPAL",
8
+ COMERCIALMEXICANA = "COMERCIALMEXICANA",
9
+ BANCOMER = "BANCOMER",
10
+ WALMART = "WALMART",
11
+ BODEGA = "BODEGA",
12
+ SAMSCLUB = "SAMSCLUB",
13
+ SUPERAMA = "SUPERAMA",
14
+ CALIMAX = "CALIMAX",
15
+ EXTRA = "EXTRA",
16
+ CIRCULOK = "CIRCULOK",
17
+ SEVEN11 = "7ELEVEN",
18
+ TELECOMM = "TELECOMM",
19
+ BANORTE = "BANORTE",
20
+ BENAVIDES = "BENAVIDES",
21
+ DELAHORRO = "DELAHORRO",
22
+ ELASTURIANO = "ELASTURIANO",
23
+ WALDOS = "WALDOS",
24
+ ALSUPER = "ALSUPER",
25
+ KIOSKO = "KIOSKO",
26
+ STAMARIA = "STAMARIA",
27
+ LAMASBARATA = "LAMASBARATA",
28
+ FARMROMA = "FARMROMA",
29
+ FARMUNION = "FARMUNION",
30
+ FARMATODO = "FARMATODO",
31
+ SFDEASIS = "SFDEASIS",
32
+ FARM911 = "FARM911",
33
+ FARMECONOMICAS = "FARMECONOMICAS",
34
+ FARMMEDICITY = "FARMMEDICITY",
35
+ RIANXEIRA = "RIANXEIRA",
36
+ WESTERNUNION = "WESTERNUNION",
37
+ ZONAPAGO = "ZONAPAGO",
38
+ CAJALOSANDES = "CAJALOSANDES",
39
+ CAJAPAITA = "CAJAPAITA",
40
+ CAJASANTA = "CAJASANTA",
41
+ CAJASULLANA = "CAJASULLANA",
42
+ CAJATRUJILLO = "CAJATRUJILLO",
43
+ EDPYME = "EDPYME",
44
+ KASNET = "KASNET",
45
+ NORANDINO = "NORANDINO",
46
+ QAPAQ = "QAPAQ",
47
+ RAIZ = "RAIZ",
48
+ PAYSER = "PAYSER",
49
+ WUNION = "WUNION",
50
+ BANCOCONTINENTAL = "BANCOCONTINENTAL",
51
+ GMONEY = "GMONEY",
52
+ GOPAY = "GOPAY",
53
+ WU = "WU",
54
+ PUNTOSHEY = "PUNTOSHEY",
55
+ AMPM = "AMPM",
56
+ JUMBOMARKET = "JUMBOMARKET",
57
+ SMELPUEBLO = "SMELPUEBLO",
58
+ BAM = "BAM",
59
+ REFACIL = "REFACIL",
60
+ ACYVALORES = "ACYVALORES"
61
+ }
62
+ export { PAYMENT_METHOD };
@@ -1,4 +1,4 @@
1
- import { APM } from 'src/types/commons';
1
+ import { APM } from '@tonder.io/ionic-lite-sdk/dist/types/commons';
2
2
  export type CollectorIds = {
3
3
  holderName: string;
4
4
  cardNumber: string;
@@ -27,4 +27,8 @@ export declare const getBrowserInfo: () => {
27
27
  screen_height: number | null;
28
28
  user_agent: string;
29
29
  };
30
+ export declare const getPaymentMethodDetails: (scheme_data: string) => {
31
+ icon: string;
32
+ label: string;
33
+ };
30
34
  export {};