Class MoneroPaymentRequestValidator
Hierarchy
- MoneroPaymentRequestValidator
Methods
Static isCurrencyIsSupported
- isCurrencyIsSupported(currency): boolean
Parameters
currency: string | string[]
Returns boolean
Static isNumberAndBiggerThanZero
- isNumberAndBiggerThanZero(number): boolean
Returns boolean
Static isPaymentId
- isPaymentId(id): boolean
Returns boolean
Static isValidAmount
- isValidAmount(amount): boolean
Returns boolean
Static isValidChangeIndicatorUrl
- isValidChangeIndicatorUrl(url?): boolean
Returns boolean
Static isValidDate
- isValidDate(date): boolean
Returns boolean
Static isValidDaysPerBillingCycle
- isValidDaysPerBillingCycle(days): boolean
Returns boolean
Static isValidName
- isValidName(name): boolean
Returns boolean
Static isValidNumberOfPayments
- isValidNumberOfPayments(numberOfPayments): boolean
Returns boolean
Static isWalletAddress
- isWalletAddress(address, allowStandard?, allowIntegratedAddress?, allowSubAddress?): false | RegExpMatchArray
Parameters
address: string
allowStandard: boolean = true
allowIntegratedAddress: boolean = true
allowSubAddress: boolean = false
Returns false | RegExpMatchArray
checks SupportedCurrencies constant against the provided value