Go Headless

/

SDK
Articles
Get Started
Work with the SDK
Set up a Client
Use the Wix MCP
What's New

Core Modules
sdk
sdk-react (deprecated)
essentials
web-methods

Host Modules
About Host Modules
dashboard
dashboard-react (deprecated)
editor
site

Backend Modules
activity-counters
analytics
async-jobs
ai-site-chat
app-management
auth-management
automations
billing
blog
bookings
business-tools
cache
calendar
captcha
categories
comments
consent-policy
crm
dashboard-management
data
data-extension-schemas
ecom
email-marketing
email-subscriptions
events
forms
forum
get-paid
Payment Links
About the Payment Links APIs
PaymentLinks
Introduction
Setup
Sample Flows
activatePaymentLink()
bulkUpdatePaymentLinkTags()
bulkUpdatePaymentLinkTagsByFilter()
createPaymentLink()
deactivatePaymentLink()
deletePaymentLink()
getPaymentLink()
initiatePayment()
queryPaymentLinks()
searchPaymentLinks()
sendPaymentLink()
setNote()
updateExtendedFields()
onPaymentLinkActivated()
onPaymentLinkCreated()
onPaymentLinkDeactivated()
onPaymentLinkDeleted()
onPaymentLinkNoteSet()
onPaymentLinkPaymentInitiated()
onPaymentLinkSent()
onPaymentLinkUpdated()
PaymentLinksQueryBuilder
ascending()
descending()
eq()
exists()
find()
ge()
gt()
hasSome()
in()
le()
limit()
lt()
ne()
skipTo()
startsWith()
PaymentLinksQueryResult
PaymentLinkPayments
PaymentLinksSettings
Receipts
groups
http-functions
identity
inbox
loyalty
marketing
marketing-consent
marketing-tags
media
members
multilingual
notifications
payments
pricing-plans
pro-gallery
redirects
reports
restaurants
reviews
secrets
stores
table-reservations
tags
urls
portfolio
site-plugins
sender-details
sender-emails
realtime

Account Level Modules
About Account Level APIs
b2b-site-management
domains
resellers
user-management
sites

Frontend Modules
bookings
crm
ecom
events
location
members
mobile
navigate-mobile
pay
pricing-plans
seo
site
storage
stores
window
site-realtime











lt( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Refines a query to match items where the specified property is less than the specified value.

The le() function refines a PaymentLinksQueryBuilder to match only items where the value of the specified propertyName is less than the specified value. le() matches only values of the same type. For example, 0 stored as a number doesn't match '0' stored as a string. If a property contains a number stored as a string (for example, '0'), that value is compared alphabetically and not numerically. If a property doesn't have a value, that value is ranked lowest. The following types of properties can be compared:

  • Number: Compares numerically.
  • Date: Compares JavaScript Date objects.
  • String: Compares lexicographically, so 'ABC' is less than 'abc'.
Method Declaration
Copy
Method Parameters
propertyNamestring

Property whose value is compared with value.


valueany

Value to compare against.

Returns
Return Type:PaymentLinksQueryBuilder
Add an `lt` filter to a query
JavaScript
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?