Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PayerFactory

Index

Constructors

Properties

Accessors

  • get accountInfo(): Readonly<{ accountAgeIndicator?: "01" | "02" | "03" | "04" | "05"; accountChangeIndicator?: "01" | "02" | "03" | "04"; accountChangePwdIndicator?: "01" | "02" | "03" | "04" | "05"; shippingAddressUsageIndicator?: "01" | "02" | "03" | "04"; shippingNameIndicator?: "01" | "02"; suspiciousAccountActivity?: "01" | "02" }>
  • Returns Readonly<{ accountAgeIndicator?: "01" | "02" | "03" | "04" | "05"; accountChangeIndicator?: "01" | "02" | "03" | "04"; accountChangePwdIndicator?: "01" | "02" | "03" | "04" | "05"; shippingAddressUsageIndicator?: "01" | "02" | "03" | "04"; shippingNameIndicator?: "01" | "02"; suspiciousAccountActivity?: "01" | "02" }>

  • get digitalProducts(): undefined | boolean
  • Set to true for merchants who only sell digital goods and only require email and/or msisdn as shipping details. Set to false if the merchant also sells physical goods.

    Returns undefined | boolean

  • get email(): undefined | string
  • The e-mail address of the payer. Will be used to prefill the Checkin as well as on the payer’s profile, if not already set. Increases the chance for frictionless 3-D Secure 2 flow.

    Returns undefined | string

  • get firstName(): undefined | string
  • get lastName(): undefined | string
  • get msisdn(): undefined | string
  • get nationalIdentifier(): undefined | { countryCode?: string; socialSecurityNumber?: string }
  • get payerReference(): undefined | string
  • A reference used in Enterprise integrations to recognize the payer in the absence of SSN and/or a secure login. Read more about this in the payerReference feature section.

    Returns undefined | string

  • get socialSecurityNumber(): undefined | string

Methods

  • getErrors(strict?: boolean): [key: string, msg: string][]
  • Object related to the payer containing info about the payer’s account.

    Parameters

    • Optional newAccountInfo: AccountInfoSetter

      The new account information

    • Optional merge: boolean

      Whether to merge with existing account info. Replaces entirely if false

    Returns PayerFactory

    The payer factory for chaining.

  • The billing address object containing information about the payer’s billing address.

    Parameters

    • Optional newBillingAddress: BillingAddress

      The new billing address

    • Optional merge: boolean

      Whether to merge with existing address. Replaces entirely if false

    Returns PayerFactory

    The payer factory for chaining.

  • setDigitalProducts(newDigitalProducts?: boolean): PayerFactory
  • Set to true for merchants who only sell digital goods and only require email and/or msisdn as shipping details. Set to false if the merchant also sells physical goods.

    Parameters

    • Optional newDigitalProducts: boolean

      The new reference

    Returns PayerFactory

    The payer factory for chaining.

  • The e-mail address of the payer. Will be used to prefill the Checkin as well as on the payer’s profile, if not already set. Increases the chance for frictionless 3-D Secure 2 flow.

    Parameters

    • Optional newEmail: string

      The new email

    Returns PayerFactory

    The payer factory for chaining.

  • The mobile phone number of the payer. Will be used to prefill the Checkin as well as on the payer’s profile, if not already set. Increases the chance for frictionless 3-D Secure 2 flow.

    Parameters

    • Optional newMsisdn: string

      The new msisdn

    Returns PayerFactory

    The payer factory for chaining.

  • setNationalIdentifier(newNationalIdentifier?: { countryCode?: string; socialSecurityNumber?: string }, merge?: boolean): PayerFactory
  • The national identifier object.

    Parameters

    • Optional newNationalIdentifier: { countryCode?: string; socialSecurityNumber?: string }

      The new national identifier object

      • Optional Readonly countryCode?: string
      • Optional Readonly socialSecurityNumber?: string
    • Optional merge: boolean

      Whether to merge with existing national identifier. Replaces entirely if false

    Returns PayerFactory

    The payer factory for chaining.

  • A reference used in Enterprise integrations to recognize the payer in the absence of SSN and/or a secure login. Read more about this in the payerReference feature section.

    Parameters

    • Optional newPayerReference: string

      The new reference

    Returns PayerFactory

    The payer factory for chaining.

  • setSocialSecurityNumber(newSocialSecurityNumber?: string): PayerFactory

Generated using TypeDoc