diff --git a/docs/classes/Address.html b/docs/classes/Address.html index f6b32f6..e7de80b 100644 --- a/docs/classes/Address.html +++ b/docs/classes/Address.html @@ -1,5 +1,5 @@ Address | react-native-tpay
react-native-tpay
    Preparing search index...

    Class Address

    Class responsible for storing payer address

    -
    Index

    Constructors

    Index

    Constructors

    Properties

    address city countryCode @@ -8,4 +8,4 @@
  • city: string | null

    city name

  • countryCode: string | null

    country code, for example 'PL'

  • postalCode: string | null

    postal code

    -
  • Returns Address

    Properties

    address: string | null
    city: string | null
    countryCode: string | null
    postalCode: string | null
    +

    Returns Address

    Properties

    address: string | null
    city: string | null
    countryCode: string | null
    postalCode: string | null
    diff --git a/docs/classes/AmbiguousAlias.html b/docs/classes/AmbiguousAlias.html index f08ac5e..565c372 100644 --- a/docs/classes/AmbiguousAlias.html +++ b/docs/classes/AmbiguousAlias.html @@ -1,7 +1,7 @@ AmbiguousAlias | react-native-tpay
    react-native-tpay
      Preparing search index...

      Class AmbiguousAlias

      Class responsible for storing ambiguous alias information

      -
      Index

      Constructors

      Index

      Constructors

      Properties

      Constructors

      Properties

      code: string

      Alias identifier

      -
      name: string

      Alias display name

      -
      +

      Constructors

      Properties

      code: string

      Alias identifier

      +
      name: string

      Alias display name

      +
      diff --git a/docs/classes/AmbiguousBlikPayment.html b/docs/classes/AmbiguousBlikPayment.html index f0aaf91..640ca40 100644 --- a/docs/classes/AmbiguousBlikPayment.html +++ b/docs/classes/AmbiguousBlikPayment.html @@ -1,9 +1,9 @@ AmbiguousBlikPayment | react-native-tpay
      react-native-tpay
        Preparing search index...

        Class AmbiguousBlikPayment

        Class responsible for storing information about ambiguous BLIK payment

        -
        Index

        Constructors

        Index

        Constructors

        Properties

        ambiguousAlias: AmbiguousAlias
        blikAlias: BlikAlias
        transactionId: string
        +

        Returns AmbiguousBlikPayment

        Properties

        ambiguousAlias: AmbiguousAlias
        blikAlias: BlikAlias
        transactionId: string
        diff --git a/docs/classes/AmountPaymentConstraint.html b/docs/classes/AmountPaymentConstraint.html index 1d263a3..77c44a6 100644 --- a/docs/classes/AmountPaymentConstraint.html +++ b/docs/classes/AmountPaymentConstraint.html @@ -1,9 +1,9 @@ AmountPaymentConstraint | react-native-tpay
        react-native-tpay
          Preparing search index...

          Class AmountPaymentConstraint

          Class responsible for storing information about amount payment constraint

          -

          Hierarchy (View Summary)

          Index

          Constructors

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          Constructors

          Properties

          maximum: number | null | undefined

          maximum price that can be used while creating the transaction

          -
          minimum: number | null | undefined

          minimum price that can be used while creating the transaction

          -
          type: amount

          type of a payment constraint

          -
          +

          Constructors

          Properties

          maximum: number | null | undefined

          maximum price that can be used while creating the transaction

          +
          minimum: number | null | undefined

          minimum price that can be used while creating the transaction

          +
          type: amount

          type of a payment constraint

          +
          diff --git a/docs/classes/ApplePayConfiguration.html b/docs/classes/ApplePayConfiguration.html index bb7e0c8..d37a1b9 100644 --- a/docs/classes/ApplePayConfiguration.html +++ b/docs/classes/ApplePayConfiguration.html @@ -1,7 +1,7 @@ ApplePayConfiguration | react-native-tpay
          react-native-tpay
            Preparing search index...

            Class ApplePayConfiguration

            Class responsible for storing information about Apple Pay configuration.

            -
            Index

            Constructors

            Index

            Constructors

            Properties

            countryCode: string
            merchantIdentifier: string
            +

            Returns ApplePayConfiguration

            Properties

            countryCode: string
            merchantIdentifier: string
            diff --git a/docs/classes/ApplePayPayment.html b/docs/classes/ApplePayPayment.html index a511eca..968fae9 100644 --- a/docs/classes/ApplePayPayment.html +++ b/docs/classes/ApplePayPayment.html @@ -1,8 +1,8 @@ ApplePayPayment | react-native-tpay
            react-native-tpay
              Preparing search index...

              Class ApplePayPayment

              Class responsible for storing information about Apple Pay payment

              -

              Hierarchy (View Summary)

              Index

              Constructors

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              applePayToken: string
              callbacks: Callbacks
              payer: Payer
              paymentDetails: PaymentDetails
              +
            • paymentDetails: PaymentDetails
            • payer: Payer
            • callbacks: Callbacks
            • Returns ApplePayPayment

              Properties

              applePayToken: string
              callbacks: Callbacks
              payer: Payer
              paymentDetails: PaymentDetails
              diff --git a/docs/classes/AutomaticPaymentMethods.html b/docs/classes/AutomaticPaymentMethods.html index 8674d03..4cbf7fd 100644 --- a/docs/classes/AutomaticPaymentMethods.html +++ b/docs/classes/AutomaticPaymentMethods.html @@ -1,7 +1,7 @@ AutomaticPaymentMethods | react-native-tpay
              react-native-tpay
                Preparing search index...

                Class AutomaticPaymentMethods

                Class responsible for storing information about payer's automatic payment methods

                -
                Index

                Constructors

                Index

                Constructors

                Properties

                Constructors

                Properties

                blikAlias: BlikAlias | null
                tokenizedCards: TokenizedCard[] | null
                +

                Returns AutomaticPaymentMethods

                Properties

                blikAlias: BlikAlias | null
                tokenizedCards: TokenizedCard[] | null
                diff --git a/docs/classes/BlikAlias.html b/docs/classes/BlikAlias.html index 0eeb6a2..75438c0 100644 --- a/docs/classes/BlikAlias.html +++ b/docs/classes/BlikAlias.html @@ -1,9 +1,9 @@ BlikAlias | react-native-tpay
                react-native-tpay
                  Preparing search index...

                  Class BlikAlias

                  Class responsible for storing information about BLIK alias

                  -
                  Index

                  Constructors

                  Index

                  Constructors

                  Properties

                  Constructors

                  • Parameters

                    • isRegistered: boolean

                      true if this BLIK alias is registered (payer saved it after paying with 6-digit code)

                    • value: string

                      payer's unique alias value

                    • label: string

                      alias display name

                      -

                    Returns BlikAlias

                  Properties

                  isRegistered: boolean
                  label: string
                  value: string
                  +

                  Returns BlikAlias

                  Properties

                  isRegistered: boolean
                  label: string
                  value: string
                  diff --git a/docs/classes/BlikPayment.html b/docs/classes/BlikPayment.html index 17548e1..85cd0f1 100644 --- a/docs/classes/BlikPayment.html +++ b/docs/classes/BlikPayment.html @@ -1,5 +1,5 @@ BlikPayment | react-native-tpay
                  react-native-tpay
                    Preparing search index...

                    Class BlikPayment

                    Class responsible for storing BLIK payment information

                    -

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Properties

                    alias callbacks code @@ -9,4 +9,4 @@ If you provide both, module will try to register the alias.

                    Parameters

                    Returns BlikPayment

                    Properties

                    alias: BlikAlias | null
                    callbacks: Callbacks
                    code: string | null
                    payer: Payer
                    paymentDetails: PaymentDetails
                    +
                  • paymentDetails: PaymentDetails
                  • payer: Payer
                  • callbacks: Callbacks
                  • Returns BlikPayment

                    Properties

                    alias: BlikAlias | null
                    callbacks: Callbacks
                    code: string | null
                    payer: Payer
                    paymentDetails: PaymentDetails
                    diff --git a/docs/classes/Callbacks.html b/docs/classes/Callbacks.html index f07b387..48954c5 100644 --- a/docs/classes/Callbacks.html +++ b/docs/classes/Callbacks.html @@ -1,7 +1,7 @@ Callbacks | react-native-tpay
                    react-native-tpay
                      Preparing search index...

                      Class Callbacks

                      Class storing the information about callbacks

                      -
                      Index

                      Constructors

                      Index

                      Constructors

                      Properties

                      Constructors

                      Properties

                      notifications: Notifications | null
                      redirects: Redirects | null
                      +

                      Returns Callbacks

                      Properties

                      notifications: Notifications | null
                      redirects: Redirects | null
                      diff --git a/docs/classes/CertificatePinningConfiguration.html b/docs/classes/CertificatePinningConfiguration.html index 11fc714..86b299b 100644 --- a/docs/classes/CertificatePinningConfiguration.html +++ b/docs/classes/CertificatePinningConfiguration.html @@ -1,6 +1,6 @@ CertificatePinningConfiguration | react-native-tpay
                      react-native-tpay
                        Preparing search index...

                        Class CertificatePinningConfiguration

                        Class responsible for storing information about certificate pinning.

                        -
                        Index

                        Constructors

                        Index

                        Constructors

                        Properties

                        Constructors

                        Properties

                        pinnedDomain: string
                        publicKeyHash: string
                        +

                        Returns CertificatePinningConfiguration

                        Properties

                        pinnedDomain: string
                        publicKeyHash: string
                        diff --git a/docs/classes/ConfigurationSuccess.html b/docs/classes/ConfigurationSuccess.html index 2bd2ada..3bed3bc 100644 --- a/docs/classes/ConfigurationSuccess.html +++ b/docs/classes/ConfigurationSuccess.html @@ -1,11 +1,11 @@ ConfigurationSuccess | react-native-tpay
                        react-native-tpay
                          Preparing search index...

                          Class ConfigurationSuccess

                          Indicates that configuration was successful

                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Properties

                          message?: string

                          Optional error message or additional information

                          -
                          paymentUrl?: string

                          Payment URL for continuation (used in screenless payments)

                          -
                          transactionId?: string | null

                          Transaction ID when applicable

                          -
                          type: "configurationSuccess" = 'configurationSuccess'

                          Type identifier for the result

                          -
                          +
                          paymentUrl?: string

                          Payment URL for continuation (used in screenless payments)

                          +
                          transactionId?: string | null

                          Transaction ID when applicable

                          +
                          type: "configurationSuccess" = 'configurationSuccess'

                          Type identifier for the result

                          +
                          diff --git a/docs/classes/CreditCard.html b/docs/classes/CreditCard.html index 76f71a8..40613a1 100644 --- a/docs/classes/CreditCard.html +++ b/docs/classes/CreditCard.html @@ -1,5 +1,5 @@ CreditCard | react-native-tpay
                          react-native-tpay
                            Preparing search index...

                            Class CreditCard

                            Class responsible for storing information about a credit card

                            -
                            Index

                            Constructors

                            Index

                            Constructors

                            Properties

                            cardNumber config cvv @@ -8,4 +8,4 @@
                          • expiryDate: ExpirationDate

                            credit card expiration date

                          • cvv: string

                            cvv code

                          • config: CreditCardConfig

                            other credit card information

                            -
                          • Returns CreditCard

                            Properties

                            cardNumber: string
                            cvv: string
                            expiryDate: ExpirationDate
                            +

                            Returns CreditCard

                            Properties

                            cardNumber: string
                            cvv: string
                            expiryDate: ExpirationDate
                            diff --git a/docs/classes/CreditCardConfig.html b/docs/classes/CreditCardConfig.html index 719394e..4f1cd67 100644 --- a/docs/classes/CreditCardConfig.html +++ b/docs/classes/CreditCardConfig.html @@ -1,8 +1,8 @@ CreditCardConfig | react-native-tpay
                            react-native-tpay
                              Preparing search index...

                              Class CreditCardConfig

                              Class responsible for storing payment related information about credit card

                              -
                              Index

                              Constructors

                              Index

                              Constructors

                              Properties

                              Constructors

                              Properties

                              domain: string
                              rocText: string | null
                              shouldSave: boolean
                              +
                            • rocText: string | null
                            • Returns CreditCardConfig

                              Properties

                              domain: string
                              rocText: string | null
                              shouldSave: boolean
                              diff --git a/docs/classes/CreditCardPayment.html b/docs/classes/CreditCardPayment.html index 18cfe9b..4b513f7 100644 --- a/docs/classes/CreditCardPayment.html +++ b/docs/classes/CreditCardPayment.html @@ -1,5 +1,5 @@ CreditCardPayment | react-native-tpay
                              react-native-tpay
                                Preparing search index...

                                Class CreditCardPayment

                                Class responsible for storing information about credit card payment

                                -

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Properties

                                callbacks creditCard creditCardToken @@ -9,4 +9,4 @@ If you provide both, creditCardToken will be used.

                                Parameters

                                • creditCard: CreditCard | null

                                  information about credit card

                                • creditCardToken: string | null

                                  token of tokenized card (for returning customers)

                                  -
                                • paymentDetails: PaymentDetails
                                • payer: Payer
                                • callbacks: Callbacks

                                Returns CreditCardPayment

                                Properties

                                callbacks: Callbacks
                                creditCard: CreditCard | null
                                creditCardToken: string | null
                                payer: Payer
                                paymentDetails: PaymentDetails
                                +
                              • paymentDetails: PaymentDetails
                              • payer: Payer
                              • callbacks: Callbacks
                              • Returns CreditCardPayment

                                Properties

                                callbacks: Callbacks
                                creditCard: CreditCard | null
                                creditCardToken: string | null
                                payer: Payer
                                paymentDetails: PaymentDetails
                                diff --git a/docs/classes/ExpirationDate.html b/docs/classes/ExpirationDate.html index 14fccda..1ab4d67 100644 --- a/docs/classes/ExpirationDate.html +++ b/docs/classes/ExpirationDate.html @@ -1,7 +1,7 @@ ExpirationDate | react-native-tpay
                                react-native-tpay
                                  Preparing search index...

                                  Class ExpirationDate

                                  Class responsible for storing information about expiration date

                                  -
                                  Index

                                  Constructors

                                  Index

                                  Constructors

                                  Properties

                                  Constructors

                                  Properties

                                  month: String
                                  year: String
                                  +

                                  Returns ExpirationDate

                                  Properties

                                  month: String
                                  year: String
                                  diff --git a/docs/classes/GooglePayConfiguration.html b/docs/classes/GooglePayConfiguration.html index 498b67b..cd48623 100644 --- a/docs/classes/GooglePayConfiguration.html +++ b/docs/classes/GooglePayConfiguration.html @@ -1,5 +1,5 @@ GooglePayConfiguration | react-native-tpay
                                  react-native-tpay
                                    Preparing search index...

                                    Class GooglePayConfiguration

                                    Class responsible for storing information about GooglePay configuration

                                    -
                                    Index

                                    Constructors

                                    Index

                                    Constructors

                                    Properties

                                    Constructors

                                    Properties

                                    merchantId: string
                                    +

                                    Returns GooglePayConfiguration

                                    Properties

                                    merchantId: string
                                    diff --git a/docs/classes/GooglePayConfigureError.html b/docs/classes/GooglePayConfigureError.html index 1458c91..060d12c 100644 --- a/docs/classes/GooglePayConfigureError.html +++ b/docs/classes/GooglePayConfigureError.html @@ -1,7 +1,7 @@ GooglePayConfigureError | react-native-tpay
                                    react-native-tpay
                                      Preparing search index...

                                      Class GooglePayConfigureError

                                      Indicates that there was an error during Google Pay configuration

                                      -

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Properties

                                      Constructors

                                      Properties

                                      message: string

                                      Error message

                                      -
                                      type: "error" = 'error'

                                      Type identifier for the result

                                      -
                                      +

                                      Constructors

                                      Properties

                                      message: string

                                      Error message

                                      +
                                      type: "error" = 'error'

                                      Type identifier for the result

                                      +
                                      diff --git a/docs/classes/GooglePayConfigureResult.html b/docs/classes/GooglePayConfigureResult.html index 072261a..959cc64 100644 --- a/docs/classes/GooglePayConfigureResult.html +++ b/docs/classes/GooglePayConfigureResult.html @@ -1,7 +1,7 @@ GooglePayConfigureResult | react-native-tpay
                                      react-native-tpay
                                        Preparing search index...

                                        Class GooglePayConfigureResultAbstract

                                        Indicates a result of Google Pay configuration

                                        -

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Properties

                                        Constructors

                                        Properties

                                        message?: string

                                        Optional error message or additional information

                                        -
                                        type: string

                                        Type identifier for the result

                                        -
                                        +
                                        type: string

                                        Type identifier for the result

                                        +
                                        diff --git a/docs/classes/GooglePayConfigureSuccess.html b/docs/classes/GooglePayConfigureSuccess.html index 8850963..2a3a302 100644 --- a/docs/classes/GooglePayConfigureSuccess.html +++ b/docs/classes/GooglePayConfigureSuccess.html @@ -1,7 +1,7 @@ GooglePayConfigureSuccess | react-native-tpay
                                        react-native-tpay
                                          Preparing search index...

                                          Class GooglePayConfigureSuccess

                                          Indicates that Google Pay configuration was successful

                                          -

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Properties

                                          Constructors

                                          Properties

                                          message?: string

                                          Optional error message or additional information

                                          -
                                          type: "success" = 'success'

                                          Type identifier for the result

                                          -
                                          +
                                          type: "success" = 'success'

                                          Type identifier for the result

                                          +
                                          diff --git a/docs/classes/GooglePayOpenCancelled.html b/docs/classes/GooglePayOpenCancelled.html index e442568..a6b7bb2 100644 --- a/docs/classes/GooglePayOpenCancelled.html +++ b/docs/classes/GooglePayOpenCancelled.html @@ -1,13 +1,13 @@ GooglePayOpenCancelled | react-native-tpay
                                          react-native-tpay
                                            Preparing search index...

                                            Class GooglePayOpenCancelled

                                            Indicates that Google Pay was opened successfully but user closed it without selecting a credit card

                                            -

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Properties

                                            cardNetwork?: string

                                            Credit card network when available

                                            -
                                            cardTail?: string

                                            Last digits of credit card number when available

                                            -
                                            description?: string

                                            Credit card description when available

                                            -
                                            token?: string

                                            Google Pay card token when available

                                            -
                                            type: "cancelled" = 'cancelled'

                                            Type identifier for the result

                                            -
                                            +
                                            cardTail?: string

                                            Last digits of credit card number when available

                                            +
                                            description?: string

                                            Credit card description when available

                                            +
                                            token?: string

                                            Google Pay card token when available

                                            +
                                            type: "cancelled" = 'cancelled'

                                            Type identifier for the result

                                            +
                                            diff --git a/docs/classes/GooglePayOpenNotConfigured.html b/docs/classes/GooglePayOpenNotConfigured.html index 40c238e..d40622d 100644 --- a/docs/classes/GooglePayOpenNotConfigured.html +++ b/docs/classes/GooglePayOpenNotConfigured.html @@ -1,14 +1,14 @@ GooglePayOpenNotConfigured | react-native-tpay
                                            react-native-tpay
                                              Preparing search index...

                                              Class GooglePayOpenNotConfigured

                                              Indicates that Google Pay utils were not configured before trying to open Google Pay. Configure utils via configureGooglePayUtils(...) method

                                              -

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              cardNetwork?: string

                                              Credit card network when available

                                              -
                                              cardTail?: string

                                              Last digits of credit card number when available

                                              -
                                              description?: string

                                              Credit card description when available

                                              -
                                              token?: string

                                              Google Pay card token when available

                                              -
                                              type: "notConfigured" = 'notConfigured'

                                              Type identifier for the result

                                              -
                                              +
                                              cardTail?: string

                                              Last digits of credit card number when available

                                              +
                                              description?: string

                                              Credit card description when available

                                              +
                                              token?: string

                                              Google Pay card token when available

                                              +
                                              type: "notConfigured" = 'notConfigured'

                                              Type identifier for the result

                                              +
                                              diff --git a/docs/classes/GooglePayOpenResult.html b/docs/classes/GooglePayOpenResult.html index 5aaed32..572f5c0 100644 --- a/docs/classes/GooglePayOpenResult.html +++ b/docs/classes/GooglePayOpenResult.html @@ -1,13 +1,13 @@ GooglePayOpenResult | react-native-tpay
                                              react-native-tpay
                                                Preparing search index...

                                                Class GooglePayOpenResultAbstract

                                                Indicates a result of Google Pay open

                                                -

                                                Hierarchy (View Summary)

                                                Index

                                                Constructors

                                                Hierarchy (View Summary)

                                                Index

                                                Constructors

                                                Properties

                                                cardNetwork?: string

                                                Credit card network when available

                                                -
                                                cardTail?: string

                                                Last digits of credit card number when available

                                                -
                                                description?: string

                                                Credit card description when available

                                                -
                                                token?: string

                                                Google Pay card token when available

                                                -
                                                type: string

                                                Type identifier for the result

                                                -
                                                +
                                                cardTail?: string

                                                Last digits of credit card number when available

                                                +
                                                description?: string

                                                Credit card description when available

                                                +
                                                token?: string

                                                Google Pay card token when available

                                                +
                                                type: string

                                                Type identifier for the result

                                                +
                                                diff --git a/docs/classes/GooglePayOpenSuccess.html b/docs/classes/GooglePayOpenSuccess.html index 29cc9f2..e583113 100644 --- a/docs/classes/GooglePayOpenSuccess.html +++ b/docs/classes/GooglePayOpenSuccess.html @@ -1,13 +1,13 @@ GooglePayOpenSuccess | react-native-tpay
                                                react-native-tpay
                                                  Preparing search index...

                                                  Class GooglePayOpenSuccess

                                                  Indicates that Google Pay was successfully opened and user has selected a credit card

                                                  -

                                                  Hierarchy (View Summary)

                                                  Index

                                                  Constructors

                                                  Hierarchy (View Summary)

                                                  Index

                                                  Constructors

                                                  Properties

                                                  cardNetwork: string

                                                  Credit card network

                                                  -
                                                  cardTail: string

                                                  Last digits of credit card number

                                                  -
                                                  description: string

                                                  Credit card description, for example "Visa •••• 1111"

                                                  -
                                                  token: string

                                                  Google Pay card token, use it with GooglePayPayment

                                                  -
                                                  type: "success" = 'success'

                                                  Type identifier for the result

                                                  -
                                                  +

                                                  Constructors

                                                  Properties

                                                  cardNetwork: string

                                                  Credit card network

                                                  +
                                                  cardTail: string

                                                  Last digits of credit card number

                                                  +
                                                  description: string

                                                  Credit card description, for example "Visa •••• 1111"

                                                  +
                                                  token: string

                                                  Google Pay card token, use it with GooglePayPayment

                                                  +
                                                  type: "success" = 'success'

                                                  Type identifier for the result

                                                  +
                                                  diff --git a/docs/classes/GooglePayOpenUnknownError.html b/docs/classes/GooglePayOpenUnknownError.html index 63c8a94..f3ab79b 100644 --- a/docs/classes/GooglePayOpenUnknownError.html +++ b/docs/classes/GooglePayOpenUnknownError.html @@ -1,13 +1,13 @@ GooglePayOpenUnknownError | react-native-tpay
                                                  react-native-tpay
                                                    Preparing search index...

                                                    Class GooglePayOpenUnknownError

                                                    Indicates that there was a unknown error

                                                    -

                                                    Hierarchy (View Summary)

                                                    Index

                                                    Constructors

                                                    Hierarchy (View Summary)

                                                    Index

                                                    Constructors

                                                    Properties

                                                    cardNetwork?: string

                                                    Credit card network when available

                                                    -
                                                    cardTail?: string

                                                    Last digits of credit card number when available

                                                    -
                                                    description?: string

                                                    Credit card description when available

                                                    -
                                                    token?: string

                                                    Google Pay card token when available

                                                    -
                                                    type: "unknownError" = 'unknownError'

                                                    Type identifier for the result

                                                    -
                                                    +
                                                    cardTail?: string

                                                    Last digits of credit card number when available

                                                    +
                                                    description?: string

                                                    Credit card description when available

                                                    +
                                                    token?: string

                                                    Google Pay card token when available

                                                    +
                                                    type: "unknownError" = 'unknownError'

                                                    Type identifier for the result

                                                    +
                                                    diff --git a/docs/classes/GooglePayPayment.html b/docs/classes/GooglePayPayment.html index 1539387..615eae3 100644 --- a/docs/classes/GooglePayPayment.html +++ b/docs/classes/GooglePayPayment.html @@ -1,8 +1,8 @@ GooglePayPayment | react-native-tpay
                                                    react-native-tpay
                                                      Preparing search index...

                                                      Class GooglePayPayment

                                                      Class responsible for storing information about Google Pay payment

                                                      -

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Properties

                                                      callbacks: Callbacks
                                                      payer: Payer
                                                      paymentDetails: PaymentDetails
                                                      token: string
                                                      +
                                                    • paymentDetails: PaymentDetails
                                                    • payer: Payer
                                                    • callbacks: Callbacks
                                                    • Returns GooglePayPayment

                                                      Properties

                                                      callbacks: Callbacks
                                                      payer: Payer
                                                      paymentDetails: PaymentDetails
                                                      token: string
                                                      diff --git a/docs/classes/GooglePayUtilsConfiguration.html b/docs/classes/GooglePayUtilsConfiguration.html index 64807d3..dc2fa3a 100644 --- a/docs/classes/GooglePayUtilsConfiguration.html +++ b/docs/classes/GooglePayUtilsConfiguration.html @@ -1,5 +1,5 @@ GooglePayUtilsConfiguration | react-native-tpay
                                                      react-native-tpay
                                                        Preparing search index...

                                                        Class GooglePayUtilsConfiguration

                                                        Class responsible for storing information about Google Pay utils configuration

                                                        -
                                                        Index

                                                        Constructors

                                                        Index

                                                        Constructors

                                                        Properties

                                                      • merchantId: string

                                                        your merchantId in Tpay system

                                                      • environment: GooglePayEnvironment

                                                        Google Pay environment

                                                      • customRequestCode: number | null

                                                        alternative request code that will be used to manage Google Pay data

                                                        -
                                                      • Returns GooglePayUtilsConfiguration

                                                        Properties

                                                        customRequestCode: number | null
                                                        merchantId: string
                                                        merchantName: string
                                                        price: number
                                                        +

                                                        Returns GooglePayUtilsConfiguration

                                                        Properties

                                                        customRequestCode: number | null
                                                        merchantId: string
                                                        merchantName: string
                                                        price: number
                                                        diff --git a/docs/classes/Languages.html b/docs/classes/Languages.html index 0a3636e..d6c1129 100644 --- a/docs/classes/Languages.html +++ b/docs/classes/Languages.html @@ -1,7 +1,7 @@ Languages | react-native-tpay
                                                        react-native-tpay
                                                          Preparing search index...

                                                          Class Languages

                                                          Class responsible for storing information about module languages.

                                                          -
                                                          Index

                                                          Constructors

                                                          Index

                                                          Constructors

                                                          Properties

                                                          preferredLanguage: Language
                                                          supportedLanguages: Language[]
                                                          +

                                                          Returns Languages

                                                          Properties

                                                          preferredLanguage: Language
                                                          supportedLanguages: Language[]
                                                          diff --git a/docs/classes/LocalizedString.html b/docs/classes/LocalizedString.html index fdfd0c9..e0ecd32 100644 --- a/docs/classes/LocalizedString.html +++ b/docs/classes/LocalizedString.html @@ -1,5 +1,5 @@ LocalizedString | react-native-tpay
                                                          react-native-tpay
                                                            Preparing search index...

                                                            Class LocalizedString

                                                            Class responsible for storing a localized string

                                                            -
                                                            Index

                                                            Constructors

                                                            Index

                                                            Constructors

                                                            Properties

                                                            Constructors

                                                            Properties

                                                            language: Language
                                                            value: string
                                                            +

                                                            Constructors

                                                            Properties

                                                            language: Language
                                                            value: string
                                                            diff --git a/docs/classes/Merchant.html b/docs/classes/Merchant.html index 9692941..a6fd485 100644 --- a/docs/classes/Merchant.html +++ b/docs/classes/Merchant.html @@ -1,5 +1,5 @@ Merchant | react-native-tpay
                                                            react-native-tpay
                                                              Preparing search index...

                                                              Class Merchant

                                                              Class responsible for storing merchant information

                                                              -
                                                              Index

                                                              Constructors

                                                              Index

                                                              Constructors

                                                              Properties

                                                            • certificatePinningConfiguration: CertificatePinningConfiguration

                                                              encryption information

                                                            • blikAliasToRegister: string

                                                              BLIK that will be registered with payment

                                                            • walletConfiguration: WalletConfiguration | null

                                                              configuration of digital wallets

                                                              -
                                                            • Returns Merchant

                                                              Properties

                                                              authorization: MerchantAuthorization
                                                              blikAliasToRegister: string
                                                              certificatePinningConfiguration: CertificatePinningConfiguration
                                                              environment: TpayEnvironment
                                                              walletConfiguration: WalletConfiguration | null
                                                              +

                                                              Returns Merchant

                                                              Properties

                                                              authorization: MerchantAuthorization
                                                              blikAliasToRegister: string
                                                              certificatePinningConfiguration: CertificatePinningConfiguration
                                                              environment: TpayEnvironment
                                                              walletConfiguration: WalletConfiguration | null
                                                              diff --git a/docs/classes/MerchantAuthorization.html b/docs/classes/MerchantAuthorization.html index 07ae6c9..20e44ac 100644 --- a/docs/classes/MerchantAuthorization.html +++ b/docs/classes/MerchantAuthorization.html @@ -1,7 +1,7 @@ MerchantAuthorization | react-native-tpay
                                                              react-native-tpay
                                                                Preparing search index...

                                                                Class MerchantAuthorization

                                                                Class responsible for storing merchant's authorization

                                                                -
                                                                Index

                                                                Constructors

                                                                Index

                                                                Constructors

                                                                Properties

                                                                Constructors

                                                                Properties

                                                                clientId: string
                                                                clientSecret: string
                                                                +

                                                                Returns MerchantAuthorization

                                                                Properties

                                                                clientId: string
                                                                clientSecret: string
                                                                diff --git a/docs/classes/MerchantDetails.html b/docs/classes/MerchantDetails.html index 7ad654f..2f3df55 100644 --- a/docs/classes/MerchantDetails.html +++ b/docs/classes/MerchantDetails.html @@ -1,9 +1,9 @@ MerchantDetails | react-native-tpay
                                                                react-native-tpay
                                                                  Preparing search index...

                                                                  Class MerchantDetails

                                                                  Class responsible for storing localized information about merchant

                                                                  -
                                                                  Index

                                                                  Constructors

                                                                  Index

                                                                  Constructors

                                                                  Properties

                                                                  merchantDisplayName: LocalizedString[]
                                                                  merchantHeadquarters: LocalizedString[]
                                                                  regulations: LocalizedString[]
                                                                  +

                                                                  Returns MerchantDetails

                                                                  Properties

                                                                  merchantDisplayName: LocalizedString[]
                                                                  merchantHeadquarters: LocalizedString[]
                                                                  regulations: LocalizedString[]
                                                                  diff --git a/docs/classes/MethodCallError.html b/docs/classes/MethodCallError.html index 339454d..7410cec 100644 --- a/docs/classes/MethodCallError.html +++ b/docs/classes/MethodCallError.html @@ -1,11 +1,11 @@ MethodCallError | react-native-tpay
                                                                  react-native-tpay
                                                                    Preparing search index...

                                                                    Class MethodCallError

                                                                    Indicates a module error

                                                                    -

                                                                    Hierarchy (View Summary)

                                                                    Index

                                                                    Constructors

                                                                    Hierarchy (View Summary)

                                                                    Index

                                                                    Constructors

                                                                    Properties

                                                                    message: string

                                                                    Error message

                                                                    -
                                                                    paymentUrl?: string

                                                                    Payment URL for continuation (used in screenless payments)

                                                                    -
                                                                    transactionId?: string | null

                                                                    Transaction ID when applicable

                                                                    -
                                                                    type: "methodCallError" = 'methodCallError'

                                                                    Type identifier for the result

                                                                    -
                                                                    +

                                                                    Constructors

                                                                    Properties

                                                                    message: string

                                                                    Error message

                                                                    +
                                                                    paymentUrl?: string

                                                                    Payment URL for continuation (used in screenless payments)

                                                                    +
                                                                    transactionId?: string | null

                                                                    Transaction ID when applicable

                                                                    +
                                                                    type: "methodCallError" = 'methodCallError'

                                                                    Type identifier for the result

                                                                    +
                                                                    diff --git a/docs/classes/ModuleClosed.html b/docs/classes/ModuleClosed.html index 6d87baf..45dc4f0 100644 --- a/docs/classes/ModuleClosed.html +++ b/docs/classes/ModuleClosed.html @@ -1,11 +1,11 @@ ModuleClosed | react-native-tpay
                                                                    react-native-tpay
                                                                      Preparing search index...

                                                                      Class ModuleClosed

                                                                      Indicates that user closed the module without making a payment/tokenization

                                                                      -

                                                                      Hierarchy (View Summary)

                                                                      Index

                                                                      Constructors

                                                                      Hierarchy (View Summary)

                                                                      Index

                                                                      Constructors

                                                                      Properties

                                                                      message?: string

                                                                      Optional error message or additional information

                                                                      -
                                                                      paymentUrl?: string

                                                                      Payment URL for continuation (used in screenless payments)

                                                                      -
                                                                      transactionId?: string | null

                                                                      Transaction ID when applicable

                                                                      -
                                                                      type: "moduleClosed" = 'moduleClosed'

                                                                      Type identifier for the result

                                                                      -
                                                                      +
                                                                      paymentUrl?: string

                                                                      Payment URL for continuation (used in screenless payments)

                                                                      +
                                                                      transactionId?: string | null

                                                                      Transaction ID when applicable

                                                                      +
                                                                      type: "moduleClosed" = 'moduleClosed'

                                                                      Type identifier for the result

                                                                      +
                                                                      diff --git a/docs/classes/Notifications.html b/docs/classes/Notifications.html index cc9e0a1..bd66c4b 100644 --- a/docs/classes/Notifications.html +++ b/docs/classes/Notifications.html @@ -1,7 +1,7 @@ Notifications | react-native-tpay
                                                                      react-native-tpay
                                                                        Preparing search index...

                                                                        Class Notifications

                                                                        Class responsible for storing information about notifications

                                                                        -
                                                                        Index

                                                                        Constructors

                                                                        Index

                                                                        Constructors

                                                                        Properties

                                                                        Constructors

                                                                        Properties

                                                                        email: string
                                                                        url: string
                                                                        +

                                                                        Returns Notifications

                                                                        Properties

                                                                        email: string
                                                                        url: string
                                                                        diff --git a/docs/classes/PayPoPayment.html b/docs/classes/PayPoPayment.html index e53e244..dcf0c6c 100644 --- a/docs/classes/PayPoPayment.html +++ b/docs/classes/PayPoPayment.html @@ -1,6 +1,6 @@ PayPoPayment | react-native-tpay
                                                                        react-native-tpay
                                                                          Preparing search index...

                                                                          Class PayPoPayment

                                                                          Class responsible for storing information about PayPo payment

                                                                          -

                                                                          Hierarchy (View Summary)

                                                                          Index

                                                                          Constructors

                                                                          Hierarchy (View Summary)

                                                                          Index

                                                                          Constructors

                                                                          Properties

                                                                          Constructors

                                                                          Properties

                                                                          callbacks: Callbacks
                                                                          payer: Payer
                                                                          paymentDetails: PaymentDetails
                                                                          +

                                                                          Constructors

                                                                          Properties

                                                                          callbacks: Callbacks
                                                                          payer: Payer
                                                                          paymentDetails: PaymentDetails
                                                                          diff --git a/docs/classes/Payer.html b/docs/classes/Payer.html index 9375c99..6883a65 100644 --- a/docs/classes/Payer.html +++ b/docs/classes/Payer.html @@ -1,5 +1,5 @@ Payer | react-native-tpay
                                                                          react-native-tpay
                                                                            Preparing search index...

                                                                            Class Payer

                                                                            Class responsible for storing information about payer

                                                                            -
                                                                            Index

                                                                            Constructors

                                                                            Index

                                                                            Constructors

                                                                            Properties

                                                                            address email name @@ -8,4 +8,4 @@
                                                                          • email: string

                                                                            payer's email

                                                                          • phone: string | null

                                                                            payer's phone number

                                                                          • address: Address | null

                                                                            payer's address

                                                                            -
                                                                          • Returns Payer

                                                                            Properties

                                                                            address: Address | null
                                                                            email: string
                                                                            name: string
                                                                            phone: string | null
                                                                            +

                                                                            Returns Payer

                                                                            Properties

                                                                            address: Address | null
                                                                            email: string
                                                                            name: string
                                                                            phone: string | null
                                                                            diff --git a/docs/classes/PayerContext.html b/docs/classes/PayerContext.html index 08e4065..da3f4e9 100644 --- a/docs/classes/PayerContext.html +++ b/docs/classes/PayerContext.html @@ -1,7 +1,7 @@ PayerContext | react-native-tpay
                                                                            react-native-tpay
                                                                              Preparing search index...

                                                                              Class PayerContext

                                                                              Class responsible for storing information about payer and automatic payment methods

                                                                              -
                                                                              Index

                                                                              Constructors

                                                                              Index

                                                                              Constructors

                                                                              Properties

                                                                              automaticPaymentMethods: AutomaticPaymentMethods | null
                                                                              payer: Payer | null
                                                                              +

                                                                              Returns PayerContext

                                                                              Properties

                                                                              automaticPaymentMethods: AutomaticPaymentMethods | null
                                                                              payer: Payer | null
                                                                              diff --git a/docs/classes/PaymentCancelled.html b/docs/classes/PaymentCancelled.html index a5207f7..e8bf30b 100644 --- a/docs/classes/PaymentCancelled.html +++ b/docs/classes/PaymentCancelled.html @@ -1,11 +1,11 @@ PaymentCancelled | react-native-tpay
                                                                              react-native-tpay
                                                                                Preparing search index...

                                                                                Class PaymentCancelled

                                                                                Indicates that payment failed and module was closed

                                                                                -

                                                                                Hierarchy (View Summary)

                                                                                Index

                                                                                Constructors

                                                                                Hierarchy (View Summary)

                                                                                Index

                                                                                Constructors

                                                                                Properties

                                                                                message?: string

                                                                                Optional error message or additional information

                                                                                -
                                                                                paymentUrl?: string

                                                                                Payment URL for continuation (used in screenless payments)

                                                                                -
                                                                                transactionId: string | null

                                                                                If exists, id of the transaction

                                                                                -
                                                                                type: "paymentCancelled" = 'paymentCancelled'

                                                                                Type identifier for the result

                                                                                -
                                                                                +

                                                                                Constructors

                                                                                Properties

                                                                                message?: string

                                                                                Optional error message or additional information

                                                                                +
                                                                                paymentUrl?: string

                                                                                Payment URL for continuation (used in screenless payments)

                                                                                +
                                                                                transactionId: string | null

                                                                                If exists, id of the transaction

                                                                                +
                                                                                type: "paymentCancelled" = 'paymentCancelled'

                                                                                Type identifier for the result

                                                                                +
                                                                                diff --git a/docs/classes/PaymentChannel.html b/docs/classes/PaymentChannel.html index 4f2535c..0b4a7f0 100644 --- a/docs/classes/PaymentChannel.html +++ b/docs/classes/PaymentChannel.html @@ -1,11 +1,11 @@ PaymentChannel | react-native-tpay
                                                                                react-native-tpay
                                                                                  Preparing search index...

                                                                                  Class PaymentChannel

                                                                                  Class responsible for storing information about a payment channel

                                                                                  -
                                                                                  Index

                                                                                  Constructors

                                                                                  Index

                                                                                  Constructors

                                                                                  Properties

                                                                                  Constructors

                                                                                  Properties

                                                                                  constraints: PaymentConstraint[]

                                                                                  channel constraints

                                                                                  -
                                                                                  id: string

                                                                                  id of the payment channel

                                                                                  -
                                                                                  imageUrl: string

                                                                                  channel image url

                                                                                  -
                                                                                  name: string

                                                                                  channel display name

                                                                                  -
                                                                                  +

                                                                                  Constructors

                                                                                  Properties

                                                                                  constraints: PaymentConstraint[]

                                                                                  channel constraints

                                                                                  +
                                                                                  id: string

                                                                                  id of the payment channel

                                                                                  +
                                                                                  imageUrl: string

                                                                                  channel image url

                                                                                  +
                                                                                  name: string

                                                                                  channel display name

                                                                                  +
                                                                                  diff --git a/docs/classes/PaymentChannelsError.html b/docs/classes/PaymentChannelsError.html index 748097c..580c977 100644 --- a/docs/classes/PaymentChannelsError.html +++ b/docs/classes/PaymentChannelsError.html @@ -1,9 +1,9 @@ PaymentChannelsError | react-native-tpay
                                                                                  react-native-tpay
                                                                                    Preparing search index...

                                                                                    Class PaymentChannelsError

                                                                                    Indicates that there was an error while fetching payment channels

                                                                                    -

                                                                                    Hierarchy (View Summary)

                                                                                    Index

                                                                                    Constructors

                                                                                    Hierarchy (View Summary)

                                                                                    Index

                                                                                    Constructors

                                                                                    Properties

                                                                                    Constructors

                                                                                    Properties

                                                                                    channels?: PaymentChannel[]

                                                                                    Payment channels array when available

                                                                                    -
                                                                                    message: string

                                                                                    Error message

                                                                                    -
                                                                                    type: "error" = 'error'

                                                                                    Type identifier for the result

                                                                                    -
                                                                                    +

                                                                                    Constructors

                                                                                    Properties

                                                                                    channels?: PaymentChannel[]

                                                                                    Payment channels array when available

                                                                                    +
                                                                                    message: string

                                                                                    Error message

                                                                                    +
                                                                                    type: "error" = 'error'

                                                                                    Type identifier for the result

                                                                                    +
                                                                                    diff --git a/docs/classes/PaymentChannelsResult.html b/docs/classes/PaymentChannelsResult.html index 605ef5f..a6a95bf 100644 --- a/docs/classes/PaymentChannelsResult.html +++ b/docs/classes/PaymentChannelsResult.html @@ -1,9 +1,9 @@ PaymentChannelsResult | react-native-tpay
                                                                                    react-native-tpay
                                                                                      Preparing search index...

                                                                                      Class PaymentChannelsResultAbstract

                                                                                      Indicates a result of payment channels

                                                                                      -

                                                                                      Hierarchy (View Summary)

                                                                                      Index

                                                                                      Constructors

                                                                                      Hierarchy (View Summary)

                                                                                      Index

                                                                                      Constructors

                                                                                      Properties

                                                                                      Constructors

                                                                                      Properties

                                                                                      channels?: PaymentChannel[]

                                                                                      Payment channels array when available

                                                                                      -
                                                                                      message?: string

                                                                                      Optional error message or additional information

                                                                                      -
                                                                                      type: string

                                                                                      Type identifier for the result

                                                                                      -
                                                                                      +
                                                                                      message?: string

                                                                                      Optional error message or additional information

                                                                                      +
                                                                                      type: string

                                                                                      Type identifier for the result

                                                                                      +
                                                                                      diff --git a/docs/classes/PaymentChannelsSuccess.html b/docs/classes/PaymentChannelsSuccess.html index 4198678..d4e8921 100644 --- a/docs/classes/PaymentChannelsSuccess.html +++ b/docs/classes/PaymentChannelsSuccess.html @@ -1,9 +1,9 @@ PaymentChannelsSuccess | react-native-tpay
                                                                                      react-native-tpay
                                                                                        Preparing search index...

                                                                                        Class PaymentChannelsSuccess

                                                                                        Indicates that payment channels were successfully received

                                                                                        -

                                                                                        Hierarchy (View Summary)

                                                                                        Index

                                                                                        Constructors

                                                                                        Hierarchy (View Summary)

                                                                                        Index

                                                                                        Constructors

                                                                                        Properties

                                                                                        Constructors

                                                                                        Properties

                                                                                        channels: PaymentChannel[]

                                                                                        Payment channels

                                                                                        -
                                                                                        message?: string

                                                                                        Optional error message or additional information

                                                                                        -
                                                                                        type: "success" = 'success'

                                                                                        Type identifier for the result

                                                                                        -
                                                                                        +

                                                                                        Constructors

                                                                                        Properties

                                                                                        channels: PaymentChannel[]

                                                                                        Payment channels

                                                                                        +
                                                                                        message?: string

                                                                                        Optional error message or additional information

                                                                                        +
                                                                                        type: "success" = 'success'

                                                                                        Type identifier for the result

                                                                                        +
                                                                                        diff --git a/docs/classes/PaymentCompleted.html b/docs/classes/PaymentCompleted.html index 41c35f2..c7db958 100644 --- a/docs/classes/PaymentCompleted.html +++ b/docs/classes/PaymentCompleted.html @@ -1,11 +1,11 @@ PaymentCompleted | react-native-tpay
                                                                                        react-native-tpay
                                                                                          Preparing search index...

                                                                                          Class PaymentCompleted

                                                                                          Indicates that payment was successful and module was closed

                                                                                          -

                                                                                          Hierarchy (View Summary)

                                                                                          Index

                                                                                          Constructors

                                                                                          Hierarchy (View Summary)

                                                                                          Index

                                                                                          Constructors

                                                                                          Properties

                                                                                          message?: string

                                                                                          Optional error message or additional information

                                                                                          -
                                                                                          paymentUrl?: string

                                                                                          Payment URL for continuation (used in screenless payments)

                                                                                          -
                                                                                          transactionId: string

                                                                                          Transaction id of the completed transaction

                                                                                          -
                                                                                          type: "paymentCompleted" = 'paymentCompleted'

                                                                                          Type identifier for the result

                                                                                          -
                                                                                          +

                                                                                          Constructors

                                                                                          Properties

                                                                                          message?: string

                                                                                          Optional error message or additional information

                                                                                          +
                                                                                          paymentUrl?: string

                                                                                          Payment URL for continuation (used in screenless payments)

                                                                                          +
                                                                                          transactionId: string

                                                                                          Transaction id of the completed transaction

                                                                                          +
                                                                                          type: "paymentCompleted" = 'paymentCompleted'

                                                                                          Type identifier for the result

                                                                                          +
                                                                                          diff --git a/docs/classes/PaymentConstraint.html b/docs/classes/PaymentConstraint.html index 87f8151..7211a59 100644 --- a/docs/classes/PaymentConstraint.html +++ b/docs/classes/PaymentConstraint.html @@ -1,5 +1,5 @@ PaymentConstraint | react-native-tpay
                                                                                          react-native-tpay
                                                                                            Preparing search index...

                                                                                            Class PaymentConstraint

                                                                                            Class indicating that there is a payment constraint on a payment channel

                                                                                            -

                                                                                            Hierarchy (View Summary)

                                                                                            Index

                                                                                            Constructors

                                                                                            Hierarchy (View Summary)

                                                                                            Index

                                                                                            Constructors

                                                                                            Properties

                                                                                            Constructors

                                                                                            Properties

                                                                                            type: amount

                                                                                            type of a payment constraint

                                                                                            -
                                                                                            +

                                                                                            Constructors

                                                                                            Properties

                                                                                            type: amount

                                                                                            type of a payment constraint

                                                                                            +
                                                                                            diff --git a/docs/classes/PaymentCreated.html b/docs/classes/PaymentCreated.html index 50d316c..10f5550 100644 --- a/docs/classes/PaymentCreated.html +++ b/docs/classes/PaymentCreated.html @@ -1,11 +1,11 @@ PaymentCreated | react-native-tpay
                                                                                            react-native-tpay
                                                                                              Preparing search index...

                                                                                              Class PaymentCreated

                                                                                              Indicates that payment was successfully created

                                                                                              -

                                                                                              Hierarchy (View Summary)

                                                                                              Index

                                                                                              Constructors

                                                                                              Hierarchy (View Summary)

                                                                                              Index

                                                                                              Constructors

                                                                                              Properties

                                                                                              message?: string

                                                                                              Optional error message or additional information

                                                                                              -
                                                                                              paymentUrl?: string

                                                                                              Payment URL for continuation (used in screenless payments)

                                                                                              -
                                                                                              transactionId: string

                                                                                              Transaction id of the created transaction

                                                                                              -
                                                                                              type: "paymentCreated" = 'paymentCreated'

                                                                                              Type identifier for the result

                                                                                              -
                                                                                              +

                                                                                              Constructors

                                                                                              Properties

                                                                                              message?: string

                                                                                              Optional error message or additional information

                                                                                              +
                                                                                              paymentUrl?: string

                                                                                              Payment URL for continuation (used in screenless payments)

                                                                                              +
                                                                                              transactionId: string

                                                                                              Transaction id of the created transaction

                                                                                              +
                                                                                              type: "paymentCreated" = 'paymentCreated'

                                                                                              Type identifier for the result

                                                                                              +
                                                                                              diff --git a/docs/classes/PaymentDetails.html b/docs/classes/PaymentDetails.html index 9257962..d92bd24 100644 --- a/docs/classes/PaymentDetails.html +++ b/docs/classes/PaymentDetails.html @@ -1,5 +1,5 @@ PaymentDetails | react-native-tpay
                                                                                              react-native-tpay
                                                                                                Preparing search index...

                                                                                                Class PaymentDetails

                                                                                                Class responsible for storing information about payment details

                                                                                                -
                                                                                                Index

                                                                                                Constructors

                                                                                                Index

                                                                                                Constructors

                                                                                                Properties

                                                                                              • description: string

                                                                                                description of payment shown to payer

                                                                                              • hiddenDescription: string | null

                                                                                                description visible to store

                                                                                              • language: Language | null

                                                                                                language of the transaction

                                                                                                -
                                                                                              • Returns PaymentDetails

                                                                                                Properties

                                                                                                amount: number
                                                                                                description: string
                                                                                                hiddenDescription: string | null
                                                                                                language: Language | null
                                                                                                +

                                                                                                Returns PaymentDetails

                                                                                                Properties

                                                                                                amount: number
                                                                                                description: string
                                                                                                hiddenDescription: string | null
                                                                                                language: Language | null
                                                                                                diff --git a/docs/classes/PaymentGroup.html b/docs/classes/PaymentGroup.html index 08003d2..44abbc9 100644 --- a/docs/classes/PaymentGroup.html +++ b/docs/classes/PaymentGroup.html @@ -1,9 +1,9 @@ PaymentGroup | react-native-tpay
                                                                                                react-native-tpay
                                                                                                  Preparing search index...

                                                                                                  Class PaymentGroup

                                                                                                  Class responsible for storing payment group's information

                                                                                                  -
                                                                                                  Index

                                                                                                  Constructors

                                                                                                  Index

                                                                                                  Constructors

                                                                                                  Properties

                                                                                                  Constructors

                                                                                                  Properties

                                                                                                  id: string

                                                                                                  id of the group

                                                                                                  -
                                                                                                  imageUrl: string

                                                                                                  group's image url

                                                                                                  -
                                                                                                  name: string

                                                                                                  group's display name

                                                                                                  -
                                                                                                  +

                                                                                                  Constructors

                                                                                                  Properties

                                                                                                  id: string

                                                                                                  id of the group

                                                                                                  +
                                                                                                  imageUrl: string

                                                                                                  group's image url

                                                                                                  +
                                                                                                  name: string

                                                                                                  group's display name

                                                                                                  +
                                                                                                  diff --git a/docs/classes/PaymentMethods.html b/docs/classes/PaymentMethods.html index c3e4a39..f45c27c 100644 --- a/docs/classes/PaymentMethods.html +++ b/docs/classes/PaymentMethods.html @@ -1,9 +1,9 @@ PaymentMethods | react-native-tpay
                                                                                                  react-native-tpay
                                                                                                    Preparing search index...

                                                                                                    Class PaymentMethods

                                                                                                    Class responsible for storing selected payment methods

                                                                                                    -
                                                                                                    Index

                                                                                                    Constructors

                                                                                                    Index

                                                                                                    Constructors

                                                                                                    Properties

                                                                                                    installmentPayments: InstallmentPayment[] | null
                                                                                                    methods: PaymentMethod[]
                                                                                                    wallets: DigitalWallet[] | null
                                                                                                    +

                                                                                                    Returns PaymentMethods

                                                                                                    Properties

                                                                                                    installmentPayments: InstallmentPayment[] | null
                                                                                                    methods: PaymentMethod[]
                                                                                                    wallets: DigitalWallet[] | null
                                                                                                    diff --git a/docs/classes/RatyPekaoPayment.html b/docs/classes/RatyPekaoPayment.html index b6c45e5..7f0f132 100644 --- a/docs/classes/RatyPekaoPayment.html +++ b/docs/classes/RatyPekaoPayment.html @@ -1,8 +1,8 @@ RatyPekaoPayment | react-native-tpay
                                                                                                    react-native-tpay
                                                                                                      Preparing search index...

                                                                                                      Class RatyPekaoPayment

                                                                                                      Class responsible for storing information about Raty Pekao payment

                                                                                                      -

                                                                                                      Hierarchy (View Summary)

                                                                                                      Index

                                                                                                      Constructors

                                                                                                      Hierarchy (View Summary)

                                                                                                      Index

                                                                                                      Constructors

                                                                                                      Properties

                                                                                                      callbacks: Callbacks
                                                                                                      channelId: number
                                                                                                      payer: Payer
                                                                                                      paymentDetails: PaymentDetails
                                                                                                      +
                                                                                                    • paymentDetails: PaymentDetails
                                                                                                    • payer: Payer
                                                                                                    • callbacks: Callbacks
                                                                                                    • Returns RatyPekaoPayment

                                                                                                      Properties

                                                                                                      callbacks: Callbacks
                                                                                                      channelId: number
                                                                                                      payer: Payer
                                                                                                      paymentDetails: PaymentDetails
                                                                                                      diff --git a/docs/classes/Recursive.html b/docs/classes/Recursive.html index 25c1fe0..496fd97 100644 --- a/docs/classes/Recursive.html +++ b/docs/classes/Recursive.html @@ -1,9 +1,9 @@ Recursive | react-native-tpay
                                                                                                      react-native-tpay
                                                                                                        Preparing search index...

                                                                                                        Class Recursive

                                                                                                        Class responsible for storing information about recurring payments

                                                                                                        -
                                                                                                        Index

                                                                                                        Constructors

                                                                                                        Index

                                                                                                        Constructors

                                                                                                        Properties

                                                                                                        Constructors

                                                                                                        • Parameters

                                                                                                          • frequency: Frequency

                                                                                                            how often payment should be repeated

                                                                                                          • quantity: number | null

                                                                                                            how many times payment should be repeated. If null, quantity = infinity

                                                                                                          • endDate: string

                                                                                                            date in yyyy-MM-dd format

                                                                                                            -

                                                                                                          Returns Recursive

                                                                                                        Properties

                                                                                                        endDate: string
                                                                                                        frequency: Frequency
                                                                                                        quantity: number | null
                                                                                                        +

                                                                                                        Returns Recursive

                                                                                                        Properties

                                                                                                        endDate: string
                                                                                                        frequency: Frequency
                                                                                                        quantity: number | null
                                                                                                        diff --git a/docs/classes/Redirects.html b/docs/classes/Redirects.html index 11dadf1..5516124 100644 --- a/docs/classes/Redirects.html +++ b/docs/classes/Redirects.html @@ -1,7 +1,7 @@ Redirects | react-native-tpay
                                                                                                        react-native-tpay
                                                                                                          Preparing search index...

                                                                                                          Class Redirects

                                                                                                          Class responsible for storing information about redirect urls

                                                                                                          -
                                                                                                          Index

                                                                                                          Constructors

                                                                                                          Index

                                                                                                          Constructors

                                                                                                          Properties

                                                                                                          Constructors

                                                                                                          • Parameters

                                                                                                            • successUrl: string

                                                                                                              payer will be redirected to this url after successful payment

                                                                                                            • errorUrl: string

                                                                                                              payer will be redirected to this url after unsuccessful payment

                                                                                                              -

                                                                                                            Returns Redirects

                                                                                                          Properties

                                                                                                          errorUrl: string
                                                                                                          successUrl: string
                                                                                                          +

                                                                                                          Returns Redirects

                                                                                                          Properties

                                                                                                          errorUrl: string
                                                                                                          successUrl: string
                                                                                                          diff --git a/docs/classes/Result.html b/docs/classes/Result.html index 0c9bd3d..c712c32 100644 --- a/docs/classes/Result.html +++ b/docs/classes/Result.html @@ -1,11 +1,11 @@ Result | react-native-tpay
                                                                                                          react-native-tpay
                                                                                                            Preparing search index...

                                                                                                            Class ResultAbstract

                                                                                                            Indicates a result of Tpay UI module action

                                                                                                            -

                                                                                                            Hierarchy (View Summary)

                                                                                                            Index

                                                                                                            Constructors

                                                                                                            Hierarchy (View Summary)

                                                                                                            Index

                                                                                                            Constructors

                                                                                                            Properties

                                                                                                            message?: string

                                                                                                            Optional error message or additional information

                                                                                                            -
                                                                                                            paymentUrl?: string

                                                                                                            Payment URL for continuation (used in screenless payments)

                                                                                                            -
                                                                                                            transactionId?: string | null

                                                                                                            Transaction ID when applicable

                                                                                                            -
                                                                                                            type: string

                                                                                                            Type identifier for the result

                                                                                                            -
                                                                                                            +
                                                                                                            paymentUrl?: string

                                                                                                            Payment URL for continuation (used in screenless payments)

                                                                                                            +
                                                                                                            transactionId?: string | null

                                                                                                            Transaction ID when applicable

                                                                                                            +
                                                                                                            type: string

                                                                                                            Type identifier for the result

                                                                                                            +
                                                                                                            diff --git a/docs/classes/ScreenlessBlikAmbiguousAlias.html b/docs/classes/ScreenlessBlikAmbiguousAlias.html index f4c9178..5e02f59 100644 --- a/docs/classes/ScreenlessBlikAmbiguousAlias.html +++ b/docs/classes/ScreenlessBlikAmbiguousAlias.html @@ -1,17 +1,17 @@ ScreenlessBlikAmbiguousAlias | react-native-tpay
                                                                                                            react-native-tpay
                                                                                                              Preparing search index...

                                                                                                              Class ScreenlessBlikAmbiguousAlias

                                                                                                              Indicates that payer has the same BLIK alias registered in more than one bank app. You need to display a list of aliases to user and then use AmbiguousBlikPayment to continue the payment.

                                                                                                              -

                                                                                                              Hierarchy (View Summary)

                                                                                                              Index

                                                                                                              Constructors

                                                                                                              Hierarchy (View Summary)

                                                                                                              Index

                                                                                                              Constructors

                                                                                                              Properties

                                                                                                              aliases: AmbiguousAlias[]

                                                                                                              Ambiguous aliases that need to be displayed to the user

                                                                                                              -
                                                                                                              error?: string | null

                                                                                                              Error message when applicable

                                                                                                              -
                                                                                                              message?: string

                                                                                                              Optional error message or additional information

                                                                                                              -
                                                                                                              paymentUrl?: string | null

                                                                                                              Payment URL for continuation when applicable

                                                                                                              -
                                                                                                              transactionId: string

                                                                                                              Transaction id of the created transaction

                                                                                                              -
                                                                                                              type: "ambiguousAlias" = 'ambiguousAlias'

                                                                                                              Type identifier for the result

                                                                                                              -
                                                                                                              +

                                                                                                              Constructors

                                                                                                              Properties

                                                                                                              aliases: AmbiguousAlias[]

                                                                                                              Ambiguous aliases that need to be displayed to the user

                                                                                                              +
                                                                                                              error?: string | null

                                                                                                              Error message when applicable

                                                                                                              +
                                                                                                              message?: string

                                                                                                              Optional error message or additional information

                                                                                                              +
                                                                                                              paymentUrl?: string | null

                                                                                                              Payment URL for continuation when applicable

                                                                                                              +
                                                                                                              transactionId: string

                                                                                                              Transaction id of the created transaction

                                                                                                              +
                                                                                                              type: "ambiguousAlias" = 'ambiguousAlias'

                                                                                                              Type identifier for the result

                                                                                                              +
                                                                                                              diff --git a/docs/classes/ScreenlessConfiguredPaymentFailed.html b/docs/classes/ScreenlessConfiguredPaymentFailed.html index 40defa6..764eb6e 100644 --- a/docs/classes/ScreenlessConfiguredPaymentFailed.html +++ b/docs/classes/ScreenlessConfiguredPaymentFailed.html @@ -3,17 +3,17 @@
                                                                                                            • credit card data or credit card token
                                                                                                            • BLIK code or BLIK alias
                                                                                                            • -

                                                                                                              Hierarchy (View Summary)

                                                                                                              Index

                                                                                                              Constructors

                                                                                                              Hierarchy (View Summary)

                                                                                                              Index

                                                                                                              Constructors

                                                                                                              Properties

                                                                                                              aliases?: AmbiguousAlias[]

                                                                                                              Ambiguous aliases for BLIK payments when applicable

                                                                                                              -
                                                                                                              error: string | null

                                                                                                              Optional error message

                                                                                                              -
                                                                                                              message?: string

                                                                                                              Optional error message or additional information

                                                                                                              -
                                                                                                              paymentUrl?: string | null

                                                                                                              Payment URL for continuation when applicable

                                                                                                              -
                                                                                                              transactionId: string

                                                                                                              Transaction id of the created transaction

                                                                                                              -
                                                                                                              type: "configuredPaymentFailed" = 'configuredPaymentFailed'

                                                                                                              Type identifier for the result

                                                                                                              -
                                                                                                              +

                                                                                                              Constructors

                                                                                                              Properties

                                                                                                              aliases?: AmbiguousAlias[]

                                                                                                              Ambiguous aliases for BLIK payments when applicable

                                                                                                              +
                                                                                                              error: string | null

                                                                                                              Optional error message

                                                                                                              +
                                                                                                              message?: string

                                                                                                              Optional error message or additional information

                                                                                                              +
                                                                                                              paymentUrl?: string | null

                                                                                                              Payment URL for continuation when applicable

                                                                                                              +
                                                                                                              transactionId: string

                                                                                                              Transaction id of the created transaction

                                                                                                              +
                                                                                                              type: "configuredPaymentFailed" = 'configuredPaymentFailed'

                                                                                                              Type identifier for the result

                                                                                                              +
                                                                                                              diff --git a/docs/classes/ScreenlessMethodCallError.html b/docs/classes/ScreenlessMethodCallError.html index 13a1668..67fdda2 100644 --- a/docs/classes/ScreenlessMethodCallError.html +++ b/docs/classes/ScreenlessMethodCallError.html @@ -1,15 +1,15 @@ ScreenlessMethodCallError | react-native-tpay
                                                                                                              react-native-tpay
                                                                                                                Preparing search index...

                                                                                                                Class ScreenlessMethodCallError

                                                                                                                Indicates a module error

                                                                                                                -

                                                                                                                Hierarchy (View Summary)

                                                                                                                Index

                                                                                                                Constructors

                                                                                                                Hierarchy (View Summary)

                                                                                                                Index

                                                                                                                Constructors

                                                                                                                Properties

                                                                                                                aliases?: AmbiguousAlias[]

                                                                                                                Ambiguous aliases for BLIK payments when applicable

                                                                                                                -
                                                                                                                error?: string | null

                                                                                                                Error message when applicable

                                                                                                                -
                                                                                                                message: string

                                                                                                                Error message

                                                                                                                -
                                                                                                                paymentUrl?: string | null

                                                                                                                Payment URL for continuation when applicable

                                                                                                                -
                                                                                                                transactionId?: string

                                                                                                                Transaction ID when applicable

                                                                                                                -
                                                                                                                type: "methodCallError" = 'methodCallError'

                                                                                                                Type identifier for the result

                                                                                                                -
                                                                                                                +

                                                                                                                Constructors

                                                                                                                Properties

                                                                                                                aliases?: AmbiguousAlias[]

                                                                                                                Ambiguous aliases for BLIK payments when applicable

                                                                                                                +
                                                                                                                error?: string | null

                                                                                                                Error message when applicable

                                                                                                                +
                                                                                                                message: string

                                                                                                                Error message

                                                                                                                +
                                                                                                                paymentUrl?: string | null

                                                                                                                Payment URL for continuation when applicable

                                                                                                                +
                                                                                                                transactionId?: string

                                                                                                                Transaction ID when applicable

                                                                                                                +
                                                                                                                type: "methodCallError" = 'methodCallError'

                                                                                                                Type identifier for the result

                                                                                                                +
                                                                                                                diff --git a/docs/classes/ScreenlessPaid.html b/docs/classes/ScreenlessPaid.html index 549e148..2c4157c 100644 --- a/docs/classes/ScreenlessPaid.html +++ b/docs/classes/ScreenlessPaid.html @@ -1,15 +1,15 @@ ScreenlessPaid | react-native-tpay
                                                                                                                react-native-tpay
                                                                                                                  Preparing search index...

                                                                                                                  Class ScreenlessPaid

                                                                                                                  Indicates that payment was completed successfully

                                                                                                                  -

                                                                                                                  Hierarchy (View Summary)

                                                                                                                  Index

                                                                                                                  Constructors

                                                                                                                  Hierarchy (View Summary)

                                                                                                                  Index

                                                                                                                  Constructors

                                                                                                                  Properties

                                                                                                                  aliases?: AmbiguousAlias[]

                                                                                                                  Ambiguous aliases for BLIK payments when applicable

                                                                                                                  -
                                                                                                                  error?: string | null

                                                                                                                  Error message when applicable

                                                                                                                  -
                                                                                                                  message?: string

                                                                                                                  Optional error message or additional information

                                                                                                                  -
                                                                                                                  paymentUrl?: string | null

                                                                                                                  Payment URL for continuation when applicable

                                                                                                                  -
                                                                                                                  transactionId: string

                                                                                                                  Transaction id of the completed transaction

                                                                                                                  -
                                                                                                                  type: "paid" = 'paid'

                                                                                                                  Type identifier for the result

                                                                                                                  -
                                                                                                                  +

                                                                                                                  Constructors

                                                                                                                  Properties

                                                                                                                  aliases?: AmbiguousAlias[]

                                                                                                                  Ambiguous aliases for BLIK payments when applicable

                                                                                                                  +
                                                                                                                  error?: string | null

                                                                                                                  Error message when applicable

                                                                                                                  +
                                                                                                                  message?: string

                                                                                                                  Optional error message or additional information

                                                                                                                  +
                                                                                                                  paymentUrl?: string | null

                                                                                                                  Payment URL for continuation when applicable

                                                                                                                  +
                                                                                                                  transactionId: string

                                                                                                                  Transaction id of the completed transaction

                                                                                                                  +
                                                                                                                  type: "paid" = 'paid'

                                                                                                                  Type identifier for the result

                                                                                                                  +
                                                                                                                  diff --git a/docs/classes/ScreenlessPayment.html b/docs/classes/ScreenlessPayment.html index f145432..a69a3aa 100644 --- a/docs/classes/ScreenlessPayment.html +++ b/docs/classes/ScreenlessPayment.html @@ -1,9 +1,9 @@ ScreenlessPayment | react-native-tpay
                                                                                                                  react-native-tpay
                                                                                                                    Preparing search index...

                                                                                                                    Class ScreenlessPayment

                                                                                                                    Class responsible for storing information about screenless payment details

                                                                                                                    -

                                                                                                                    Hierarchy (View Summary)

                                                                                                                    Index

                                                                                                                    Constructors

                                                                                                                    Hierarchy (View Summary)

                                                                                                                    Index

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    callbacks: Callbacks
                                                                                                                    payer: Payer
                                                                                                                    paymentDetails: PaymentDetails
                                                                                                                    +

                                                                                                                    Returns ScreenlessPayment

                                                                                                                    Properties

                                                                                                                    callbacks: Callbacks
                                                                                                                    payer: Payer
                                                                                                                    paymentDetails: PaymentDetails
                                                                                                                    diff --git a/docs/classes/ScreenlessPaymentCreated.html b/docs/classes/ScreenlessPaymentCreated.html index 87ceca9..ae32bae 100644 --- a/docs/classes/ScreenlessPaymentCreated.html +++ b/docs/classes/ScreenlessPaymentCreated.html @@ -4,17 +4,17 @@ If it was a BLIK payment user has to accept it in bank app. It is advised to use long polling mechanism to observe payment status via transactionId.

                                                                                                                    -

                                                                                                                    Hierarchy (View Summary)

                                                                                                                    Index

                                                                                                                    Constructors

                                                                                                                    Hierarchy (View Summary)

                                                                                                                    Index

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    aliases?: AmbiguousAlias[]

                                                                                                                    Ambiguous aliases for BLIK payments when applicable

                                                                                                                    -
                                                                                                                    error?: string | null

                                                                                                                    Error message when applicable

                                                                                                                    -
                                                                                                                    message?: string

                                                                                                                    Optional error message or additional information

                                                                                                                    -
                                                                                                                    paymentUrl: string | null

                                                                                                                    Payment url, needs to be displayed to the user to finish the payment

                                                                                                                    -
                                                                                                                    transactionId: string

                                                                                                                    Transaction id of the created transaction

                                                                                                                    -
                                                                                                                    type: "paymentCreated" = 'paymentCreated'

                                                                                                                    Type identifier for the result

                                                                                                                    -
                                                                                                                    +

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    aliases?: AmbiguousAlias[]

                                                                                                                    Ambiguous aliases for BLIK payments when applicable

                                                                                                                    +
                                                                                                                    error?: string | null

                                                                                                                    Error message when applicable

                                                                                                                    +
                                                                                                                    message?: string

                                                                                                                    Optional error message or additional information

                                                                                                                    +
                                                                                                                    paymentUrl: string | null

                                                                                                                    Payment url, needs to be displayed to the user to finish the payment

                                                                                                                    +
                                                                                                                    transactionId: string

                                                                                                                    Transaction id of the created transaction

                                                                                                                    +
                                                                                                                    type: "paymentCreated" = 'paymentCreated'

                                                                                                                    Type identifier for the result

                                                                                                                    +
                                                                                                                    diff --git a/docs/classes/ScreenlessPaymentError.html b/docs/classes/ScreenlessPaymentError.html index 810d4bc..e0fefba 100644 --- a/docs/classes/ScreenlessPaymentError.html +++ b/docs/classes/ScreenlessPaymentError.html @@ -1,15 +1,15 @@ ScreenlessPaymentError | react-native-tpay
                                                                                                                    react-native-tpay
                                                                                                                      Preparing search index...

                                                                                                                      Class ScreenlessPaymentError

                                                                                                                      Indicates that payment was not created because of an error

                                                                                                                      -

                                                                                                                      Hierarchy (View Summary)

                                                                                                                      Index

                                                                                                                      Constructors

                                                                                                                      Hierarchy (View Summary)

                                                                                                                      Index

                                                                                                                      Constructors

                                                                                                                      Properties

                                                                                                                      aliases?: AmbiguousAlias[]

                                                                                                                      Ambiguous aliases for BLIK payments when applicable

                                                                                                                      -
                                                                                                                      error: string | null

                                                                                                                      Optional error message

                                                                                                                      -
                                                                                                                      message?: string

                                                                                                                      Optional error message or additional information

                                                                                                                      -
                                                                                                                      paymentUrl?: string | null

                                                                                                                      Payment URL for continuation when applicable

                                                                                                                      -
                                                                                                                      transactionId?: string

                                                                                                                      Transaction ID when applicable

                                                                                                                      -
                                                                                                                      type: "error" = 'error'

                                                                                                                      Type identifier for the result

                                                                                                                      -
                                                                                                                      +

                                                                                                                      Constructors

                                                                                                                      Properties

                                                                                                                      aliases?: AmbiguousAlias[]

                                                                                                                      Ambiguous aliases for BLIK payments when applicable

                                                                                                                      +
                                                                                                                      error: string | null

                                                                                                                      Optional error message

                                                                                                                      +
                                                                                                                      message?: string

                                                                                                                      Optional error message or additional information

                                                                                                                      +
                                                                                                                      paymentUrl?: string | null

                                                                                                                      Payment URL for continuation when applicable

                                                                                                                      +
                                                                                                                      transactionId?: string

                                                                                                                      Transaction ID when applicable

                                                                                                                      +
                                                                                                                      type: "error" = 'error'

                                                                                                                      Type identifier for the result

                                                                                                                      +
                                                                                                                      diff --git a/docs/classes/ScreenlessResult.html b/docs/classes/ScreenlessResult.html index 9b10757..7cb8843 100644 --- a/docs/classes/ScreenlessResult.html +++ b/docs/classes/ScreenlessResult.html @@ -1,5 +1,5 @@ ScreenlessResult | react-native-tpay
                                                                                                                      react-native-tpay
                                                                                                                        Preparing search index...

                                                                                                                        Class ScreenlessResultAbstract

                                                                                                                        Indicates a result of screenless action

                                                                                                                        -

                                                                                                                        Hierarchy (View Summary)

                                                                                                                        Index

                                                                                                                        Constructors

                                                                                                                        Hierarchy (View Summary)

                                                                                                                        Index

                                                                                                                        Constructors

                                                                                                                        Properties

                                                                                                                        Constructors

                                                                                                                        Properties

                                                                                                                        aliases?: AmbiguousAlias[]

                                                                                                                        Ambiguous aliases for BLIK payments when applicable

                                                                                                                        -
                                                                                                                        error?: string | null

                                                                                                                        Error message when applicable

                                                                                                                        -
                                                                                                                        message?: string

                                                                                                                        Optional error message or additional information

                                                                                                                        -
                                                                                                                        paymentUrl?: string | null

                                                                                                                        Payment URL for continuation when applicable

                                                                                                                        -
                                                                                                                        transactionId?: string

                                                                                                                        Transaction ID when applicable

                                                                                                                        -
                                                                                                                        type: string

                                                                                                                        Type identifier for the result

                                                                                                                        -
                                                                                                                        +
                                                                                                                        error?: string | null

                                                                                                                        Error message when applicable

                                                                                                                        +
                                                                                                                        message?: string

                                                                                                                        Optional error message or additional information

                                                                                                                        +
                                                                                                                        paymentUrl?: string | null

                                                                                                                        Payment URL for continuation when applicable

                                                                                                                        +
                                                                                                                        transactionId?: string

                                                                                                                        Transaction ID when applicable

                                                                                                                        +
                                                                                                                        type: string

                                                                                                                        Type identifier for the result

                                                                                                                        +
                                                                                                                        diff --git a/docs/classes/ScreenlessValidationError.html b/docs/classes/ScreenlessValidationError.html index 31cd61f..55caa9c 100644 --- a/docs/classes/ScreenlessValidationError.html +++ b/docs/classes/ScreenlessValidationError.html @@ -1,15 +1,15 @@ ScreenlessValidationError | react-native-tpay
                                                                                                                        react-native-tpay
                                                                                                                          Preparing search index...

                                                                                                                          Class ScreenlessValidationError

                                                                                                                          Indicates that some data passed to payment is invalid

                                                                                                                          -

                                                                                                                          Hierarchy (View Summary)

                                                                                                                          Index

                                                                                                                          Constructors

                                                                                                                          Hierarchy (View Summary)

                                                                                                                          Index

                                                                                                                          Constructors

                                                                                                                          Properties

                                                                                                                          aliases?: AmbiguousAlias[]

                                                                                                                          Ambiguous aliases for BLIK payments when applicable

                                                                                                                          -
                                                                                                                          error?: string | null

                                                                                                                          Error message when applicable

                                                                                                                          -
                                                                                                                          message: string

                                                                                                                          Validation error message

                                                                                                                          -
                                                                                                                          paymentUrl?: string | null

                                                                                                                          Payment URL for continuation when applicable

                                                                                                                          -
                                                                                                                          transactionId?: string

                                                                                                                          Transaction ID when applicable

                                                                                                                          -
                                                                                                                          type: "validationError" = 'validationError'

                                                                                                                          Type identifier for the result

                                                                                                                          -
                                                                                                                          +

                                                                                                                          Constructors

                                                                                                                          Properties

                                                                                                                          aliases?: AmbiguousAlias[]

                                                                                                                          Ambiguous aliases for BLIK payments when applicable

                                                                                                                          +
                                                                                                                          error?: string | null

                                                                                                                          Error message when applicable

                                                                                                                          +
                                                                                                                          message: string

                                                                                                                          Validation error message

                                                                                                                          +
                                                                                                                          paymentUrl?: string | null

                                                                                                                          Payment URL for continuation when applicable

                                                                                                                          +
                                                                                                                          transactionId?: string

                                                                                                                          Transaction ID when applicable

                                                                                                                          +
                                                                                                                          type: "validationError" = 'validationError'

                                                                                                                          Type identifier for the result

                                                                                                                          +
                                                                                                                          diff --git a/docs/classes/SingleTransaction.html b/docs/classes/SingleTransaction.html index f08a453..9bdbeee 100644 --- a/docs/classes/SingleTransaction.html +++ b/docs/classes/SingleTransaction.html @@ -1,5 +1,5 @@ SingleTransaction | react-native-tpay
                                                                                                                          react-native-tpay
                                                                                                                            Preparing search index...

                                                                                                                            Class SingleTransaction

                                                                                                                            Class responsible for storing information about standard Tpay UI module payment

                                                                                                                            -

                                                                                                                            Hierarchy (View Summary)

                                                                                                                            Index

                                                                                                                            Constructors

                                                                                                                            Hierarchy (View Summary)

                                                                                                                            Index

                                                                                                                            Constructors

                                                                                                                            Properties

                                                                                                                          • description: string

                                                                                                                            description of payment shown to payer

                                                                                                                          • hiddenDescription: string | null

                                                                                                                            description of payment shown to merchant

                                                                                                                          • notifications: Notifications | null

                                                                                                                            payment notification url and email

                                                                                                                            -
                                                                                                                          • Returns SingleTransaction

                                                                                                                            Properties

                                                                                                                            amount: number
                                                                                                                            description: string
                                                                                                                            hiddenDescription: string | null
                                                                                                                            notifications: Notifications | null
                                                                                                                            payerContext: PayerContext
                                                                                                                            +

                                                                                                                            Returns SingleTransaction

                                                                                                                            Properties

                                                                                                                            amount: number
                                                                                                                            description: string
                                                                                                                            hiddenDescription: string | null
                                                                                                                            notifications: Notifications | null
                                                                                                                            payerContext: PayerContext
                                                                                                                            diff --git a/docs/classes/TokenPayment.html b/docs/classes/TokenPayment.html index e4bea72..4fb4e51 100644 --- a/docs/classes/TokenPayment.html +++ b/docs/classes/TokenPayment.html @@ -1,5 +1,5 @@ TokenPayment | react-native-tpay
                                                                                                                            react-native-tpay
                                                                                                                              Preparing search index...

                                                                                                                              Class TokenPayment

                                                                                                                              Class responsible for storing information about credit card token payment with Tpay UI module.

                                                                                                                              -

                                                                                                                              Hierarchy (View Summary)

                                                                                                                              Index

                                                                                                                              Constructors

                                                                                                                              Hierarchy (View Summary)

                                                                                                                              Index

                                                                                                                              Constructors

                                                                                                                              Properties

                                                                                                                              amount cardToken description @@ -12,4 +12,4 @@
                                                                                                                            • description: string

                                                                                                                              description of payment shown to payer

                                                                                                                            • hiddenDescription: string | null

                                                                                                                              description of payment shown to merchant

                                                                                                                            • notifications: Notifications | null

                                                                                                                              payment notification url and email

                                                                                                                              -
                                                                                                                            • Returns TokenPayment

                                                                                                                              Properties

                                                                                                                              amount: number
                                                                                                                              cardToken: string
                                                                                                                              description: string
                                                                                                                              hiddenDescription: string | null
                                                                                                                              notifications: Notifications | null
                                                                                                                              payer: Payer
                                                                                                                              +

                                                                                                                              Returns TokenPayment

                                                                                                                              Properties

                                                                                                                              amount: number
                                                                                                                              cardToken: string
                                                                                                                              description: string
                                                                                                                              hiddenDescription: string | null
                                                                                                                              notifications: Notifications | null
                                                                                                                              payer: Payer
                                                                                                                              diff --git a/docs/classes/Tokenization.html b/docs/classes/Tokenization.html index 36f9215..9f02a93 100644 --- a/docs/classes/Tokenization.html +++ b/docs/classes/Tokenization.html @@ -1,7 +1,7 @@ Tokenization | react-native-tpay
                                                                                                                              react-native-tpay
                                                                                                                                Preparing search index...

                                                                                                                                Class Tokenization

                                                                                                                                Class responsible for storing information needed to start UI tokenization.

                                                                                                                                -
                                                                                                                                Index

                                                                                                                                Constructors

                                                                                                                                Index

                                                                                                                                Constructors

                                                                                                                                Properties

                                                                                                                                Constructors

                                                                                                                                Properties

                                                                                                                                notificationUrl: string
                                                                                                                                payer: Payer
                                                                                                                                +

                                                                                                                                Returns Tokenization

                                                                                                                                Properties

                                                                                                                                notificationUrl: string
                                                                                                                                payer: Payer
                                                                                                                                diff --git a/docs/classes/TokenizationCompleted.html b/docs/classes/TokenizationCompleted.html index f9f5deb..4ca283d 100644 --- a/docs/classes/TokenizationCompleted.html +++ b/docs/classes/TokenizationCompleted.html @@ -1,11 +1,11 @@ TokenizationCompleted | react-native-tpay
                                                                                                                                react-native-tpay
                                                                                                                                  Preparing search index...

                                                                                                                                  Class TokenizationCompleted

                                                                                                                                  Indicates that credit card tokenization was successful and module was closed

                                                                                                                                  -

                                                                                                                                  Hierarchy (View Summary)

                                                                                                                                  Index

                                                                                                                                  Constructors

                                                                                                                                  Hierarchy (View Summary)

                                                                                                                                  Index

                                                                                                                                  Constructors

                                                                                                                                  Properties

                                                                                                                                  message?: string

                                                                                                                                  Optional error message or additional information

                                                                                                                                  -
                                                                                                                                  paymentUrl?: string

                                                                                                                                  Payment URL for continuation (used in screenless payments)

                                                                                                                                  -
                                                                                                                                  transactionId?: string | null

                                                                                                                                  Transaction ID when applicable

                                                                                                                                  -
                                                                                                                                  type: "tokenizationCompleted" = 'tokenizationCompleted'

                                                                                                                                  Type identifier for the result

                                                                                                                                  -
                                                                                                                                  +
                                                                                                                                  paymentUrl?: string

                                                                                                                                  Payment URL for continuation (used in screenless payments)

                                                                                                                                  +
                                                                                                                                  transactionId?: string | null

                                                                                                                                  Transaction ID when applicable

                                                                                                                                  +
                                                                                                                                  type: "tokenizationCompleted" = 'tokenizationCompleted'

                                                                                                                                  Type identifier for the result

                                                                                                                                  +
                                                                                                                                  diff --git a/docs/classes/TokenizationFailure.html b/docs/classes/TokenizationFailure.html index 9eaf7d3..099b805 100644 --- a/docs/classes/TokenizationFailure.html +++ b/docs/classes/TokenizationFailure.html @@ -1,11 +1,11 @@ TokenizationFailure | react-native-tpay
                                                                                                                                  react-native-tpay
                                                                                                                                    Preparing search index...

                                                                                                                                    Class TokenizationFailure

                                                                                                                                    Indicates that credit card tokenization failed and module was closed

                                                                                                                                    -

                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                    Index

                                                                                                                                    Constructors

                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                    Index

                                                                                                                                    Constructors

                                                                                                                                    Properties

                                                                                                                                    message?: string

                                                                                                                                    Optional error message or additional information

                                                                                                                                    -
                                                                                                                                    paymentUrl?: string

                                                                                                                                    Payment URL for continuation (used in screenless payments)

                                                                                                                                    -
                                                                                                                                    transactionId?: string | null

                                                                                                                                    Transaction ID when applicable

                                                                                                                                    -
                                                                                                                                    type: "tokenizationFailure" = 'tokenizationFailure'

                                                                                                                                    Type identifier for the result

                                                                                                                                    -
                                                                                                                                    +
                                                                                                                                    paymentUrl?: string

                                                                                                                                    Payment URL for continuation (used in screenless payments)

                                                                                                                                    +
                                                                                                                                    transactionId?: string | null

                                                                                                                                    Transaction ID when applicable

                                                                                                                                    +
                                                                                                                                    type: "tokenizationFailure" = 'tokenizationFailure'

                                                                                                                                    Type identifier for the result

                                                                                                                                    +
                                                                                                                                    diff --git a/docs/classes/TokenizedCard.html b/docs/classes/TokenizedCard.html index 7d72654..59f5e44 100644 --- a/docs/classes/TokenizedCard.html +++ b/docs/classes/TokenizedCard.html @@ -1,9 +1,9 @@ TokenizedCard | react-native-tpay
                                                                                                                                    react-native-tpay
                                                                                                                                      Preparing search index...

                                                                                                                                      Class TokenizedCard

                                                                                                                                      Class responsible for storing tokenized card information

                                                                                                                                      -
                                                                                                                                      Index

                                                                                                                                      Constructors

                                                                                                                                      Index

                                                                                                                                      Constructors

                                                                                                                                      Properties

                                                                                                                                      Constructors

                                                                                                                                      Properties

                                                                                                                                      cardTail: string
                                                                                                                                      token: string
                                                                                                                                      +

                                                                                                                                      Returns TokenizedCard

                                                                                                                                      Properties

                                                                                                                                      cardTail: string
                                                                                                                                      token: string
                                                                                                                                      diff --git a/docs/classes/TpayConfiguration.html b/docs/classes/TpayConfiguration.html index a9ea341..85ad583 100644 --- a/docs/classes/TpayConfiguration.html +++ b/docs/classes/TpayConfiguration.html @@ -1,5 +1,5 @@ TpayConfiguration | react-native-tpay
                                                                                                                                      react-native-tpay
                                                                                                                                        Preparing search index...

                                                                                                                                        Class TpayConfiguration

                                                                                                                                        Class responsible for storing information about Tpay configuration

                                                                                                                                        -
                                                                                                                                        Index

                                                                                                                                        Constructors

                                                                                                                                        Index

                                                                                                                                        Constructors

                                                                                                                                        Properties

                                                                                                                                      • merchantDetails: MerchantDetails

                                                                                                                                        information about merchant in different languages

                                                                                                                                      • languages: Languages

                                                                                                                                        languages that user will be able to use in Tpay UI module

                                                                                                                                      • paymentMethods: PaymentMethods

                                                                                                                                        payment methods that user will be able to use in Tpay UI module

                                                                                                                                        -
                                                                                                                                      • Returns TpayConfiguration

                                                                                                                                        Properties

                                                                                                                                        languages: Languages
                                                                                                                                        merchant: Merchant
                                                                                                                                        merchantDetails: MerchantDetails
                                                                                                                                        paymentMethods: PaymentMethods
                                                                                                                                        +

                                                                                                                                        Returns TpayConfiguration

                                                                                                                                        Properties

                                                                                                                                        languages: Languages
                                                                                                                                        merchant: Merchant
                                                                                                                                        merchantDetails: MerchantDetails
                                                                                                                                        paymentMethods: PaymentMethods
                                                                                                                                        diff --git a/docs/classes/Transaction.html b/docs/classes/Transaction.html index 4cf3ea0..aee0b37 100644 --- a/docs/classes/Transaction.html +++ b/docs/classes/Transaction.html @@ -1,5 +1,5 @@ Transaction | react-native-tpay
                                                                                                                                        react-native-tpay
                                                                                                                                          Preparing search index...

                                                                                                                                          Class Transaction

                                                                                                                                          Class responsible for storing information about UI module transaction

                                                                                                                                          -

                                                                                                                                          Hierarchy (View Summary)

                                                                                                                                          Index

                                                                                                                                          Constructors

                                                                                                                                          Hierarchy (View Summary)

                                                                                                                                          Index

                                                                                                                                          Constructors

                                                                                                                                          Properties

                                                                                                                                        • description: string

                                                                                                                                          description of payment shown to payer

                                                                                                                                        • hiddenDescription: string | null

                                                                                                                                          description of payment shown to merchant

                                                                                                                                        • notifications: Notifications | null

                                                                                                                                          payment notification url and email

                                                                                                                                          -
                                                                                                                                        • Returns Transaction

                                                                                                                                          Properties

                                                                                                                                          amount: number
                                                                                                                                          description: string
                                                                                                                                          hiddenDescription: string | null
                                                                                                                                          notifications: Notifications | null
                                                                                                                                          +

                                                                                                                                          Returns Transaction

                                                                                                                                          Properties

                                                                                                                                          amount: number
                                                                                                                                          description: string
                                                                                                                                          hiddenDescription: string | null
                                                                                                                                          notifications: Notifications | null
                                                                                                                                          diff --git a/docs/classes/TransferPayment.html b/docs/classes/TransferPayment.html index dfcab12..f4fafd7 100644 --- a/docs/classes/TransferPayment.html +++ b/docs/classes/TransferPayment.html @@ -1,8 +1,8 @@ TransferPayment | react-native-tpay
                                                                                                                                          react-native-tpay
                                                                                                                                            Preparing search index...

                                                                                                                                            Class TransferPayment

                                                                                                                                            Class responsible for storing information about transfer payment

                                                                                                                                            -

                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                            Index

                                                                                                                                            Constructors

                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                            Index

                                                                                                                                            Constructors

                                                                                                                                            Properties

                                                                                                                                            callbacks: Callbacks
                                                                                                                                            channelId: number
                                                                                                                                            payer: Payer
                                                                                                                                            paymentDetails: PaymentDetails
                                                                                                                                            +
                                                                                                                                          • paymentDetails: PaymentDetails
                                                                                                                                          • payer: Payer
                                                                                                                                          • callbacks: Callbacks
                                                                                                                                          • Returns TransferPayment

                                                                                                                                            Properties

                                                                                                                                            callbacks: Callbacks
                                                                                                                                            channelId: number
                                                                                                                                            payer: Payer
                                                                                                                                            paymentDetails: PaymentDetails
                                                                                                                                            diff --git a/docs/classes/ValidationError.html b/docs/classes/ValidationError.html index b3b77b5..5206ca0 100644 --- a/docs/classes/ValidationError.html +++ b/docs/classes/ValidationError.html @@ -1,11 +1,11 @@ ValidationError | react-native-tpay
                                                                                                                                            react-native-tpay
                                                                                                                                              Preparing search index...

                                                                                                                                              Class ValidationError

                                                                                                                                              Indicates that some data passed to module is invalid

                                                                                                                                              -

                                                                                                                                              Hierarchy (View Summary)

                                                                                                                                              Index

                                                                                                                                              Constructors

                                                                                                                                              Hierarchy (View Summary)

                                                                                                                                              Index

                                                                                                                                              Constructors

                                                                                                                                              Properties

                                                                                                                                              message: string

                                                                                                                                              Validation error message

                                                                                                                                              -
                                                                                                                                              paymentUrl?: string

                                                                                                                                              Payment URL for continuation (used in screenless payments)

                                                                                                                                              -
                                                                                                                                              transactionId?: string | null

                                                                                                                                              Transaction ID when applicable

                                                                                                                                              -
                                                                                                                                              type: "validationError" = 'validationError'

                                                                                                                                              Type identifier for the result

                                                                                                                                              -
                                                                                                                                              +

                                                                                                                                              Constructors

                                                                                                                                              Properties

                                                                                                                                              message: string

                                                                                                                                              Validation error message

                                                                                                                                              +
                                                                                                                                              paymentUrl?: string

                                                                                                                                              Payment URL for continuation (used in screenless payments)

                                                                                                                                              +
                                                                                                                                              transactionId?: string | null

                                                                                                                                              Transaction ID when applicable

                                                                                                                                              +
                                                                                                                                              type: "validationError" = 'validationError'

                                                                                                                                              Type identifier for the result

                                                                                                                                              +
                                                                                                                                              diff --git a/docs/classes/WalletConfiguration.html b/docs/classes/WalletConfiguration.html index f691165..7eb6e6b 100644 --- a/docs/classes/WalletConfiguration.html +++ b/docs/classes/WalletConfiguration.html @@ -1,7 +1,7 @@ WalletConfiguration | react-native-tpay
                                                                                                                                              react-native-tpay
                                                                                                                                                Preparing search index...

                                                                                                                                                Class WalletConfiguration

                                                                                                                                                Class responsible for storing wallet configuration

                                                                                                                                                -
                                                                                                                                                Index

                                                                                                                                                Constructors

                                                                                                                                                Index

                                                                                                                                                Constructors

                                                                                                                                                Properties

                                                                                                                                                Constructors

                                                                                                                                                Properties

                                                                                                                                                applePay: ApplePayConfiguration | null
                                                                                                                                                googlePay: GooglePayConfiguration | null
                                                                                                                                                +

                                                                                                                                                Returns WalletConfiguration

                                                                                                                                                Properties

                                                                                                                                                applePay: ApplePayConfiguration | null
                                                                                                                                                googlePay: GooglePayConfiguration | null
                                                                                                                                                diff --git a/docs/enums/CreditCardBrand.html b/docs/enums/CreditCardBrand.html index 64a6a1e..1a364d0 100644 --- a/docs/enums/CreditCardBrand.html +++ b/docs/enums/CreditCardBrand.html @@ -1,5 +1,5 @@ CreditCardBrand | react-native-tpay
                                                                                                                                                react-native-tpay
                                                                                                                                                  Preparing search index...

                                                                                                                                                  Enumeration CreditCardBrand

                                                                                                                                                  Enum describing possible credit card brands

                                                                                                                                                  -
                                                                                                                                                  Index

                                                                                                                                                  Enumeration Members

                                                                                                                                                  Index

                                                                                                                                                  Enumeration Members

                                                                                                                                                  Enumeration Members

                                                                                                                                                  mastercard: "mastercard"
                                                                                                                                                  unknown: "unknown"
                                                                                                                                                  visa: "visa"
                                                                                                                                                  +

                                                                                                                                                  Enumeration Members

                                                                                                                                                  mastercard: "mastercard"
                                                                                                                                                  unknown: "unknown"
                                                                                                                                                  visa: "visa"
                                                                                                                                                  diff --git a/docs/enums/DigitalWallet.html b/docs/enums/DigitalWallet.html index 83bb39f..2108862 100644 --- a/docs/enums/DigitalWallet.html +++ b/docs/enums/DigitalWallet.html @@ -1,4 +1,4 @@ DigitalWallet | react-native-tpay
                                                                                                                                                  react-native-tpay
                                                                                                                                                    Preparing search index...

                                                                                                                                                    Enumeration DigitalWallet

                                                                                                                                                    Enum describing possible digital wallets

                                                                                                                                                    -
                                                                                                                                                    Index

                                                                                                                                                    Enumeration Members

                                                                                                                                                    Index

                                                                                                                                                    Enumeration Members

                                                                                                                                                    Enumeration Members

                                                                                                                                                    applePay: "applePay"
                                                                                                                                                    googlePay: "googlePay"
                                                                                                                                                    +

                                                                                                                                                    Enumeration Members

                                                                                                                                                    applePay: "applePay"
                                                                                                                                                    googlePay: "googlePay"
                                                                                                                                                    diff --git a/docs/enums/Frequency.html b/docs/enums/Frequency.html index 7339d09..eed1110 100644 --- a/docs/enums/Frequency.html +++ b/docs/enums/Frequency.html @@ -1,7 +1,7 @@ Frequency | react-native-tpay
                                                                                                                                                    react-native-tpay
                                                                                                                                                      Preparing search index...

                                                                                                                                                      Enumeration Frequency

                                                                                                                                                      Enum describing the frequency options

                                                                                                                                                      -
                                                                                                                                                      Index

                                                                                                                                                      Enumeration Members

                                                                                                                                                      Index

                                                                                                                                                      Enumeration Members

                                                                                                                                                      Enumeration Members

                                                                                                                                                      daily: "daily"
                                                                                                                                                      monthly: "monthly"
                                                                                                                                                      quarterly: "quarterly"
                                                                                                                                                      weekly: "weekly"
                                                                                                                                                      yearly: "yearly"
                                                                                                                                                      +

                                                                                                                                                      Enumeration Members

                                                                                                                                                      daily: "daily"
                                                                                                                                                      monthly: "monthly"
                                                                                                                                                      quarterly: "quarterly"
                                                                                                                                                      weekly: "weekly"
                                                                                                                                                      yearly: "yearly"
                                                                                                                                                      diff --git a/docs/enums/GooglePayEnvironment.html b/docs/enums/GooglePayEnvironment.html index 99d4a9a..a2af9da 100644 --- a/docs/enums/GooglePayEnvironment.html +++ b/docs/enums/GooglePayEnvironment.html @@ -1,4 +1,4 @@ GooglePayEnvironment | react-native-tpay
                                                                                                                                                      react-native-tpay
                                                                                                                                                        Preparing search index...

                                                                                                                                                        Enumeration GooglePayEnvironment

                                                                                                                                                        Enum describing Google Pay environment options

                                                                                                                                                        -
                                                                                                                                                        Index

                                                                                                                                                        Enumeration Members

                                                                                                                                                        Index

                                                                                                                                                        Enumeration Members

                                                                                                                                                        Enumeration Members

                                                                                                                                                        production: "production"
                                                                                                                                                        test: "test"
                                                                                                                                                        +

                                                                                                                                                        Enumeration Members

                                                                                                                                                        production: "production"
                                                                                                                                                        test: "test"
                                                                                                                                                        diff --git a/docs/enums/InstallmentPayment.html b/docs/enums/InstallmentPayment.html index 629903d..966b38a 100644 --- a/docs/enums/InstallmentPayment.html +++ b/docs/enums/InstallmentPayment.html @@ -1,4 +1,4 @@ InstallmentPayment | react-native-tpay
                                                                                                                                                        react-native-tpay
                                                                                                                                                          Preparing search index...

                                                                                                                                                          Enumeration InstallmentPayment

                                                                                                                                                          Enum describing possible installment payments

                                                                                                                                                          -
                                                                                                                                                          Index

                                                                                                                                                          Enumeration Members

                                                                                                                                                          Index

                                                                                                                                                          Enumeration Members

                                                                                                                                                          Enumeration Members

                                                                                                                                                          payPo: "payPo"
                                                                                                                                                          ratyPekao: "ratyPekao"
                                                                                                                                                          +

                                                                                                                                                          Enumeration Members

                                                                                                                                                          payPo: "payPo"
                                                                                                                                                          ratyPekao: "ratyPekao"
                                                                                                                                                          diff --git a/docs/enums/Language.html b/docs/enums/Language.html index 060c8d7..f77af73 100644 --- a/docs/enums/Language.html +++ b/docs/enums/Language.html @@ -1,3 +1,3 @@ -Language | react-native-tpay
                                                                                                                                                          react-native-tpay
                                                                                                                                                            Preparing search index...

                                                                                                                                                            Enumeration Language

                                                                                                                                                            Index

                                                                                                                                                            Enumeration Members

                                                                                                                                                            en +Language | react-native-tpay
                                                                                                                                                            react-native-tpay
                                                                                                                                                              Preparing search index...

                                                                                                                                                              Enumeration Language

                                                                                                                                                              Index

                                                                                                                                                              Enumeration Members

                                                                                                                                                              en pl -

                                                                                                                                                              Enumeration Members

                                                                                                                                                              en: "en"
                                                                                                                                                              pl: "pl"
                                                                                                                                                              +

                                                                                                                                                              Enumeration Members

                                                                                                                                                              en: "en"
                                                                                                                                                              pl: "pl"
                                                                                                                                                              diff --git a/docs/enums/PaymentConstraintType.html b/docs/enums/PaymentConstraintType.html index 62b3a86..2c277fd 100644 --- a/docs/enums/PaymentConstraintType.html +++ b/docs/enums/PaymentConstraintType.html @@ -1,3 +1,3 @@ PaymentConstraintType | react-native-tpay
                                                                                                                                                              react-native-tpay
                                                                                                                                                                Preparing search index...

                                                                                                                                                                Enumeration PaymentConstraintType

                                                                                                                                                                Enum describing available payment constraint types

                                                                                                                                                                -
                                                                                                                                                                Index

                                                                                                                                                                Enumeration Members

                                                                                                                                                                Enumeration Members

                                                                                                                                                                amount: "amount"
                                                                                                                                                                +
                                                                                                                                                                Index

                                                                                                                                                                Enumeration Members

                                                                                                                                                                Enumeration Members

                                                                                                                                                                amount: "amount"
                                                                                                                                                                diff --git a/docs/enums/PaymentMethod.html b/docs/enums/PaymentMethod.html index e170614..58dbd89 100644 --- a/docs/enums/PaymentMethod.html +++ b/docs/enums/PaymentMethod.html @@ -1,5 +1,5 @@ PaymentMethod | react-native-tpay
                                                                                                                                                                react-native-tpay
                                                                                                                                                                  Preparing search index...

                                                                                                                                                                  Enumeration PaymentMethod

                                                                                                                                                                  Enum describing possible payment methods

                                                                                                                                                                  -
                                                                                                                                                                  Index

                                                                                                                                                                  Enumeration Members

                                                                                                                                                                  Index

                                                                                                                                                                  Enumeration Members

                                                                                                                                                                  Enumeration Members

                                                                                                                                                                  blik: "blik"
                                                                                                                                                                  card: "card"
                                                                                                                                                                  transfer: "transfer"
                                                                                                                                                                  +

                                                                                                                                                                  Enumeration Members

                                                                                                                                                                  blik: "blik"
                                                                                                                                                                  card: "card"
                                                                                                                                                                  transfer: "transfer"
                                                                                                                                                                  diff --git a/docs/enums/TpayEnvironment.html b/docs/enums/TpayEnvironment.html index 56b3895..dbbbaf5 100644 --- a/docs/enums/TpayEnvironment.html +++ b/docs/enums/TpayEnvironment.html @@ -1,3 +1,3 @@ -TpayEnvironment | react-native-tpay
                                                                                                                                                                  react-native-tpay
                                                                                                                                                                    Preparing search index...

                                                                                                                                                                    Enumeration TpayEnvironment

                                                                                                                                                                    Index

                                                                                                                                                                    Enumeration Members

                                                                                                                                                                    production +TpayEnvironment | react-native-tpay
                                                                                                                                                                    react-native-tpay
                                                                                                                                                                      Preparing search index...

                                                                                                                                                                      Enumeration TpayEnvironment

                                                                                                                                                                      Index

                                                                                                                                                                      Enumeration Members

                                                                                                                                                                      Enumeration Members

                                                                                                                                                                      production: "production"
                                                                                                                                                                      sandbox: "sandbox"
                                                                                                                                                                      +

                                                                                                                                                                      Enumeration Members

                                                                                                                                                                      production: "production"
                                                                                                                                                                      sandbox: "sandbox"
                                                                                                                                                                      diff --git a/docs/functions/TpayButton.html b/docs/functions/TpayButton.html index d46b671..ddd5d6e 100644 --- a/docs/functions/TpayButton.html +++ b/docs/functions/TpayButton.html @@ -1 +1 @@ -TpayButton | react-native-tpay
                                                                                                                                                                      react-native-tpay
                                                                                                                                                                        Preparing search index...

                                                                                                                                                                        Function TpayButton

                                                                                                                                                                        +TpayButton | react-native-tpay
                                                                                                                                                                        react-native-tpay
                                                                                                                                                                          Preparing search index...

                                                                                                                                                                          Function TpayButton

                                                                                                                                                                          diff --git a/docs/functions/configure.html b/docs/functions/configure.html index 6a955e4..d6284f1 100644 --- a/docs/functions/configure.html +++ b/docs/functions/configure.html @@ -1,3 +1,3 @@ configure | react-native-tpay
                                                                                                                                                                          react-native-tpay
                                                                                                                                                                            Preparing search index...

                                                                                                                                                                            Function configure

                                                                                                                                                                            +
                                                                                                                                                                            diff --git a/docs/functions/configureGooglePayUtils.html b/docs/functions/configureGooglePayUtils.html index ef02bc5..38c1d36 100644 --- a/docs/functions/configureGooglePayUtils.html +++ b/docs/functions/configureGooglePayUtils.html @@ -1,4 +1,4 @@ configureGooglePayUtils | react-native-tpay
                                                                                                                                                                            react-native-tpay
                                                                                                                                                                              Preparing search index...

                                                                                                                                                                              Function configureGooglePayUtils

                                                                                                                                                                              +

                                                                                                                                                                              Parameters

                                                                                                                                                                              Returns Promise<GooglePayConfigureResult>

                                                                                                                                                                              diff --git a/docs/functions/getAvailablePaymentChannels.html b/docs/functions/getAvailablePaymentChannels.html index 77d7eca..b9e0ad0 100644 --- a/docs/functions/getAvailablePaymentChannels.html +++ b/docs/functions/getAvailablePaymentChannels.html @@ -1,2 +1,2 @@ getAvailablePaymentChannels | react-native-tpay
                                                                                                                                                                              react-native-tpay
                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                Function getAvailablePaymentChannels

                                                                                                                                                                                +

                                                                                                                                                                                Returns Promise<PaymentChannelsResult>

                                                                                                                                                                                diff --git a/docs/functions/isGooglePayAvailable.html b/docs/functions/isGooglePayAvailable.html index 72112be..d5b6536 100644 --- a/docs/functions/isGooglePayAvailable.html +++ b/docs/functions/isGooglePayAvailable.html @@ -1,4 +1,4 @@ isGooglePayAvailable | react-native-tpay
                                                                                                                                                                                react-native-tpay
                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                  Function isGooglePayAvailable

                                                                                                                                                                                  • Method used to check if Google Pay is available

                                                                                                                                                                                    Android only

                                                                                                                                                                                    Returns Promise<Boolean>

                                                                                                                                                                                    true if Google Pay is available on the device

                                                                                                                                                                                    -
                                                                                                                                                                                  +
                                                                                                                                                                                  diff --git a/docs/functions/openGooglePay.html b/docs/functions/openGooglePay.html index eecd9af..fe658d6 100644 --- a/docs/functions/openGooglePay.html +++ b/docs/functions/openGooglePay.html @@ -1,4 +1,4 @@ openGooglePay | react-native-tpay
                                                                                                                                                                                  react-native-tpay
                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                    Function openGooglePay

                                                                                                                                                                                    +
                                                                                                                                                                                    diff --git a/docs/functions/screenlessAmbiguousBLIKPayment.html b/docs/functions/screenlessAmbiguousBLIKPayment.html index d0fcfd8..d4f6b66 100644 --- a/docs/functions/screenlessAmbiguousBLIKPayment.html +++ b/docs/functions/screenlessAmbiguousBLIKPayment.html @@ -1,2 +1,2 @@ screenlessAmbiguousBLIKPayment | react-native-tpay
                                                                                                                                                                                    react-native-tpay
                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                      Function screenlessAmbiguousBLIKPayment

                                                                                                                                                                                      +

                                                                                                                                                                                      Parameters

                                                                                                                                                                                      Returns Promise<ScreenlessResult>

                                                                                                                                                                                      diff --git a/docs/functions/screenlessApplePayPayment.html b/docs/functions/screenlessApplePayPayment.html index ebcb767..5f066de 100644 --- a/docs/functions/screenlessApplePayPayment.html +++ b/docs/functions/screenlessApplePayPayment.html @@ -1,2 +1,2 @@ screenlessApplePayPayment | react-native-tpay
                                                                                                                                                                                      react-native-tpay
                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                        Function screenlessApplePayPayment

                                                                                                                                                                                        +

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        Returns Promise<ScreenlessResult>

                                                                                                                                                                                        diff --git a/docs/functions/screenlessBLIKPayment.html b/docs/functions/screenlessBLIKPayment.html index 3d71fe3..e29d4b4 100644 --- a/docs/functions/screenlessBLIKPayment.html +++ b/docs/functions/screenlessBLIKPayment.html @@ -1,2 +1,2 @@ screenlessBLIKPayment | react-native-tpay
                                                                                                                                                                                        react-native-tpay
                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                          Function screenlessBLIKPayment

                                                                                                                                                                                          +

                                                                                                                                                                                          Parameters

                                                                                                                                                                                          Returns Promise<ScreenlessResult>

                                                                                                                                                                                          diff --git a/docs/functions/screenlessCreditCardPayment.html b/docs/functions/screenlessCreditCardPayment.html index 65ec234..eaa3071 100644 --- a/docs/functions/screenlessCreditCardPayment.html +++ b/docs/functions/screenlessCreditCardPayment.html @@ -1,2 +1,2 @@ screenlessCreditCardPayment | react-native-tpay
                                                                                                                                                                                          react-native-tpay
                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                            Function screenlessCreditCardPayment

                                                                                                                                                                                            +

                                                                                                                                                                                            Parameters

                                                                                                                                                                                            Returns Promise<ScreenlessResult>

                                                                                                                                                                                            diff --git a/docs/functions/screenlessGooglePayPayment.html b/docs/functions/screenlessGooglePayPayment.html index b4d2385..e8e6417 100644 --- a/docs/functions/screenlessGooglePayPayment.html +++ b/docs/functions/screenlessGooglePayPayment.html @@ -1,2 +1,2 @@ screenlessGooglePayPayment | react-native-tpay
                                                                                                                                                                                            react-native-tpay
                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                              Function screenlessGooglePayPayment

                                                                                                                                                                                              +

                                                                                                                                                                                              Parameters

                                                                                                                                                                                              Returns Promise<ScreenlessResult>

                                                                                                                                                                                              diff --git a/docs/functions/screenlessPayPoPayment.html b/docs/functions/screenlessPayPoPayment.html index f981d0e..d756579 100644 --- a/docs/functions/screenlessPayPoPayment.html +++ b/docs/functions/screenlessPayPoPayment.html @@ -1,2 +1,2 @@ screenlessPayPoPayment | react-native-tpay
                                                                                                                                                                                              react-native-tpay
                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                Function screenlessPayPoPayment

                                                                                                                                                                                                +

                                                                                                                                                                                                Parameters

                                                                                                                                                                                                Returns Promise<ScreenlessResult>

                                                                                                                                                                                                diff --git a/docs/functions/screenlessRatyPekaoPayment.html b/docs/functions/screenlessRatyPekaoPayment.html index 6ca16ad..e66dfd1 100644 --- a/docs/functions/screenlessRatyPekaoPayment.html +++ b/docs/functions/screenlessRatyPekaoPayment.html @@ -1,2 +1,2 @@ screenlessRatyPekaoPayment | react-native-tpay
                                                                                                                                                                                                react-native-tpay
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                  Function screenlessRatyPekaoPayment

                                                                                                                                                                                                  +

                                                                                                                                                                                                  Parameters

                                                                                                                                                                                                  Returns Promise<ScreenlessResult>

                                                                                                                                                                                                  diff --git a/docs/functions/screenlessTransferPayment.html b/docs/functions/screenlessTransferPayment.html index 7a750ba..19b904f 100644 --- a/docs/functions/screenlessTransferPayment.html +++ b/docs/functions/screenlessTransferPayment.html @@ -1,2 +1,2 @@ screenlessTransferPayment | react-native-tpay
                                                                                                                                                                                                  react-native-tpay
                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                    Function screenlessTransferPayment

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                    Returns Promise<ScreenlessResult>

                                                                                                                                                                                                    diff --git a/docs/functions/startCardTokenPayment.html b/docs/functions/startCardTokenPayment.html index aafea6d..4169e5f 100644 --- a/docs/functions/startCardTokenPayment.html +++ b/docs/functions/startCardTokenPayment.html @@ -1,2 +1,2 @@ startCardTokenPayment | react-native-tpay
                                                                                                                                                                                                    react-native-tpay
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Function startCardTokenPayment

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                      Returns Promise<Result>

                                                                                                                                                                                                      diff --git a/docs/functions/startPayment.html b/docs/functions/startPayment.html index 5be12dd..3ac27f9 100644 --- a/docs/functions/startPayment.html +++ b/docs/functions/startPayment.html @@ -1,2 +1,2 @@ startPayment | react-native-tpay
                                                                                                                                                                                                      react-native-tpay
                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                        Function startPayment

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                        Returns Promise<Result>

                                                                                                                                                                                                        diff --git a/docs/functions/tokenizeCard.html b/docs/functions/tokenizeCard.html index 856f275..81ca0ff 100644 --- a/docs/functions/tokenizeCard.html +++ b/docs/functions/tokenizeCard.html @@ -1,2 +1,2 @@ tokenizeCard | react-native-tpay
                                                                                                                                                                                                        react-native-tpay
                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                          Function tokenizeCard

                                                                                                                                                                                                          +

                                                                                                                                                                                                          Parameters

                                                                                                                                                                                                          Returns Promise<Result>

                                                                                                                                                                                                          diff --git a/docs/index.html b/docs/index.html index 1fddc4f..28224e4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,7 +16,7 @@

                                                                                                                                                                                                          In order to be able to use Google Pay method you have to provide your merchant_id to the SDK.

                                                                                                                                                                                                          -
                                                                                                                                                                                                          Tip

                                                                                                                                                                                                          -Your login name to the merchant panel is your merchant id.

                                                                                                                                                                                                          -
                                                                                                                                                                                                            new WalletConfiguration(
                                                                                                                                                                                                          new GooglePayConfiguration('merchant_id'),
                                                                                                                                                                                                          )
                                                                                                                                                                                                          +

                                                                                                                                                                                                          merchant_id is unique identifier assigned to you during Tpay account registration.

                                                                                                                                                                                                          In order to be able to use Apple Pay method you have to provide your merchant_id and country_code to the SDK.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Important

                                                                                                                                                                                                          -To obtain the merchantIdentifier, follow these steps:

                                                                                                                                                                                                          +Before using Apple Pay, make sure the following prerequisites are met:

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Important

                                                                                                                                                                                                          +To set up Apple Pay, you need an Apple Developer account. Follow these steps:

                                                                                                                                                                                                          1. Log in to your Apple Developer account.
                                                                                                                                                                                                          2. Navigate to the Certificates, Identifiers & Profiles section.
                                                                                                                                                                                                          3. Under Identifiers, select Merchant IDs.
                                                                                                                                                                                                          4. Click the + button to create a new Merchant ID.
                                                                                                                                                                                                          5. Fill in the required information and associate it with your app's Bundle ID.
                                                                                                                                                                                                          6. +
                                                                                                                                                                                                          7. Set up a Payment Processing Certificate for the Merchant ID.
                                                                                                                                                                                                          8. Once created, the merchant identifier can be found in the list of Merchant IDs.
                                                                                                                                                                                                          9. For more details, please follow Apple Pay documentation.
                                                                                                                                                                                                          @@ -292,6 +304,50 @@ + +

                                                                                                                                                                                                          In order to be able to use Google Pay method you have to:

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          new WalletConfiguration(
                                                                                                                                                                                                          new GooglePayConfiguration('merchant_id'),
                                                                                                                                                                                                          ) +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          merchant_id is unique identifier assigned to you during Tpay account registration.

                                                                                                                                                                                                          + +

                                                                                                                                                                                                          To correctly launch Google Pay in an Android application, the application should:

                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Application requirements and environment configuration are described in Google's documentation:

                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Google provides a checklist of functional and branding requirements that must be met before publishing the integration:

                                                                                                                                                                                                          +

                                                                                                                                                                                                          Integration checklist

                                                                                                                                                                                                          Tpay SDK allows you to make credit card transactions without need of entering card's data each time. Instead, you can create and use a token, associated with a specific card and user.

                                                                                                                                                                                                          @@ -398,30 +454,28 @@ -

                                                                                                                                                                                                          If you have for example a returning users and you want to make their payments with BLIK even -smoother, +

                                                                                                                                                                                                          If you have returning users and you want to make their BLIK payments even smoother, you can register BLIK Alias for them, so they will only be prompted to accept payment in their -banking app, -without need of entering BLIK code each time they want to make the payment.

                                                                                                                                                                                                          +banking app, without need of entering BLIK code each time they want to make the payment.

                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          -In order to register alias for a user/payment, you have to set isRegistered parameter to false. -Then, a successful payment will register the alias in Tpay system -and next time user will be able to use it.

                                                                                                                                                                                                          +In order to register alias for a user/payment, you have to set isRegistered parameter to false.

                                                                                                                                                                                                          const blikPayment = new BlikPayment(
                                                                                                                                                                                                          '777123',
                                                                                                                                                                                                          new BlikAlias(false, '1234', 'label_1234'),
                                                                                                                                                                                                          // rest of the BLIKPayment configuration
                                                                                                                                                                                                          );
                                                                                                                                                                                                          -

                                                                                                                                                                                                          If the payment were successful, you can assume an alias was created and can be used for the future -payments.

                                                                                                                                                                                                          -
                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          -If you already have registered alias for a user, you can set up isRegistered parameter to true.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          Important

                                                                                                                                                                                                          +Provided alias cannot be assumed as registered until receiving webhook notification about its status. Notification should be received by dedicated backend server, for implementation details check official documentation . Additionally your backend server should implement other BLIK related notifications to ensure BLIK alias is valid and usable.

                                                                                                                                                                                                          +

                                                                                                                                                                                                          Once alias is registered for a user, you can set up isRegistered parameter to true.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          const blikPayment = new BlikPayment(
                                                                                                                                                                                                          null,
                                                                                                                                                                                                          new BlikAlias(true, '1234', 'label_1234'),
                                                                                                                                                                                                          // rest of the BLIKPayment configuration
                                                                                                                                                                                                          ); +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          To be able to pay with BLIK alias, you MUST set the code parameter to null.

                                                                                                                                                                                                          -
                                                                                                                                                                                                          const blikPayment = new BlikPayment(
                                                                                                                                                                                                          null,
                                                                                                                                                                                                          new BlikAlias(false, '1234', 'label_1234'),
                                                                                                                                                                                                          // rest of the BLIKPayment configuration
                                                                                                                                                                                                          ); -
                                                                                                                                                                                                          - +
                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          +Before testing BLIK alias functionality check sandbox environment limitations listed in documentation

                                                                                                                                                                                                          +

                                                                                                                                                                                                          Sometimes, there is a possibility for one alias to be registered more than once. For example, if you register alias associated with one user for the multiple banks. @@ -489,16 +543,7 @@

                                                                                                                                                                                                          - -

                                                                                                                                                                                                          Google Pay payment requires a Google Pay token.

                                                                                                                                                                                                          -
                                                                                                                                                                                                          const transaction = new PayPoPayment(
                                                                                                                                                                                                          new PaymentDetails(
                                                                                                                                                                                                          71.15,
                                                                                                                                                                                                          'transaction description',
                                                                                                                                                                                                          'hidden description',
                                                                                                                                                                                                          Language.pl,
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          new Payer(
                                                                                                                                                                                                          'John Doe',
                                                                                                                                                                                                          'john.doe@example.com',
                                                                                                                                                                                                          '123456789',
                                                                                                                                                                                                          new Address(
                                                                                                                                                                                                          'Test Street1',
                                                                                                                                                                                                          'Warsaw',
                                                                                                                                                                                                          'PL',
                                                                                                                                                                                                          '00-007',
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          new Callbacks(
                                                                                                                                                                                                          new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                          new Notifications(
                                                                                                                                                                                                          'https://yourdomain.com/notifications',
                                                                                                                                                                                                          'email@address',
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          );

                                                                                                                                                                                                          const screenlessResult = await screenlessPayPoPayment(transaction);

                                                                                                                                                                                                          handleScreenlessResult(screenlessResult); -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          -If PayPoPayment returns ScreenlessPaymentCreated result, you have to handle paymentUrl -sent with it and redirect user to it in order to complete the payment.

                                                                                                                                                                                                          -
                                                                                                                                                                                                          - +

                                                                                                                                                                                                          Tpay SDK allows you to perform Google Pay transactions.

                                                                                                                                                                                                          const transaction = new GooglePayPayment(
                                                                                                                                                                                                          'google_pay_token',
                                                                                                                                                                                                          new PaymentDetails(
                                                                                                                                                                                                          71.15,
                                                                                                                                                                                                          'transaction description',
                                                                                                                                                                                                          'hidden description',
                                                                                                                                                                                                          Language.pl,
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          new Payer(
                                                                                                                                                                                                          'John Doe',
                                                                                                                                                                                                          'john.doe@example.com',
                                                                                                                                                                                                          '123456789',
                                                                                                                                                                                                          new Address(
                                                                                                                                                                                                          'Test Street1',
                                                                                                                                                                                                          'Warsaw',
                                                                                                                                                                                                          'PL',
                                                                                                                                                                                                          '00-007',
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          new Callbacks(
                                                                                                                                                                                                          new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                          new Notifications(
                                                                                                                                                                                                          'https://yourdomain.com/notifications',
                                                                                                                                                                                                          'email@address',
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          );

                                                                                                                                                                                                          const screenlessResult = await screenlessGooglePayPayment(transaction);

                                                                                                                                                                                                          handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                          @@ -537,16 +582,23 @@
                                                                                                                                                                                                          +

                                                                                                                                                                                                          merchant_id is unique identifier assigned to you during Tpay account registration.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          +In order to launch Google Pay on production follow these guidelines.

                                                                                                                                                                                                          +

                                                                                                                                                                                                          Tpay SDK allows you to perform Apple Pay transactions.

                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          +Apple Pay is available exclusively on Apple devices (iPhone, iPad, MacBook, iMac) and supports only Visa and Mastercard.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Warning

                                                                                                                                                                                                          To be able to complete Apple Pay payment, you will need apple_pay_token. You HAVE TO -acquire a token by yourself. To do that check -official Apple Pay documentation

                                                                                                                                                                                                          +acquire a token by yourself using Apple's PassKit framework. To do that check +official Apple Pay documentation

                                                                                                                                                                                                          const applePayPayment = new ApplePayPayment(
                                                                                                                                                                                                          'apple_pay_token',
                                                                                                                                                                                                          new PaymentDetails(
                                                                                                                                                                                                          71.15,
                                                                                                                                                                                                          'transaction description',
                                                                                                                                                                                                          'hidden description',
                                                                                                                                                                                                          Language.pl,
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          new Payer(
                                                                                                                                                                                                          'John Doe',
                                                                                                                                                                                                          'john.doe@example.com',
                                                                                                                                                                                                          '123456789',
                                                                                                                                                                                                          new Address(
                                                                                                                                                                                                          'Test Street1',
                                                                                                                                                                                                          'Warsaw',
                                                                                                                                                                                                          'PL',
                                                                                                                                                                                                          '00-007',
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          new Callbacks(
                                                                                                                                                                                                          new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                          new Notifications(
                                                                                                                                                                                                          'https://yourdomain.com/notifications',
                                                                                                                                                                                                          'email@address',
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          ),
                                                                                                                                                                                                          );

                                                                                                                                                                                                          const screenlessResult = await screenlessApplePayPayment(applePayPayment);

                                                                                                                                                                                                          handleScreenlessResult(screenlessResult);

                                                                                                                                                                                                          This library is released under the MIT License.

                                                                                                                                                                                                          -
                                                                                                                                                                                                          +
                                                                                                                                                                                                          diff --git a/docs/types/TpayButtonProps.html b/docs/types/TpayButtonProps.html index f4f483d..086db0e 100644 --- a/docs/types/TpayButtonProps.html +++ b/docs/types/TpayButtonProps.html @@ -1,5 +1,5 @@ -TpayButtonProps | react-native-tpay
                                                                                                                                                                                                          react-native-tpay
                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                            Type Alias TpayButtonProps

                                                                                                                                                                                                            type TpayButtonProps = {
                                                                                                                                                                                                                isEnabled: boolean;
                                                                                                                                                                                                                onClick: Function;
                                                                                                                                                                                                            }
                                                                                                                                                                                                            Index

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            isEnabled +TpayButtonProps | react-native-tpay
                                                                                                                                                                                                            react-native-tpay
                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                              Type Alias TpayButtonProps

                                                                                                                                                                                                              type TpayButtonProps = {
                                                                                                                                                                                                                  isEnabled: boolean;
                                                                                                                                                                                                                  onClick: Function;
                                                                                                                                                                                                              }
                                                                                                                                                                                                              Index

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              isEnabled: boolean

                                                                                                                                                                                                              Whether the button should be enabled

                                                                                                                                                                                                              -
                                                                                                                                                                                                              onClick: Function

                                                                                                                                                                                                              Called when button is clicked

                                                                                                                                                                                                              -
                                                                                                                                                                                                              +
                                                                                                                                                                                                              onClick: Function

                                                                                                                                                                                                              Called when button is clicked

                                                                                                                                                                                                              +