Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CreditService

Index

Constructors

constructor

Properties

Private credit

credit: any

Private doc

doc: any

Methods

formatCardExpiry

  • formatCardExpiry(expiry: any): boolean
  • Parameters

    • expiry: any

    Returns boolean

formatCardNumber

  • formatCardNumber(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

parseCardExpiry

  • parseCardExpiry(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

parseCardType

  • parseCardType(cardNumber: any): boolean
  • Parameters

    • cardNumber: any

    Returns boolean

validateCardCVC

  • validateCardCVC(cvc: any, type: any): boolean
  • Parameters

    • cvc: any
    • type: any

    Returns boolean

validateCardExpiry

  • validateCardExpiry(month: any, year: any): boolean
  • Parameters

    • month: any
    • year: any

    Returns boolean

validateCardNumber

  • validateCardNumber(cardNumber: any): boolean
  • Parameters

    • cardNumber: any

    Returns boolean

Generated using TypeDoc