What's New in the Script API

The following classes are either new or have been changed in version 21.1.

Package dw.catalog

The following classes changed in the dw.catalog Package.


ProductInventoryRecord
MethodSummary
describe()

Documentation Changed.

getCustom()

Documentation Changed.


ProductPriceModel
MethodSummary
getPrice()

Documentation Changed.

getPrice(Quantity)

Documentation Changed.

getPriceInfo()

Documentation Changed.

getPriceInfo(Quantity)

Documentation Changed.

getPriceInfos()

Documentation Changed.

Package dw.content

The following classes changed in the dw.content Package.


Content
MethodSummary
isPage()

Method is New

toPage()

Method is New

Package dw.crypto

The following classes were added to the dw.crypto Package.

The following classes changed in the dw.crypto Package.


Cipher
MethodSummary
encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.

encrypt(String, String, String, String, Number)

Documentation Changed.


MessageDigest
Package dw.experience

The following classes changed in the dw.experience Package.


Page
MethodSummary
getClassificationFolder()

Method is New

getFolders()

Method is New

Package dw.extensions.payments

The following classes changed in the dw.extensions.payments Package.


SalesforcePaymentIntent
  • Class Documentation Changed
MethodSummary
isConfirmed()

Documentation Changed.


SalesforcePaymentMethod
  • Class Documentation Changed
MethodSummary
getCountry()

Documentation Changed.


SalesforcePaymentRequest
  • Class Documentation Changed
MethodSummary
addExclude(String)

Documentation Changed.

addInclude(String)

Documentation Changed.

format(Object)

Documentation Changed.

getBasketData()

Documentation Changed.

getExclude()

Documentation Changed.

getInclude()

Documentation Changed.

getSelector()

Documentation Changed.

setBasketData(Object)

Documentation Changed.

setOptions(Object)

Documentation Changed.

setSavePaymentMethodEnabled(Boolean)

Documentation Changed.


SalesforcePaymentsHooks
  • Class Documentation Changed

SalesforcePaymentsMgr
  • Class Documentation Changed
MethodSummary
attachPaymentMethod(SalesforcePaymentMethod, Customer)

Documentation Changed.

getAttachedPaymentMethods(Customer)

Documentation Changed.

getPaymentIntent(Basket)

Documentation Changed.

getPaymentIntent(Order)

Documentation Changed.

Package dw.order

The following classes changed in the dw.order Package.


Order
MethodSummary
getOrderToken()

Documentation Changed.


OrderMgr
  • Class Documentation Changed
MethodSummary
getOrder(String)

Documentation Changed.

getOrder(String, String)

Documentation Changed.

Package dw.rpc

The following classes changed in the dw.rpc Package.


SOAPUtil
  • Deprecated
FieldSummary
WS_ACTION

Deprecated

WS_ENC_PROP_KEYSTORE_ALIAS

Deprecated

WS_ENC_PROP_KEYSTORE_PW

Deprecated

WS_ENC_PROP_KEYSTORE_TYPE

Deprecated

WS_ENCRYPT

Deprecated

WS_ENCRYPTION_PARTS

Deprecated

WS_ENCRYPTION_USER

Deprecated

WS_NO_SECURITY

Deprecated

WS_PASSWORD_TYPE

Deprecated

WS_PW_DIGEST

Deprecated

WS_PW_TEXT

Deprecated

WS_SECRETS_MAP

Deprecated

WS_SIG_DIGEST_ALGO

Deprecated

WS_SIG_PROP_KEYSTORE_ALIAS

Deprecated

WS_SIG_PROP_KEYSTORE_PW

Deprecated

WS_SIG_PROP_KEYSTORE_TYPE

Deprecated

WS_SIGNATURE

Deprecated

WS_SIGNATURE_PARTS

Deprecated

WS_SIGNATURE_USER

Deprecated

WS_TIMESTAMP

Deprecated

WS_USER

Deprecated

WS_USERNAME_TOKEN

Deprecated

MethodSummary
getHTTPRequestHeader(Object, String)

Deprecated

getHTTPResponseHeader(Object, String)

Deprecated

setHeader(Object, String)

Deprecated

setHeader(Object, String, Boolean)

Deprecated

setHeader(Object, String, String, Object)

Deprecated

setHeader(Object, String, String, Object, Boolean)

Deprecated

setHeader(Object, String, String, Object, Boolean, String)

Deprecated

setHeader(Object, String, String, String)

Deprecated

setHeader(Object, String, String, String, Boolean)

Deprecated

setHeader(Object, String, String, String, Boolean, String)

Deprecated

setHTTPRequestHeader(Object, String, String)

Deprecated

setWSSecurityConfig(Object, Object, Object)

Deprecated


Stub
  • Deprecated
FieldSummary
CONNECTION_TIMEOUT

Deprecated

ENDPOINT_ADDRESS_PROPERTY

Deprecated

PASSWORD_PROPERTY

Deprecated

SESSION_MAINTAIN_PROPERTY

Deprecated

USERNAME_PROPERTY

Deprecated

MethodSummary
_getProperty(String)

Deprecated

_setProperty(String, Object)

Deprecated

getPassword()

Deprecated

getTimeout()

Deprecated

getUsername()

Deprecated

setHeader(String, String, Object)

Deprecated

setPassword(String)

Deprecated

setTimeout(Number)

Deprecated

setUsername(String)

Deprecated


WebReference
  • Class Documentation Changed
  • Deprecated
MethodSummary
getDefaultService()

Deprecated

getService(String, String)

Deprecated

Package dw.ws

The following classes changed in the dw.ws Package.


WebReference2
  • Class Documentation Changed
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.