@salesforce/b2c-cli 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/job/import.d.ts +1 -0
- package/dist/commands/job/import.js +15 -0
- package/dist/commands/job/import.js.map +1 -1
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +4160 -3853
- package/package.json +3 -3
|
@@ -0,0 +1,1360 @@
|
|
|
1
|
+
import LineItemCtnr = require('./LineItemCtnr');
|
|
2
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
3
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
4
|
+
import EnumValue = require('../value/EnumValue');
|
|
5
|
+
import PaymentTransaction = require('./PaymentTransaction');
|
|
6
|
+
import SourceCodeGroup = require('../campaign/SourceCodeGroup');
|
|
7
|
+
import Note = require('../object/Note');
|
|
8
|
+
import Customer = require('../customer/Customer');
|
|
9
|
+
import FilteringCollection = require('../util/FilteringCollection');
|
|
10
|
+
import ShippingOrder = require('./ShippingOrder');
|
|
11
|
+
import Invoice = require('./Invoice');
|
|
12
|
+
import InvoiceItem = require('./InvoiceItem');
|
|
13
|
+
import ReturnCase = require('./ReturnCase');
|
|
14
|
+
import Return = require('./Return');
|
|
15
|
+
import ReturnItem = require('./ReturnItem');
|
|
16
|
+
import ShippingOrderItem = require('./ShippingOrderItem');
|
|
17
|
+
import ReturnCaseItem = require('./ReturnCaseItem');
|
|
18
|
+
import Money = require('../value/Money');
|
|
19
|
+
import OrderItem = require('./OrderItem');
|
|
20
|
+
import Appeasement = require('./Appeasement');
|
|
21
|
+
import AppeasementItem = require('./AppeasementItem');
|
|
22
|
+
import Status = require('../system/Status');
|
|
23
|
+
|
|
24
|
+
declare global {
|
|
25
|
+
module ICustomAttributes {
|
|
26
|
+
interface Order extends ICustomAttributes.LineItemCtnr {
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The Order class represents an order. The correct way to retrieve an order is described in dw.order.OrderMgr.
|
|
33
|
+
*/
|
|
34
|
+
declare class Order extends LineItemCtnr<ICustomAttributes.Order> {
|
|
35
|
+
/**
|
|
36
|
+
* constant for when Confirmation Status is Confirmed
|
|
37
|
+
*/
|
|
38
|
+
static readonly CONFIRMATION_STATUS_CONFIRMED: number;
|
|
39
|
+
/**
|
|
40
|
+
* constant for when Confirmation Status is Not Confirmed
|
|
41
|
+
*/
|
|
42
|
+
static readonly CONFIRMATION_STATUS_NOTCONFIRMED: number;
|
|
43
|
+
/**
|
|
44
|
+
* The encryption algorithm "RSA/ECB/OAEPWithSHA-256AndMGF1Padding".
|
|
45
|
+
*/
|
|
46
|
+
static readonly ENCRYPTION_ALGORITHM_RSA_ECB_OAEPWITHSHA_256ANDMGF1PADDING = "RSA/ECB/OAEPWithSHA-256AndMGF1Padding";
|
|
47
|
+
/**
|
|
48
|
+
* The outdated encryption algorithm "RSA/ECB/PKCS1Padding". Please do not use anymore!
|
|
49
|
+
* @deprecated Support for this algorithm will be removed in a future release. Please use
|
|
50
|
+
* ENCRYPTION_ALGORITHM_RSA_ECB_OAEPWITHSHA_256ANDMGF1PADDING instead.
|
|
51
|
+
*/
|
|
52
|
+
static readonly ENCRYPTION_ALGORITHM_RSA_ECB_PKCS1PADDING = "RSA/ECB/PKCS1Padding";
|
|
53
|
+
/**
|
|
54
|
+
* constant for when Export Status is Exported
|
|
55
|
+
*/
|
|
56
|
+
static readonly EXPORT_STATUS_EXPORTED: number;
|
|
57
|
+
/**
|
|
58
|
+
* constant for when Export Status is Failed
|
|
59
|
+
*/
|
|
60
|
+
static readonly EXPORT_STATUS_FAILED: number;
|
|
61
|
+
/**
|
|
62
|
+
* constant for when Export Status is Not Exported
|
|
63
|
+
*/
|
|
64
|
+
static readonly EXPORT_STATUS_NOTEXPORTED: number;
|
|
65
|
+
/**
|
|
66
|
+
* constant for when Export Status is ready to be exported.
|
|
67
|
+
*/
|
|
68
|
+
static readonly EXPORT_STATUS_READY: number;
|
|
69
|
+
/**
|
|
70
|
+
* constant for when Order Status is Cancelled
|
|
71
|
+
*/
|
|
72
|
+
static readonly ORDER_STATUS_CANCELLED: number;
|
|
73
|
+
/**
|
|
74
|
+
* constant for when Order Status is Completed
|
|
75
|
+
*/
|
|
76
|
+
static readonly ORDER_STATUS_COMPLETED: number;
|
|
77
|
+
/**
|
|
78
|
+
* constant for when Order Status is Created
|
|
79
|
+
*/
|
|
80
|
+
static readonly ORDER_STATUS_CREATED: number;
|
|
81
|
+
/**
|
|
82
|
+
* constant for when Order Status is Failed
|
|
83
|
+
*/
|
|
84
|
+
static readonly ORDER_STATUS_FAILED: number;
|
|
85
|
+
/**
|
|
86
|
+
* constant for when Order Status is New
|
|
87
|
+
*/
|
|
88
|
+
static readonly ORDER_STATUS_NEW: number;
|
|
89
|
+
/**
|
|
90
|
+
* constant for when Order Status is Open
|
|
91
|
+
*/
|
|
92
|
+
static readonly ORDER_STATUS_OPEN: number;
|
|
93
|
+
/**
|
|
94
|
+
* constant for when Order Status is Replaced
|
|
95
|
+
*/
|
|
96
|
+
static readonly ORDER_STATUS_REPLACED: number;
|
|
97
|
+
/**
|
|
98
|
+
* constant for when Payment Status is Not Paid
|
|
99
|
+
*/
|
|
100
|
+
static readonly PAYMENT_STATUS_NOTPAID: number;
|
|
101
|
+
/**
|
|
102
|
+
* constant for when Payment Status is Paid
|
|
103
|
+
*/
|
|
104
|
+
static readonly PAYMENT_STATUS_PAID: number;
|
|
105
|
+
/**
|
|
106
|
+
* constant for when Payment Status is Part Paid
|
|
107
|
+
*/
|
|
108
|
+
static readonly PAYMENT_STATUS_PARTPAID: number;
|
|
109
|
+
/**
|
|
110
|
+
* constant for when Shipping Status is Not shipped
|
|
111
|
+
*/
|
|
112
|
+
static readonly SHIPPING_STATUS_NOTSHIPPED: number;
|
|
113
|
+
/**
|
|
114
|
+
* constant for when Shipping Status is Part Shipped
|
|
115
|
+
*/
|
|
116
|
+
static readonly SHIPPING_STATUS_PARTSHIPPED: number;
|
|
117
|
+
/**
|
|
118
|
+
* constant for when Shipping Status is Shipped
|
|
119
|
+
*/
|
|
120
|
+
static readonly SHIPPING_STATUS_SHIPPED: number;
|
|
121
|
+
/**
|
|
122
|
+
* Returns the affiliate partner ID value, or null.
|
|
123
|
+
*/
|
|
124
|
+
affiliatePartnerID: string | null;
|
|
125
|
+
/**
|
|
126
|
+
* Returns the affiliate partner name value, or null.
|
|
127
|
+
*/
|
|
128
|
+
affiliatePartnerName: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* Returns the collection of dw.order.AppeasementItems associated with this order.
|
|
131
|
+
*/
|
|
132
|
+
readonly appeasementItems: FilteringCollection<AppeasementItem>;
|
|
133
|
+
/**
|
|
134
|
+
* Returns the collection of dw.order.Appeasements associated with this order.
|
|
135
|
+
*/
|
|
136
|
+
readonly appeasements: FilteringCollection<Appeasement>;
|
|
137
|
+
/**
|
|
138
|
+
* If this order was cancelled, returns the value of the
|
|
139
|
+
* cancel code or null.
|
|
140
|
+
*/
|
|
141
|
+
cancelCode: EnumValue | null;
|
|
142
|
+
/**
|
|
143
|
+
* If this order was cancelled, returns the text describing why
|
|
144
|
+
* the order was cancelled or null.
|
|
145
|
+
*/
|
|
146
|
+
cancelDescription: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Returns the sum of the captured amounts. The captured amounts
|
|
149
|
+
* are calculated on the fly. Associate a payment capture for an dw.order.PaymentInstrument with an dw.order.Invoice
|
|
150
|
+
* using Invoice.addCaptureTransaction.
|
|
151
|
+
*/
|
|
152
|
+
readonly capturedAmount: Money;
|
|
153
|
+
/**
|
|
154
|
+
* Returns the confirmation status of the order.
|
|
155
|
+
*
|
|
156
|
+
* Possible values are CONFIRMATION_STATUS_NOTCONFIRMED and
|
|
157
|
+
* CONFIRMATION_STATUS_CONFIRMED.
|
|
158
|
+
*/
|
|
159
|
+
confirmationStatus: EnumValue;
|
|
160
|
+
/**
|
|
161
|
+
* Returns the name of the user who has created the order.
|
|
162
|
+
* If an agent user has created the order, the agent user's name
|
|
163
|
+
* is returned. Otherwise "Customer" is returned.
|
|
164
|
+
*/
|
|
165
|
+
readonly createdBy: string;
|
|
166
|
+
/**
|
|
167
|
+
* Returns the current order. The current order
|
|
168
|
+
* represents the most recent order in a chain of orders.
|
|
169
|
+
* For example, if Order1 was replaced by Order2, Order2 is the current
|
|
170
|
+
* representation of the order and Order1 is the original representation
|
|
171
|
+
* of the order. If you replace Order2 with Order3, Order 3 is now the
|
|
172
|
+
* current order and Order1 is still the original representation of the
|
|
173
|
+
* order. If this order has not been replaced, this method returns this
|
|
174
|
+
* order because this order is the current order.
|
|
175
|
+
* @see getOriginalOrderNo
|
|
176
|
+
* @see getOriginalOrder
|
|
177
|
+
* @see getReplacedOrderNo
|
|
178
|
+
* @see getReplacedOrder
|
|
179
|
+
* @see getReplacementOrderNo
|
|
180
|
+
* @see getReplacementOrder
|
|
181
|
+
*/
|
|
182
|
+
readonly currentOrder: Order;
|
|
183
|
+
/**
|
|
184
|
+
* Returns the order number of the current order. The current order
|
|
185
|
+
* represents the most recent order in a chain of orders.
|
|
186
|
+
* For example, if Order1 was replaced by Order2, Order2 is the current
|
|
187
|
+
* representation of the order and Order1 is the original representation
|
|
188
|
+
* of the order. If you replace Order2 with Order3, Order 3 is now the
|
|
189
|
+
* current order and Order1 is still the original representation of the
|
|
190
|
+
* order. If this order has not been replaced, calling this method returns the
|
|
191
|
+
* same value as the getOrderNo method because this order is the
|
|
192
|
+
* current order.
|
|
193
|
+
* @see getOriginalOrderNo
|
|
194
|
+
* @see getOriginalOrder
|
|
195
|
+
* @see getReplacedOrderNo
|
|
196
|
+
* @see getReplacedOrder
|
|
197
|
+
* @see getReplacementOrderNo
|
|
198
|
+
* @see getReplacementOrder
|
|
199
|
+
*/
|
|
200
|
+
readonly currentOrderNo: string;
|
|
201
|
+
/**
|
|
202
|
+
* Returns the ID of the locale that was in effect when the order
|
|
203
|
+
* was placed. This is the customer's locale.
|
|
204
|
+
*/
|
|
205
|
+
readonly customerLocaleID: string | null;
|
|
206
|
+
/**
|
|
207
|
+
* Returns the customer-specific reference information for the order, or null.
|
|
208
|
+
*/
|
|
209
|
+
customerOrderReference: string | null;
|
|
210
|
+
/**
|
|
211
|
+
* Returns a date after which an order can be exported.
|
|
212
|
+
*/
|
|
213
|
+
exportAfter: Date;
|
|
214
|
+
/**
|
|
215
|
+
* Returns the export status of the order.
|
|
216
|
+
*
|
|
217
|
+
* Possible values are: EXPORT_STATUS_NOTEXPORTED,
|
|
218
|
+
* EXPORT_STATUS_EXPORTED, EXPORT_STATUS_READY,
|
|
219
|
+
* and EXPORT_STATUS_FAILED.
|
|
220
|
+
*/
|
|
221
|
+
exportStatus: EnumValue;
|
|
222
|
+
/**
|
|
223
|
+
* Returns the value of an external order number associated
|
|
224
|
+
* with this order, or null.
|
|
225
|
+
*/
|
|
226
|
+
externalOrderNo: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* Returns the status of an external order associated
|
|
229
|
+
* with this order, or null.
|
|
230
|
+
*/
|
|
231
|
+
externalOrderStatus: string | null;
|
|
232
|
+
/**
|
|
233
|
+
* Returns the text describing the external order, or null.
|
|
234
|
+
*/
|
|
235
|
+
externalOrderText: string | null;
|
|
236
|
+
/**
|
|
237
|
+
* The Global Party ID reconciles customer identity across multiple systems. For example, as part of the Service for
|
|
238
|
+
* Commerce experience, service agents can find information for customers who have never called into the call
|
|
239
|
+
* center, but have created a profile on the website. Service agents can find guest order data from B2C Commerce and
|
|
240
|
+
* easily create accounts for customers. Customer 360 Data Manager matches records from multiple data sources to
|
|
241
|
+
* determine all the records associated with a specific customer.
|
|
242
|
+
*/
|
|
243
|
+
readonly globalPartyID: string | null;
|
|
244
|
+
/**
|
|
245
|
+
* Returns <CODE>true</CODE>, if the order is imported and <CODE>false</CODE>
|
|
246
|
+
* otherwise.
|
|
247
|
+
*/
|
|
248
|
+
readonly imported: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* Returns the collection of dw.order.InvoiceItems associated with this order.
|
|
251
|
+
*
|
|
252
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
253
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
254
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
255
|
+
* affected by this change and can use the APIs until further notice.
|
|
256
|
+
*/
|
|
257
|
+
readonly invoiceItems: FilteringCollection<InvoiceItem>;
|
|
258
|
+
/**
|
|
259
|
+
* Returns the invoice number for this Order.
|
|
260
|
+
*
|
|
261
|
+
* When an order is placed (e.g. with dw.order.OrderMgr.placeOrder) invoice number will be filled
|
|
262
|
+
* using a sequence. Before order was placed `null` will be returned unless it was set with
|
|
263
|
+
* setInvoiceNo.
|
|
264
|
+
*/
|
|
265
|
+
invoiceNo: string | null;
|
|
266
|
+
/**
|
|
267
|
+
* Returns the collection of dw.order.Invoices associated with this order.
|
|
268
|
+
*
|
|
269
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
270
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
271
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
272
|
+
* affected by this change and can use the APIs until further notice.
|
|
273
|
+
*/
|
|
274
|
+
readonly invoices: FilteringCollection<Invoice>;
|
|
275
|
+
/**
|
|
276
|
+
* Returns the order export XML as String object.
|
|
277
|
+
*
|
|
278
|
+
* NOTE: This method will return payment instrument data masked. If payment instrument re-encryption is needed
|
|
279
|
+
* please use getOrderExportXML_2 instead.
|
|
280
|
+
*
|
|
281
|
+
* Example:
|
|
282
|
+
* @example
|
|
283
|
+
* var orderXMLAsString : String = order.getOrderExportXML();
|
|
284
|
+
* var orderXML : XML = new XML(orderXMLAsString);
|
|
285
|
+
* @throws IllegalStateException If the method is called in a transaction with changes.
|
|
286
|
+
* @throws IllegalStateException If the order is not placed. This method can be called for placed orders only.
|
|
287
|
+
* @throws IllegalStateException If the order export XML could not be generated.
|
|
288
|
+
*/
|
|
289
|
+
readonly orderExportXML: string;
|
|
290
|
+
/**
|
|
291
|
+
* Returns the order number for this order.
|
|
292
|
+
*/
|
|
293
|
+
readonly orderNo: string;
|
|
294
|
+
/**
|
|
295
|
+
* Returns the token for this order. The order token is a string (length 32 bytes) associated
|
|
296
|
+
* with this one order. The order token is random. It reduces the capability of malicious
|
|
297
|
+
* users to access an order through guessing. Order token can be used to further validate order
|
|
298
|
+
* ownership, but should never be used to solely validate ownership. In addition, the storefront
|
|
299
|
+
* should ensure authentication and authorization. See the Security Best Practices for Developers for details.
|
|
300
|
+
*/
|
|
301
|
+
readonly orderToken: string;
|
|
302
|
+
/**
|
|
303
|
+
* Returns the original order associated with
|
|
304
|
+
* this order. The original order represents an order that was the
|
|
305
|
+
* first ancestor in a chain of orders.
|
|
306
|
+
* For example, if Order1 was replaced by Order2, Order2 is the current
|
|
307
|
+
* representation of the order and Order1 is the original representation
|
|
308
|
+
* of the order. If you replace Order2 with Order3, Order1 is still the
|
|
309
|
+
* original representation of the order. If this order is the first
|
|
310
|
+
* ancestor, this method returns this order.
|
|
311
|
+
* @see dw.order.Order.getCurrentOrderNo
|
|
312
|
+
* @see dw.order.Order.getCurrentOrder
|
|
313
|
+
* @see dw.order.Order.getReplacedOrderNo
|
|
314
|
+
* @see dw.order.Order.getReplacedOrder
|
|
315
|
+
* @see dw.order.Order.getReplacementOrderNo
|
|
316
|
+
* @see dw.order.Order.getReplacementOrder
|
|
317
|
+
*/
|
|
318
|
+
readonly originalOrder: Order;
|
|
319
|
+
/**
|
|
320
|
+
* Returns the order number of the original order associated with
|
|
321
|
+
* this order. The original order represents an order that was the
|
|
322
|
+
* first ancestor in a chain of orders.
|
|
323
|
+
* For example, if Order1 was replaced by Order2, Order2 is the current
|
|
324
|
+
* representation of the order and Order1 is the original representation
|
|
325
|
+
* of the order. If you replace Order2 with Order3, Order1 is still the
|
|
326
|
+
* original representation of the order. If this order is the first
|
|
327
|
+
* ancestor, this method returns the value of getOrderNo().
|
|
328
|
+
* @see dw.order.Order.getCurrentOrderNo
|
|
329
|
+
* @see dw.order.Order.getCurrentOrder
|
|
330
|
+
* @see dw.order.Order.getReplacedOrderNo
|
|
331
|
+
* @see dw.order.Order.getReplacedOrder
|
|
332
|
+
* @see dw.order.Order.getReplacementOrderNo
|
|
333
|
+
* @see dw.order.Order.getReplacementOrder
|
|
334
|
+
*/
|
|
335
|
+
readonly originalOrderNo: string;
|
|
336
|
+
/**
|
|
337
|
+
* Returns the order payment status value.
|
|
338
|
+
*
|
|
339
|
+
* Possible values are PAYMENT_STATUS_NOTPAID, PAYMENT_STATUS_PARTPAID
|
|
340
|
+
* or PAYMENT_STATUS_PAID.
|
|
341
|
+
*/
|
|
342
|
+
paymentStatus: EnumValue;
|
|
343
|
+
/**
|
|
344
|
+
* Returns the payment transaction associated with this order.
|
|
345
|
+
* It is possible that there are multiple payment transactions
|
|
346
|
+
* associated with the order. In this case, this method returns
|
|
347
|
+
* the transaction associated with the first PaymentInstrument
|
|
348
|
+
* returned by `getPaymentInstruments()`.
|
|
349
|
+
* @deprecated Use dw.order.LineItemCtnr.getPaymentInstruments
|
|
350
|
+
* to get the list of PaymentInstrument instances and then use
|
|
351
|
+
* getPaymentTransaction() method on each PaymentInstrument to access
|
|
352
|
+
* the individual transactions.
|
|
353
|
+
*/
|
|
354
|
+
readonly paymentTransaction: PaymentTransaction | null;
|
|
355
|
+
/**
|
|
356
|
+
* Returns the sum of the refunded amounts. The refunded amounts are
|
|
357
|
+
* calculated on the fly. Associate a payment refund for an dw.order.PaymentInstrument with an dw.order.Invoice
|
|
358
|
+
* using Invoice.addRefundTransaction.
|
|
359
|
+
*/
|
|
360
|
+
readonly refundedAmount: Money;
|
|
361
|
+
/**
|
|
362
|
+
* Returns the IP address of the remote host from which the order was created.
|
|
363
|
+
*
|
|
364
|
+
* If the IP address was not captured for the order because order IP logging
|
|
365
|
+
* was disabled at the time the order was created, null will be returned.
|
|
366
|
+
*/
|
|
367
|
+
readonly remoteHost: string | null;
|
|
368
|
+
/**
|
|
369
|
+
* If this order was replaced by another order,
|
|
370
|
+
* returns the value of the replace code. Otherwise.
|
|
371
|
+
* returns null.
|
|
372
|
+
*/
|
|
373
|
+
replaceCode: EnumValue;
|
|
374
|
+
/**
|
|
375
|
+
* If this order was replaced by another order,
|
|
376
|
+
* returns the value of the replace description. Otherwise
|
|
377
|
+
* returns null.
|
|
378
|
+
*/
|
|
379
|
+
replaceDescription: string | null;
|
|
380
|
+
/**
|
|
381
|
+
* Returns the order that this order replaced or null. For example, if you
|
|
382
|
+
* have three orders where Order1 was replaced by Order2 and Order2 was
|
|
383
|
+
* replaced by Order3, calling this method on Order3 will return Order2.
|
|
384
|
+
* Similarly, calling this method on Order1 will return null as Order1 was
|
|
385
|
+
* the original order.
|
|
386
|
+
* @see getCurrentOrderNo
|
|
387
|
+
* @see getCurrentOrder
|
|
388
|
+
* @see getOriginalOrderNo
|
|
389
|
+
* @see getOriginalOrder
|
|
390
|
+
* @see getReplacementOrderNo
|
|
391
|
+
* @see getReplacementOrder
|
|
392
|
+
*/
|
|
393
|
+
readonly replacedOrder: Order | null;
|
|
394
|
+
/**
|
|
395
|
+
* Returns the order number that this order replaced or null if this order
|
|
396
|
+
* did not replace an order. For example, if you have three orders
|
|
397
|
+
* where Order1 was replaced by Order2 and Order2 was replaced by Order3,
|
|
398
|
+
* calling this method on Order3 will return the order number for
|
|
399
|
+
* Order2. Similarly, calling this method on Order1 will return null as
|
|
400
|
+
* Order1 was the original order.
|
|
401
|
+
* @see getCurrentOrderNo
|
|
402
|
+
* @see getCurrentOrder
|
|
403
|
+
* @see getOriginalOrderNo
|
|
404
|
+
* @see getOriginalOrder
|
|
405
|
+
* @see getReplacementOrderNo
|
|
406
|
+
* @see getReplacementOrder
|
|
407
|
+
*/
|
|
408
|
+
readonly replacedOrderNo: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* Returns the order that replaced this order, or null.
|
|
411
|
+
* @see getCurrentOrderNo
|
|
412
|
+
* @see getCurrentOrder
|
|
413
|
+
* @see getOriginalOrderNo
|
|
414
|
+
* @see getOriginalOrder
|
|
415
|
+
* @see getReplacedOrderNo
|
|
416
|
+
* @see getReplacedOrder
|
|
417
|
+
*/
|
|
418
|
+
readonly replacementOrder: Order | null;
|
|
419
|
+
/**
|
|
420
|
+
* If this order was replaced by another order,
|
|
421
|
+
* returns the order number that replaced this order. Otherwise
|
|
422
|
+
* returns null.
|
|
423
|
+
* @see getCurrentOrderNo
|
|
424
|
+
* @see getCurrentOrder
|
|
425
|
+
* @see getOriginalOrderNo
|
|
426
|
+
* @see getOriginalOrder
|
|
427
|
+
* @see getReplacedOrderNo
|
|
428
|
+
* @see getReplacedOrder
|
|
429
|
+
*/
|
|
430
|
+
readonly replacementOrderNo: string | null;
|
|
431
|
+
/**
|
|
432
|
+
* Returns the collection of dw.order.ReturnCaseItems associated with this order.
|
|
433
|
+
*
|
|
434
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
435
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
436
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
437
|
+
* affected by this change and can use the APIs until further notice.
|
|
438
|
+
*/
|
|
439
|
+
readonly returnCaseItems: FilteringCollection<ReturnCaseItem>;
|
|
440
|
+
/**
|
|
441
|
+
* Returns the collection of dw.order.ReturnCases associated with this order.
|
|
442
|
+
*
|
|
443
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
444
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
445
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
446
|
+
* affected by this change and can use the APIs until further notice.
|
|
447
|
+
*/
|
|
448
|
+
readonly returnCases: FilteringCollection<ReturnCase>;
|
|
449
|
+
/**
|
|
450
|
+
* Returns the collection of dw.order.ReturnItems associated with this order.
|
|
451
|
+
*
|
|
452
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
453
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
454
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
455
|
+
* affected by this change and can use the APIs until further notice.
|
|
456
|
+
*/
|
|
457
|
+
readonly returnItems: FilteringCollection<ReturnItem>;
|
|
458
|
+
/**
|
|
459
|
+
* Returns the collection of dw.order.Returns associated with this order.
|
|
460
|
+
*
|
|
461
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
462
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
463
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
464
|
+
* affected by this change and can use the APIs until further notice.
|
|
465
|
+
*/
|
|
466
|
+
readonly returns: FilteringCollection<Return>;
|
|
467
|
+
/**
|
|
468
|
+
* Returns the collection of dw.order.ShippingOrderItems associated with this order.
|
|
469
|
+
*
|
|
470
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
471
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
472
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
473
|
+
* affected by this change and can use the APIs until further notice.
|
|
474
|
+
*/
|
|
475
|
+
readonly shippingOrderItems: FilteringCollection<ShippingOrderItem>;
|
|
476
|
+
/**
|
|
477
|
+
* Returns the collection of dw.order.ShippingOrders associated with this order.
|
|
478
|
+
*
|
|
479
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
480
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
481
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
482
|
+
* affected by this change and can use the APIs until further notice.
|
|
483
|
+
*/
|
|
484
|
+
readonly shippingOrders: FilteringCollection<ShippingOrder>;
|
|
485
|
+
/**
|
|
486
|
+
* Returns the order shipping status.
|
|
487
|
+
*
|
|
488
|
+
* Possible values are SHIPPING_STATUS_NOTSHIPPED,
|
|
489
|
+
* SHIPPING_STATUS_PARTSHIPPED or SHIPPING_STATUS_SHIPPED.
|
|
490
|
+
*/
|
|
491
|
+
shippingStatus: EnumValue;
|
|
492
|
+
/**
|
|
493
|
+
* Returns the source code stored with the order or `null` if no source code is attached to the order.
|
|
494
|
+
*/
|
|
495
|
+
readonly sourceCode: string | null;
|
|
496
|
+
/**
|
|
497
|
+
* Returns the source code group attached to the order or `null` if no source code group is attached to
|
|
498
|
+
* the order.
|
|
499
|
+
*/
|
|
500
|
+
readonly sourceCodeGroup: SourceCodeGroup | null;
|
|
501
|
+
/**
|
|
502
|
+
* Returns the source code group id stored with the order or `null` if no source code group is attached
|
|
503
|
+
* to the order.
|
|
504
|
+
*/
|
|
505
|
+
readonly sourceCodeGroupID: string | null;
|
|
506
|
+
/**
|
|
507
|
+
* Returns the status of the order.
|
|
508
|
+
*
|
|
509
|
+
* Possible values are:
|
|
510
|
+
*
|
|
511
|
+
* - ORDER_STATUS_CREATED
|
|
512
|
+
* - ORDER_STATUS_NEW
|
|
513
|
+
* - ORDER_STATUS_OPEN
|
|
514
|
+
* - ORDER_STATUS_COMPLETED
|
|
515
|
+
* - ORDER_STATUS_CANCELLED
|
|
516
|
+
* - ORDER_STATUS_FAILED
|
|
517
|
+
* - ORDER_STATUS_REPLACED
|
|
518
|
+
*
|
|
519
|
+
* The order status usually changes when a process action is initiated. Most status changes have an action which
|
|
520
|
+
* needs to executed in order to end having the order in a specific order status. When an order is created with e.g.
|
|
521
|
+
* dw.order.OrderMgr.createOrder the order status will be ORDER_STATUS_CREATED. The usual
|
|
522
|
+
* flow is that payment authorization will be added to the order. Once the order is considered as valid (payed,
|
|
523
|
+
* fraud checked, ...) the order gets placed. This can be done by calling
|
|
524
|
+
* dw.order.OrderMgr.placeOrder. The result of placing an order will be status
|
|
525
|
+
* ORDER_STATUS_OPEN (from a process standpoint ORDER_STATUS_NEW which has the same meaning).
|
|
526
|
+
* Status ORDER_STATUS_REPLACED is related to functionality
|
|
527
|
+
* dw.order.BasketMgr.createBasketFromOrder. ORDER_STATUS_COMPLETED has no meaning by
|
|
528
|
+
* default but can be used by custom implementations but is a synonym for NEW/OPEN. Below you will find the most important status changes:
|
|
529
|
+
*
|
|
530
|
+
* Status before Action Status after Business meaning
|
|
531
|
+
* - dw.order.OrderMgr.createOrder CREATED Order was created from a basket.
|
|
532
|
+
* CREATED dw.order.OrderMgr.placeOrder OPEN/NEW Order was considered as valid. Order can now be exported to 3rd party systems.
|
|
533
|
+
* CREATED dw.order.OrderMgr.failOrder FAILED Order was considered not valid. E.g. payment authorization was wrong or fraud check was not successful.
|
|
534
|
+
* OPEN/NEW dw.order.OrderMgr.cancelOrder CANCELLED Order was cancelled.
|
|
535
|
+
* CANCELLED dw.order.OrderMgr.undoCancelOrder OPEN/NEW Order was cancelled by mistake and this needs to be undone.
|
|
536
|
+
* FAILED dw.order.OrderMgr.undoFailOrder CREATED Order was failed by mistake and this needs to be undone.
|
|
537
|
+
*
|
|
538
|
+
* Every status change will trigger a change in the order journal which is the base for GMV calculations.
|
|
539
|
+
* @see dw.order.LineItemCtnr
|
|
540
|
+
*/
|
|
541
|
+
status: EnumValue;
|
|
542
|
+
/**
|
|
543
|
+
* Use this method to check if the Order was created with grouped taxation calculation.
|
|
544
|
+
*
|
|
545
|
+
* If the tax is rounded on group level, the tax is applied to the summed-up tax basis for each tax rate.
|
|
546
|
+
*/
|
|
547
|
+
readonly taxRoundedAtGroup: boolean;
|
|
548
|
+
private constructor();
|
|
549
|
+
/**
|
|
550
|
+
* Creates a new dw.order.Appeasement associated with this order.
|
|
551
|
+
*
|
|
552
|
+
* An appeasementNumber must be specified.
|
|
553
|
+
*
|
|
554
|
+
* If an Appeasement already exists for the appeasementNumber, the method fails with an
|
|
555
|
+
* exception.
|
|
556
|
+
*
|
|
557
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
558
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
559
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
560
|
+
* affected by this change and can use the APIs until further notice.
|
|
561
|
+
* @throws IllegalArgumentException if an Appeasement already exists with the number.
|
|
562
|
+
*/
|
|
563
|
+
createAppeasement(appeasementNumber: string): Appeasement;
|
|
564
|
+
/**
|
|
565
|
+
* Creates a new dw.order.Appeasement associated with this order.
|
|
566
|
+
*
|
|
567
|
+
* The new Appeasement
|
|
568
|
+
* will have an appeasementNumber based on the getOrderNo.
|
|
569
|
+
*
|
|
570
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
571
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
572
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
573
|
+
* affected by this change and can use the APIs until further notice.
|
|
574
|
+
*/
|
|
575
|
+
createAppeasement(): Appeasement;
|
|
576
|
+
/**
|
|
577
|
+
* Creates a new dw.order.ReturnCase associated with this order
|
|
578
|
+
* specifying whether the ReturnCase is an RMA (return merchandise authorization).
|
|
579
|
+
*
|
|
580
|
+
* A returnCaseNumber must be specified.
|
|
581
|
+
*
|
|
582
|
+
* If a ReturnCase already exists for the returnCaseNumber, the method fails with an
|
|
583
|
+
* exception.
|
|
584
|
+
*
|
|
585
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
586
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
587
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
588
|
+
* affected by this change and can use the APIs until further notice.
|
|
589
|
+
* @throws IllegalArgumentException if a ReturnCase already exists with the number.
|
|
590
|
+
*/
|
|
591
|
+
createReturnCase(returnCaseNumber: string, isRMA: boolean): ReturnCase | null;
|
|
592
|
+
/**
|
|
593
|
+
* Creates a new dw.order.ReturnCase associated with this order
|
|
594
|
+
* specifying whether the ReturnCase is an RMA (return merchandise authorization).
|
|
595
|
+
*
|
|
596
|
+
* The new ReturnCase
|
|
597
|
+
* will have a returnCaseNumber based on the getOrderNo, e.g. for an order-no 1234 the
|
|
598
|
+
* return cases will have the numbers 1234#RC1, 1234#RC2, 1234#RC3...
|
|
599
|
+
*
|
|
600
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
601
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
602
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
603
|
+
* affected by this change and can use the APIs until further notice.
|
|
604
|
+
*/
|
|
605
|
+
createReturnCase(isRMA: boolean): ReturnCase;
|
|
606
|
+
/**
|
|
607
|
+
* Returns the dw.order.OrderItem order item with the given status which wraps a new
|
|
608
|
+
* dw.order.ShippingLineItem service item which is created and added to the order.
|
|
609
|
+
*/
|
|
610
|
+
createServiceItem(ID: string, status: string): OrderItem;
|
|
611
|
+
/**
|
|
612
|
+
* Creates a new dw.order.ShippingOrder for this order.
|
|
613
|
+
*
|
|
614
|
+
* Generates a default shipping order number. Use
|
|
615
|
+
* createShippingOrder for a defined shipping order number.
|
|
616
|
+
*
|
|
617
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
618
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
619
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
620
|
+
* affected by this change and can use the APIs until further notice.
|
|
621
|
+
* @see dw.order.ShippingOrder
|
|
622
|
+
*/
|
|
623
|
+
createShippingOrder(): ShippingOrder;
|
|
624
|
+
/**
|
|
625
|
+
* Creates a new dw.order.ShippingOrder for this order.
|
|
626
|
+
*
|
|
627
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
628
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
629
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
630
|
+
* affected by this change and can use the APIs until further notice.
|
|
631
|
+
* @see dw.order.ShippingOrder
|
|
632
|
+
*/
|
|
633
|
+
createShippingOrder(shippingOrderNumber: string): ShippingOrder;
|
|
634
|
+
/**
|
|
635
|
+
* Returns the affiliate partner ID value, or null.
|
|
636
|
+
*/
|
|
637
|
+
getAffiliatePartnerID(): string | null;
|
|
638
|
+
/**
|
|
639
|
+
* Returns the affiliate partner name value, or null.
|
|
640
|
+
*/
|
|
641
|
+
getAffiliatePartnerName(): string | null;
|
|
642
|
+
/**
|
|
643
|
+
* Returns the dw.order.Appeasement associated with this order with the given appeasementNumber.
|
|
644
|
+
* The method returns `null` if no instance can be found.
|
|
645
|
+
*/
|
|
646
|
+
getAppeasement(appeasementNumber: string): Appeasement | null;
|
|
647
|
+
/**
|
|
648
|
+
* Returns the dw.order.AppeasementItem associated with this Order with the given appeasementItemID.
|
|
649
|
+
* The method returns `null` if no instance can be found.
|
|
650
|
+
*/
|
|
651
|
+
getAppeasementItem(appeasementItemID: string): AppeasementItem | null;
|
|
652
|
+
/**
|
|
653
|
+
* Returns the collection of dw.order.AppeasementItems associated with this order.
|
|
654
|
+
*/
|
|
655
|
+
getAppeasementItems(): FilteringCollection<AppeasementItem>;
|
|
656
|
+
/**
|
|
657
|
+
* Returns the collection of dw.order.Appeasements associated with this order.
|
|
658
|
+
*/
|
|
659
|
+
getAppeasements(): FilteringCollection<Appeasement>;
|
|
660
|
+
/**
|
|
661
|
+
* If this order was cancelled, returns the value of the
|
|
662
|
+
* cancel code or null.
|
|
663
|
+
*/
|
|
664
|
+
getCancelCode(): EnumValue | null;
|
|
665
|
+
/**
|
|
666
|
+
* If this order was cancelled, returns the text describing why
|
|
667
|
+
* the order was cancelled or null.
|
|
668
|
+
*/
|
|
669
|
+
getCancelDescription(): string | null;
|
|
670
|
+
/**
|
|
671
|
+
* Returns the sum of the captured amounts. The captured amounts
|
|
672
|
+
* are calculated on the fly. Associate a payment capture for an dw.order.PaymentInstrument with an dw.order.Invoice
|
|
673
|
+
* using Invoice.addCaptureTransaction.
|
|
674
|
+
*/
|
|
675
|
+
getCapturedAmount(): Money;
|
|
676
|
+
/**
|
|
677
|
+
* Returns the confirmation status of the order.
|
|
678
|
+
*
|
|
679
|
+
* Possible values are CONFIRMATION_STATUS_NOTCONFIRMED and
|
|
680
|
+
* CONFIRMATION_STATUS_CONFIRMED.
|
|
681
|
+
*/
|
|
682
|
+
getConfirmationStatus(): EnumValue;
|
|
683
|
+
/**
|
|
684
|
+
* Returns the name of the user who has created the order.
|
|
685
|
+
* If an agent user has created the order, the agent user's name
|
|
686
|
+
* is returned. Otherwise "Customer" is returned.
|
|
687
|
+
*/
|
|
688
|
+
getCreatedBy(): string;
|
|
689
|
+
/**
|
|
690
|
+
* Returns the current order. The current order
|
|
691
|
+
* represents the most recent order in a chain of orders.
|
|
692
|
+
* For example, if Order1 was replaced by Order2, Order2 is the current
|
|
693
|
+
* representation of the order and Order1 is the original representation
|
|
694
|
+
* of the order. If you replace Order2 with Order3, Order 3 is now the
|
|
695
|
+
* current order and Order1 is still the original representation of the
|
|
696
|
+
* order. If this order has not been replaced, this method returns this
|
|
697
|
+
* order because this order is the current order.
|
|
698
|
+
* @see getOriginalOrderNo
|
|
699
|
+
* @see getOriginalOrder
|
|
700
|
+
* @see getReplacedOrderNo
|
|
701
|
+
* @see getReplacedOrder
|
|
702
|
+
* @see getReplacementOrderNo
|
|
703
|
+
* @see getReplacementOrder
|
|
704
|
+
*/
|
|
705
|
+
getCurrentOrder(): Order;
|
|
706
|
+
/**
|
|
707
|
+
* Returns the order number of the current order. The current order
|
|
708
|
+
* represents the most recent order in a chain of orders.
|
|
709
|
+
* For example, if Order1 was replaced by Order2, Order2 is the current
|
|
710
|
+
* representation of the order and Order1 is the original representation
|
|
711
|
+
* of the order. If you replace Order2 with Order3, Order 3 is now the
|
|
712
|
+
* current order and Order1 is still the original representation of the
|
|
713
|
+
* order. If this order has not been replaced, calling this method returns the
|
|
714
|
+
* same value as the getOrderNo method because this order is the
|
|
715
|
+
* current order.
|
|
716
|
+
* @see getOriginalOrderNo
|
|
717
|
+
* @see getOriginalOrder
|
|
718
|
+
* @see getReplacedOrderNo
|
|
719
|
+
* @see getReplacedOrder
|
|
720
|
+
* @see getReplacementOrderNo
|
|
721
|
+
* @see getReplacementOrder
|
|
722
|
+
*/
|
|
723
|
+
getCurrentOrderNo(): string;
|
|
724
|
+
/**
|
|
725
|
+
* Returns the ID of the locale that was in effect when the order
|
|
726
|
+
* was placed. This is the customer's locale.
|
|
727
|
+
*/
|
|
728
|
+
getCustomerLocaleID(): string | null;
|
|
729
|
+
/**
|
|
730
|
+
* Returns the customer-specific reference information for the order, or null.
|
|
731
|
+
*/
|
|
732
|
+
getCustomerOrderReference(): string | null;
|
|
733
|
+
/**
|
|
734
|
+
* Returns a date after which an order can be exported.
|
|
735
|
+
*/
|
|
736
|
+
getExportAfter(): Date;
|
|
737
|
+
/**
|
|
738
|
+
* Returns the export status of the order.
|
|
739
|
+
*
|
|
740
|
+
* Possible values are: EXPORT_STATUS_NOTEXPORTED,
|
|
741
|
+
* EXPORT_STATUS_EXPORTED, EXPORT_STATUS_READY,
|
|
742
|
+
* and EXPORT_STATUS_FAILED.
|
|
743
|
+
*/
|
|
744
|
+
getExportStatus(): EnumValue;
|
|
745
|
+
/**
|
|
746
|
+
* Returns the value of an external order number associated
|
|
747
|
+
* with this order, or null.
|
|
748
|
+
*/
|
|
749
|
+
getExternalOrderNo(): string | null;
|
|
750
|
+
/**
|
|
751
|
+
* Returns the status of an external order associated
|
|
752
|
+
* with this order, or null.
|
|
753
|
+
*/
|
|
754
|
+
getExternalOrderStatus(): string | null;
|
|
755
|
+
/**
|
|
756
|
+
* Returns the text describing the external order, or null.
|
|
757
|
+
*/
|
|
758
|
+
getExternalOrderText(): string | null;
|
|
759
|
+
/**
|
|
760
|
+
* The Global Party ID reconciles customer identity across multiple systems. For example, as part of the Service for
|
|
761
|
+
* Commerce experience, service agents can find information for customers who have never called into the call
|
|
762
|
+
* center, but have created a profile on the website. Service agents can find guest order data from B2C Commerce and
|
|
763
|
+
* easily create accounts for customers. Customer 360 Data Manager matches records from multiple data sources to
|
|
764
|
+
* determine all the records associated with a specific customer.
|
|
765
|
+
*/
|
|
766
|
+
getGlobalPartyID(): string | null;
|
|
767
|
+
/**
|
|
768
|
+
* Returns the dw.order.Invoice associated with this order with the given invoiceNumber.
|
|
769
|
+
* The method returns `null` if no instance can be found.
|
|
770
|
+
*
|
|
771
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
772
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
773
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
774
|
+
* affected by this change and can use the APIs until further notice.
|
|
775
|
+
*/
|
|
776
|
+
getInvoice(invoiceNumber: string): Invoice | null;
|
|
777
|
+
/**
|
|
778
|
+
* Returns the dw.order.InvoiceItem associated with this order with the given ID.
|
|
779
|
+
* The method returns `null` if no instance can be found.
|
|
780
|
+
*
|
|
781
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
782
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
783
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
784
|
+
* affected by this change and can use the APIs until further notice.
|
|
785
|
+
*/
|
|
786
|
+
getInvoiceItem(invoiceItemID: string): InvoiceItem | null;
|
|
787
|
+
/**
|
|
788
|
+
* Returns the collection of dw.order.InvoiceItems associated with this order.
|
|
789
|
+
*
|
|
790
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
791
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
792
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
793
|
+
* affected by this change and can use the APIs until further notice.
|
|
794
|
+
*/
|
|
795
|
+
getInvoiceItems(): FilteringCollection<InvoiceItem>;
|
|
796
|
+
/**
|
|
797
|
+
* Returns the invoice number for this Order.
|
|
798
|
+
*
|
|
799
|
+
* When an order is placed (e.g. with dw.order.OrderMgr.placeOrder) invoice number will be filled
|
|
800
|
+
* using a sequence. Before order was placed `null` will be returned unless it was set with
|
|
801
|
+
* setInvoiceNo.
|
|
802
|
+
*/
|
|
803
|
+
getInvoiceNo(): string | null;
|
|
804
|
+
/**
|
|
805
|
+
* Returns the collection of dw.order.Invoices associated with this order.
|
|
806
|
+
*
|
|
807
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
808
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
809
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
810
|
+
* affected by this change and can use the APIs until further notice.
|
|
811
|
+
*/
|
|
812
|
+
getInvoices(): FilteringCollection<Invoice>;
|
|
813
|
+
/**
|
|
814
|
+
* Returns the order export XML as String object, with payment instrument data re-encrypted using the given
|
|
815
|
+
* encryption algorithm and key.
|
|
816
|
+
*
|
|
817
|
+
* NOTE: If no encryption is needed or desired please always use getOrderExportXML instead, which returns
|
|
818
|
+
* the payment instrument data masked. Do not pass in any null arguments!
|
|
819
|
+
*
|
|
820
|
+
* Example:
|
|
821
|
+
* @example
|
|
822
|
+
* var orderXMLAsString : String = order.getOrderExportXML( "RSA/ECB/PKCS1Padding", "[key]", false );
|
|
823
|
+
* var orderXML : XML = new XML( orderXMLAsString );
|
|
824
|
+
* @throws IllegalStateException If the method is called in a transaction with changes.
|
|
825
|
+
* @throws IllegalStateException If the order is not placed. This method can be called for placed orders only.
|
|
826
|
+
* @throws IllegalStateException If the order export XML could not be generated.
|
|
827
|
+
* @deprecated This method will be removed soon. Please use the following methods instead:
|
|
828
|
+
*
|
|
829
|
+
* - getOrderExportXML \u2013 if payment instrument data should be masked
|
|
830
|
+
* - getOrderExportXML_1 \u2013 if payment instrument data should be re-encrypted
|
|
831
|
+
*/
|
|
832
|
+
getOrderExportXML(encryptionAlgorithm: string, encryptionKey: string, encryptUsingEKID: boolean): string;
|
|
833
|
+
/**
|
|
834
|
+
* Returns the dw.order.OrderItem for the itemID.
|
|
835
|
+
* An OrderItem will only exist for dw.order.ProductLineItems or
|
|
836
|
+
* dw.order.ShippingLineItems which belong to the order.
|
|
837
|
+
* The method fails with an exception if no instance can be found.
|
|
838
|
+
* @throws IllegalArgumentException if no instance is found
|
|
839
|
+
* @see dw.order.ProductLineItem.getOrderItem
|
|
840
|
+
* @see dw.order.ShippingLineItem.getOrderItem
|
|
841
|
+
*/
|
|
842
|
+
getOrderItem(itemID: string): OrderItem;
|
|
843
|
+
/**
|
|
844
|
+
* Returns the order number for this order.
|
|
845
|
+
*/
|
|
846
|
+
getOrderNo(): string;
|
|
847
|
+
/**
|
|
848
|
+
* Returns the token for this order. The order token is a string (length 32 bytes) associated
|
|
849
|
+
* with this one order. The order token is random. It reduces the capability of malicious
|
|
850
|
+
* users to access an order through guessing. Order token can be used to further validate order
|
|
851
|
+
* ownership, but should never be used to solely validate ownership. In addition, the storefront
|
|
852
|
+
* should ensure authentication and authorization. See the Security Best Practices for Developers for details.
|
|
853
|
+
*/
|
|
854
|
+
getOrderToken(): string;
|
|
855
|
+
/**
|
|
856
|
+
* Returns the original order associated with
|
|
857
|
+
* this order. The original order represents an order that was the
|
|
858
|
+
* first ancestor in a chain of orders.
|
|
859
|
+
* For example, if Order1 was replaced by Order2, Order2 is the current
|
|
860
|
+
* representation of the order and Order1 is the original representation
|
|
861
|
+
* of the order. If you replace Order2 with Order3, Order1 is still the
|
|
862
|
+
* original representation of the order. If this order is the first
|
|
863
|
+
* ancestor, this method returns this order.
|
|
864
|
+
* @see dw.order.Order.getCurrentOrderNo
|
|
865
|
+
* @see dw.order.Order.getCurrentOrder
|
|
866
|
+
* @see dw.order.Order.getReplacedOrderNo
|
|
867
|
+
* @see dw.order.Order.getReplacedOrder
|
|
868
|
+
* @see dw.order.Order.getReplacementOrderNo
|
|
869
|
+
* @see dw.order.Order.getReplacementOrder
|
|
870
|
+
*/
|
|
871
|
+
getOriginalOrder(): Order;
|
|
872
|
+
/**
|
|
873
|
+
* Returns the order number of the original order associated with
|
|
874
|
+
* this order. The original order represents an order that was the
|
|
875
|
+
* first ancestor in a chain of orders.
|
|
876
|
+
* For example, if Order1 was replaced by Order2, Order2 is the current
|
|
877
|
+
* representation of the order and Order1 is the original representation
|
|
878
|
+
* of the order. If you replace Order2 with Order3, Order1 is still the
|
|
879
|
+
* original representation of the order. If this order is the first
|
|
880
|
+
* ancestor, this method returns the value of getOrderNo().
|
|
881
|
+
* @see dw.order.Order.getCurrentOrderNo
|
|
882
|
+
* @see dw.order.Order.getCurrentOrder
|
|
883
|
+
* @see dw.order.Order.getReplacedOrderNo
|
|
884
|
+
* @see dw.order.Order.getReplacedOrder
|
|
885
|
+
* @see dw.order.Order.getReplacementOrderNo
|
|
886
|
+
* @see dw.order.Order.getReplacementOrder
|
|
887
|
+
*/
|
|
888
|
+
getOriginalOrderNo(): string;
|
|
889
|
+
/**
|
|
890
|
+
* Returns the order payment status value.
|
|
891
|
+
*
|
|
892
|
+
* Possible values are PAYMENT_STATUS_NOTPAID, PAYMENT_STATUS_PARTPAID
|
|
893
|
+
* or PAYMENT_STATUS_PAID.
|
|
894
|
+
*/
|
|
895
|
+
getPaymentStatus(): EnumValue;
|
|
896
|
+
/**
|
|
897
|
+
* Returns the payment transaction associated with this order.
|
|
898
|
+
* It is possible that there are multiple payment transactions
|
|
899
|
+
* associated with the order. In this case, this method returns
|
|
900
|
+
* the transaction associated with the first PaymentInstrument
|
|
901
|
+
* returned by `getPaymentInstruments()`.
|
|
902
|
+
* @deprecated Use dw.order.LineItemCtnr.getPaymentInstruments
|
|
903
|
+
* to get the list of PaymentInstrument instances and then use
|
|
904
|
+
* getPaymentTransaction() method on each PaymentInstrument to access
|
|
905
|
+
* the individual transactions.
|
|
906
|
+
*/
|
|
907
|
+
getPaymentTransaction(): PaymentTransaction | null;
|
|
908
|
+
/**
|
|
909
|
+
* Returns the sum of the refunded amounts. The refunded amounts are
|
|
910
|
+
* calculated on the fly. Associate a payment refund for an dw.order.PaymentInstrument with an dw.order.Invoice
|
|
911
|
+
* using Invoice.addRefundTransaction.
|
|
912
|
+
*/
|
|
913
|
+
getRefundedAmount(): Money;
|
|
914
|
+
/**
|
|
915
|
+
* Returns the IP address of the remote host from which the order was created.
|
|
916
|
+
*
|
|
917
|
+
* If the IP address was not captured for the order because order IP logging
|
|
918
|
+
* was disabled at the time the order was created, null will be returned.
|
|
919
|
+
*/
|
|
920
|
+
getRemoteHost(): string | null;
|
|
921
|
+
/**
|
|
922
|
+
* If this order was replaced by another order,
|
|
923
|
+
* returns the value of the replace code. Otherwise.
|
|
924
|
+
* returns null.
|
|
925
|
+
*/
|
|
926
|
+
getReplaceCode(): EnumValue;
|
|
927
|
+
/**
|
|
928
|
+
* If this order was replaced by another order,
|
|
929
|
+
* returns the value of the replace description. Otherwise
|
|
930
|
+
* returns null.
|
|
931
|
+
*/
|
|
932
|
+
getReplaceDescription(): string | null;
|
|
933
|
+
/**
|
|
934
|
+
* Returns the order that this order replaced or null. For example, if you
|
|
935
|
+
* have three orders where Order1 was replaced by Order2 and Order2 was
|
|
936
|
+
* replaced by Order3, calling this method on Order3 will return Order2.
|
|
937
|
+
* Similarly, calling this method on Order1 will return null as Order1 was
|
|
938
|
+
* the original order.
|
|
939
|
+
* @see getCurrentOrderNo
|
|
940
|
+
* @see getCurrentOrder
|
|
941
|
+
* @see getOriginalOrderNo
|
|
942
|
+
* @see getOriginalOrder
|
|
943
|
+
* @see getReplacementOrderNo
|
|
944
|
+
* @see getReplacementOrder
|
|
945
|
+
*/
|
|
946
|
+
getReplacedOrder(): Order | null;
|
|
947
|
+
/**
|
|
948
|
+
* Returns the order number that this order replaced or null if this order
|
|
949
|
+
* did not replace an order. For example, if you have three orders
|
|
950
|
+
* where Order1 was replaced by Order2 and Order2 was replaced by Order3,
|
|
951
|
+
* calling this method on Order3 will return the order number for
|
|
952
|
+
* Order2. Similarly, calling this method on Order1 will return null as
|
|
953
|
+
* Order1 was the original order.
|
|
954
|
+
* @see getCurrentOrderNo
|
|
955
|
+
* @see getCurrentOrder
|
|
956
|
+
* @see getOriginalOrderNo
|
|
957
|
+
* @see getOriginalOrder
|
|
958
|
+
* @see getReplacementOrderNo
|
|
959
|
+
* @see getReplacementOrder
|
|
960
|
+
*/
|
|
961
|
+
getReplacedOrderNo(): string | null;
|
|
962
|
+
/**
|
|
963
|
+
* Returns the order that replaced this order, or null.
|
|
964
|
+
* @see getCurrentOrderNo
|
|
965
|
+
* @see getCurrentOrder
|
|
966
|
+
* @see getOriginalOrderNo
|
|
967
|
+
* @see getOriginalOrder
|
|
968
|
+
* @see getReplacedOrderNo
|
|
969
|
+
* @see getReplacedOrder
|
|
970
|
+
*/
|
|
971
|
+
getReplacementOrder(): Order | null;
|
|
972
|
+
/**
|
|
973
|
+
* If this order was replaced by another order,
|
|
974
|
+
* returns the order number that replaced this order. Otherwise
|
|
975
|
+
* returns null.
|
|
976
|
+
* @see getCurrentOrderNo
|
|
977
|
+
* @see getCurrentOrder
|
|
978
|
+
* @see getOriginalOrderNo
|
|
979
|
+
* @see getOriginalOrder
|
|
980
|
+
* @see getReplacedOrderNo
|
|
981
|
+
* @see getReplacedOrder
|
|
982
|
+
*/
|
|
983
|
+
getReplacementOrderNo(): string | null;
|
|
984
|
+
/**
|
|
985
|
+
* Returns the dw.order.Return associated with this order with the given returnNumber.
|
|
986
|
+
* The method returns `null` if no instance can be found.
|
|
987
|
+
*
|
|
988
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
989
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
990
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
991
|
+
* affected by this change and can use the APIs until further notice.
|
|
992
|
+
*/
|
|
993
|
+
getReturn(returnNumber: string): Return | null;
|
|
994
|
+
/**
|
|
995
|
+
* Returns the dw.order.ReturnCase associated with this order with the given returnCaseNumber.
|
|
996
|
+
* The method returns `null` if no instance can be found.
|
|
997
|
+
*
|
|
998
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
999
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1000
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1001
|
+
* affected by this change and can use the APIs until further notice.
|
|
1002
|
+
*/
|
|
1003
|
+
getReturnCase(returnCaseNumber: string): ReturnCase | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* Returns the dw.order.ReturnCaseItem associated with this order with the given returnCaseItemID.
|
|
1006
|
+
* The method returns `null` if no instance can be found.
|
|
1007
|
+
*
|
|
1008
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1009
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1010
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1011
|
+
* affected by this change and can use the APIs until further notice.
|
|
1012
|
+
*/
|
|
1013
|
+
getReturnCaseItem(returnCaseItemID: string): ReturnCaseItem | null;
|
|
1014
|
+
/**
|
|
1015
|
+
* Returns the collection of dw.order.ReturnCaseItems associated with this order.
|
|
1016
|
+
*
|
|
1017
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1018
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1019
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1020
|
+
* affected by this change and can use the APIs until further notice.
|
|
1021
|
+
*/
|
|
1022
|
+
getReturnCaseItems(): FilteringCollection<ReturnCaseItem>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Returns the collection of dw.order.ReturnCases associated with this order.
|
|
1025
|
+
*
|
|
1026
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1027
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1028
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1029
|
+
* affected by this change and can use the APIs until further notice.
|
|
1030
|
+
*/
|
|
1031
|
+
getReturnCases(): FilteringCollection<ReturnCase>;
|
|
1032
|
+
/**
|
|
1033
|
+
* Returns the dw.order.ReturnItem associated with this order with the given ID.
|
|
1034
|
+
* The method returns `null` if no instance can be found.
|
|
1035
|
+
*
|
|
1036
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1037
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1038
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1039
|
+
* affected by this change and can use the APIs until further notice.
|
|
1040
|
+
*/
|
|
1041
|
+
getReturnItem(returnItemID: string): ReturnItem | null;
|
|
1042
|
+
/**
|
|
1043
|
+
* Returns the collection of dw.order.ReturnItems associated with this order.
|
|
1044
|
+
*
|
|
1045
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1046
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1047
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1048
|
+
* affected by this change and can use the APIs until further notice.
|
|
1049
|
+
*/
|
|
1050
|
+
getReturnItems(): FilteringCollection<ReturnItem>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Returns the collection of dw.order.Returns associated with this order.
|
|
1053
|
+
*
|
|
1054
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1055
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1056
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1057
|
+
* affected by this change and can use the APIs until further notice.
|
|
1058
|
+
*/
|
|
1059
|
+
getReturns(): FilteringCollection<Return>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Returns the dw.order.ShippingOrder associated with this order with the given shippingOrderNumber.
|
|
1062
|
+
* The method returns `null` if no instance can be found.
|
|
1063
|
+
*
|
|
1064
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1065
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1066
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1067
|
+
* affected by this change and can use the APIs until further notice.
|
|
1068
|
+
*/
|
|
1069
|
+
getShippingOrder(shippingOrderNumber: string): ShippingOrder | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Returns the dw.order.ShippingOrderItem associated with this order with the given shippingOrderItemID.
|
|
1072
|
+
* The method returns `null` if no instance can be found.
|
|
1073
|
+
*
|
|
1074
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1075
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1076
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1077
|
+
* affected by this change and can use the APIs until further notice.
|
|
1078
|
+
*/
|
|
1079
|
+
getShippingOrderItem(shippingOrderItemID: string): ShippingOrderItem | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Returns the collection of dw.order.ShippingOrderItems associated with this order.
|
|
1082
|
+
*
|
|
1083
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1084
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1085
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1086
|
+
* affected by this change and can use the APIs until further notice.
|
|
1087
|
+
*/
|
|
1088
|
+
getShippingOrderItems(): FilteringCollection<ShippingOrderItem>;
|
|
1089
|
+
/**
|
|
1090
|
+
* Returns the collection of dw.order.ShippingOrders associated with this order.
|
|
1091
|
+
*
|
|
1092
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1093
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1094
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1095
|
+
* affected by this change and can use the APIs until further notice.
|
|
1096
|
+
*/
|
|
1097
|
+
getShippingOrders(): FilteringCollection<ShippingOrder>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Returns the order shipping status.
|
|
1100
|
+
*
|
|
1101
|
+
* Possible values are SHIPPING_STATUS_NOTSHIPPED,
|
|
1102
|
+
* SHIPPING_STATUS_PARTSHIPPED or SHIPPING_STATUS_SHIPPED.
|
|
1103
|
+
*/
|
|
1104
|
+
getShippingStatus(): EnumValue;
|
|
1105
|
+
/**
|
|
1106
|
+
* Returns the source code stored with the order or `null` if no source code is attached to the order.
|
|
1107
|
+
*/
|
|
1108
|
+
getSourceCode(): string | null;
|
|
1109
|
+
/**
|
|
1110
|
+
* Returns the source code group attached to the order or `null` if no source code group is attached to
|
|
1111
|
+
* the order.
|
|
1112
|
+
*/
|
|
1113
|
+
getSourceCodeGroup(): SourceCodeGroup | null;
|
|
1114
|
+
/**
|
|
1115
|
+
* Returns the source code group id stored with the order or `null` if no source code group is attached
|
|
1116
|
+
* to the order.
|
|
1117
|
+
*/
|
|
1118
|
+
getSourceCodeGroupID(): string | null;
|
|
1119
|
+
/**
|
|
1120
|
+
* Returns the status of the order.
|
|
1121
|
+
*
|
|
1122
|
+
* Possible values are:
|
|
1123
|
+
*
|
|
1124
|
+
* - ORDER_STATUS_CREATED
|
|
1125
|
+
* - ORDER_STATUS_NEW
|
|
1126
|
+
* - ORDER_STATUS_OPEN
|
|
1127
|
+
* - ORDER_STATUS_COMPLETED
|
|
1128
|
+
* - ORDER_STATUS_CANCELLED
|
|
1129
|
+
* - ORDER_STATUS_FAILED
|
|
1130
|
+
* - ORDER_STATUS_REPLACED
|
|
1131
|
+
*
|
|
1132
|
+
* The order status usually changes when a process action is initiated. Most status changes have an action which
|
|
1133
|
+
* needs to executed in order to end having the order in a specific order status. When an order is created with e.g.
|
|
1134
|
+
* dw.order.OrderMgr.createOrder the order status will be ORDER_STATUS_CREATED. The usual
|
|
1135
|
+
* flow is that payment authorization will be added to the order. Once the order is considered as valid (payed,
|
|
1136
|
+
* fraud checked, ...) the order gets placed. This can be done by calling
|
|
1137
|
+
* dw.order.OrderMgr.placeOrder. The result of placing an order will be status
|
|
1138
|
+
* ORDER_STATUS_OPEN (from a process standpoint ORDER_STATUS_NEW which has the same meaning).
|
|
1139
|
+
* Status ORDER_STATUS_REPLACED is related to functionality
|
|
1140
|
+
* dw.order.BasketMgr.createBasketFromOrder. ORDER_STATUS_COMPLETED has no meaning by
|
|
1141
|
+
* default but can be used by custom implementations but is a synonym for NEW/OPEN. Below you will find the most important status changes:
|
|
1142
|
+
*
|
|
1143
|
+
* Status before Action Status after Business meaning
|
|
1144
|
+
* - dw.order.OrderMgr.createOrder CREATED Order was created from a basket.
|
|
1145
|
+
* CREATED dw.order.OrderMgr.placeOrder OPEN/NEW Order was considered as valid. Order can now be exported to 3rd party systems.
|
|
1146
|
+
* CREATED dw.order.OrderMgr.failOrder FAILED Order was considered not valid. E.g. payment authorization was wrong or fraud check was not successful.
|
|
1147
|
+
* OPEN/NEW dw.order.OrderMgr.cancelOrder CANCELLED Order was cancelled.
|
|
1148
|
+
* CANCELLED dw.order.OrderMgr.undoCancelOrder OPEN/NEW Order was cancelled by mistake and this needs to be undone.
|
|
1149
|
+
* FAILED dw.order.OrderMgr.undoFailOrder CREATED Order was failed by mistake and this needs to be undone.
|
|
1150
|
+
*
|
|
1151
|
+
* Every status change will trigger a change in the order journal which is the base for GMV calculations.
|
|
1152
|
+
* @see dw.order.LineItemCtnr
|
|
1153
|
+
*/
|
|
1154
|
+
getStatus(): EnumValue;
|
|
1155
|
+
/**
|
|
1156
|
+
* Returns <CODE>true</CODE>, if the order is imported and <CODE>false</CODE>
|
|
1157
|
+
* otherwise.
|
|
1158
|
+
*/
|
|
1159
|
+
isImported(): boolean;
|
|
1160
|
+
/**
|
|
1161
|
+
* Use this method to check if the Order was created with grouped taxation calculation.
|
|
1162
|
+
*
|
|
1163
|
+
* If the tax is rounded on group level, the tax is applied to the summed-up tax basis for each tax rate.
|
|
1164
|
+
*/
|
|
1165
|
+
isTaxRoundedAtGroup(): boolean;
|
|
1166
|
+
/**
|
|
1167
|
+
* Ensures that the order is authorized.
|
|
1168
|
+
*
|
|
1169
|
+
* Checks if the order is authorized by calling the hook
|
|
1170
|
+
* dw.order.hooks.PaymentHooks.validateAuthorization. If the authorization
|
|
1171
|
+
* is not valid it reauthorizes the order by calling the
|
|
1172
|
+
* dw.order.hooks.PaymentHooks.reauthorize.
|
|
1173
|
+
*/
|
|
1174
|
+
reauthorize(): Status;
|
|
1175
|
+
/**
|
|
1176
|
+
* Removes the IP address of the remote host if stored.
|
|
1177
|
+
*
|
|
1178
|
+
* If IP logging was enabled during order creation the IP address of the customer will be stored and can be
|
|
1179
|
+
* retrieved using getRemoteHost.
|
|
1180
|
+
* @see getRemoteHost
|
|
1181
|
+
*/
|
|
1182
|
+
removeRemoteHost(): void;
|
|
1183
|
+
/**
|
|
1184
|
+
* Sets the affiliate partner ID value.
|
|
1185
|
+
*/
|
|
1186
|
+
setAffiliatePartnerID(affiliatePartnerID: string): void;
|
|
1187
|
+
/**
|
|
1188
|
+
* Sets the affiliate partner name value.
|
|
1189
|
+
*/
|
|
1190
|
+
setAffiliatePartnerName(affiliatePartnerName: string): void;
|
|
1191
|
+
/**
|
|
1192
|
+
* Sets the cancel code value.
|
|
1193
|
+
*/
|
|
1194
|
+
setCancelCode(cancelCode: string): void;
|
|
1195
|
+
/**
|
|
1196
|
+
* Sets the description as to why the order was cancelled.
|
|
1197
|
+
*/
|
|
1198
|
+
setCancelDescription(cancelDescription: string): void;
|
|
1199
|
+
/**
|
|
1200
|
+
* Sets the confirmation status value.
|
|
1201
|
+
*
|
|
1202
|
+
* Possible values are CONFIRMATION_STATUS_NOTCONFIRMED or
|
|
1203
|
+
* CONFIRMATION_STATUS_CONFIRMED.
|
|
1204
|
+
*/
|
|
1205
|
+
setConfirmationStatus(status: number): void;
|
|
1206
|
+
/**
|
|
1207
|
+
* This method is used to associate the order object with the specified customer object.
|
|
1208
|
+
*
|
|
1209
|
+
* If the customer object represents a registered customer, the order will be assigned
|
|
1210
|
+
* to this registered customer and the order's customer number
|
|
1211
|
+
* (dw.order.LineItemCtnr.getCustomerNo) will be updated.
|
|
1212
|
+
*
|
|
1213
|
+
* If the customer object represents an unregistered (anonymous) customer, the
|
|
1214
|
+
* order will become an anonymous order and the order's customer number
|
|
1215
|
+
* will be set to null.
|
|
1216
|
+
* @throws NullArgumentException If specified customer is null.
|
|
1217
|
+
*/
|
|
1218
|
+
setCustomer(customer: Customer): void;
|
|
1219
|
+
/**
|
|
1220
|
+
* Sets the customer number associated with this order.
|
|
1221
|
+
*
|
|
1222
|
+
* Note it is recommended to use (dw.order.Order.setCustomer) instead of this method. This method
|
|
1223
|
+
* only sets the customer number and should be used with care as it does not re-link the order with a customer
|
|
1224
|
+
* profile</> object which can lead to an inconsistency! Ensure that the customer number used is not already taken
|
|
1225
|
+
* by a different customer profile.
|
|
1226
|
+
*/
|
|
1227
|
+
setCustomerNo(customerNo: string): void;
|
|
1228
|
+
/**
|
|
1229
|
+
* Sets the customer-specific reference information for the order.
|
|
1230
|
+
*/
|
|
1231
|
+
setCustomerOrderReference(reference: string): void;
|
|
1232
|
+
/**
|
|
1233
|
+
* Sets the date after which an order can be exported.
|
|
1234
|
+
*/
|
|
1235
|
+
setExportAfter(date: Date): void;
|
|
1236
|
+
/**
|
|
1237
|
+
* Sets the export status of the order.
|
|
1238
|
+
*
|
|
1239
|
+
* Possible values are: EXPORT_STATUS_NOTEXPORTED, EXPORT_STATUS_EXPORTED,
|
|
1240
|
+
* EXPORT_STATUS_READY, and EXPORT_STATUS_FAILED.
|
|
1241
|
+
*
|
|
1242
|
+
* Setting the status to EXPORT_STATUS_EXPORTED will also trigger the finalization of on order inventory
|
|
1243
|
+
* transactions for this order meaning that all inventory transactions with type on order will be moved into final
|
|
1244
|
+
* inventory transactions. This is only relevant when On Order Inventory is turned on for the inventory list ordered
|
|
1245
|
+
* products are in.
|
|
1246
|
+
*
|
|
1247
|
+
* In case of an exception the current transaction is marked as rollback only.
|
|
1248
|
+
*/
|
|
1249
|
+
setExportStatus(status: number): void;
|
|
1250
|
+
/**
|
|
1251
|
+
* Sets the value of an external order number associated
|
|
1252
|
+
* with this order
|
|
1253
|
+
*/
|
|
1254
|
+
setExternalOrderNo(externalOrderNo: string): void;
|
|
1255
|
+
/**
|
|
1256
|
+
* Sets the status of an external order associated
|
|
1257
|
+
* with this order
|
|
1258
|
+
*/
|
|
1259
|
+
setExternalOrderStatus(status: string): void;
|
|
1260
|
+
/**
|
|
1261
|
+
* Sets the text describing the external order.
|
|
1262
|
+
*/
|
|
1263
|
+
setExternalOrderText(text: string): void;
|
|
1264
|
+
/**
|
|
1265
|
+
* Sets the invoice number for this Order.
|
|
1266
|
+
*
|
|
1267
|
+
* Notice that this value might be overwritten during order placement (e.g. with dw.order.OrderMgr.placeOrder).
|
|
1268
|
+
* @see getInvoiceNo
|
|
1269
|
+
*/
|
|
1270
|
+
setInvoiceNo(invoiceNumber: string): void;
|
|
1271
|
+
/**
|
|
1272
|
+
* Sets the order status.
|
|
1273
|
+
*
|
|
1274
|
+
* Use this method when using Order Post Processing such as the creation of dw.order.ShippingOrder shipping
|
|
1275
|
+
* orders. The only supported values are ORDER_STATUS_OPEN, ORDER_STATUS_CANCELLED. Setting the
|
|
1276
|
+
* status will adjust the order item status when applicable (item status not SHIPPED or CANCELLED). Note that the
|
|
1277
|
+
* order status and the status of the items are directly related and dependent on one another.
|
|
1278
|
+
*
|
|
1279
|
+
* See dw.order.OrderItem.setStatus for more information about possible status transitions.
|
|
1280
|
+
*
|
|
1281
|
+
* Warning: This method will not undo coupon redemptions upon cancellation of an order. Re-opening such an
|
|
1282
|
+
* order later with dw.order.OrderMgr.undoCancelOrder or dw.order.OrderItem.setStatus
|
|
1283
|
+
* with ORDER_STATUS_OPEN will result in an additional application of the same coupon code which in turn
|
|
1284
|
+
* might fail.
|
|
1285
|
+
*
|
|
1286
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
1287
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
1288
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
1289
|
+
* affected by this change and can use the APIs until further notice.
|
|
1290
|
+
* @throws IllegalArgumentException on attempt to set an unsupported status value
|
|
1291
|
+
* @deprecated use setStatus instead
|
|
1292
|
+
*/
|
|
1293
|
+
setOrderStatus(status: number): void;
|
|
1294
|
+
/**
|
|
1295
|
+
* Sets the order payment status.
|
|
1296
|
+
*
|
|
1297
|
+
* Possible values are PAYMENT_STATUS_NOTPAID, PAYMENT_STATUS_PARTPAID
|
|
1298
|
+
* or PAYMENT_STATUS_PAID.
|
|
1299
|
+
*/
|
|
1300
|
+
setPaymentStatus(status: number): void;
|
|
1301
|
+
/**
|
|
1302
|
+
* Sets the value of the replace code.
|
|
1303
|
+
*/
|
|
1304
|
+
setReplaceCode(replaceCode: string): void;
|
|
1305
|
+
/**
|
|
1306
|
+
* Sets the value of the replace description.
|
|
1307
|
+
*/
|
|
1308
|
+
setReplaceDescription(replaceDescription: string): void;
|
|
1309
|
+
/**
|
|
1310
|
+
* Sets the order shipping status value.
|
|
1311
|
+
*
|
|
1312
|
+
* Possible values are SHIPPING_STATUS_NOTSHIPPED,
|
|
1313
|
+
* SHIPPING_STATUS_PARTSHIPPED or SHIPPING_STATUS_SHIPPED.
|
|
1314
|
+
*/
|
|
1315
|
+
setShippingStatus(status: number): void;
|
|
1316
|
+
/**
|
|
1317
|
+
* Sets the status of the order.
|
|
1318
|
+
*
|
|
1319
|
+
* Possible values are:
|
|
1320
|
+
*
|
|
1321
|
+
* - ORDER_STATUS_NEW
|
|
1322
|
+
* - ORDER_STATUS_OPEN
|
|
1323
|
+
* - ORDER_STATUS_COMPLETED
|
|
1324
|
+
* - ORDER_STATUS_CANCELLED
|
|
1325
|
+
* - ORDER_STATUS_REPLACED
|
|
1326
|
+
*
|
|
1327
|
+
* This method does not support order statuses ORDER_STATUS_CREATED or ORDER_STATUS_FAILED. Please
|
|
1328
|
+
* use dw.order.OrderMgr.placeOrder or dw.order.OrderMgr.failOrder.
|
|
1329
|
+
*
|
|
1330
|
+
* Setting the order status to ORDER_STATUS_CANCELLED will have the same effect as calling
|
|
1331
|
+
* dw.order.OrderMgr.cancelOrder. Setting a canceled order to ORDER_STATUS_NEW,
|
|
1332
|
+
* ORDER_STATUS_OPEN or ORDER_STATUS_COMPLETED will have the same effect as calling
|
|
1333
|
+
* dw.order.OrderMgr.undoCancelOrder. It is recommended to use the methods in
|
|
1334
|
+
* dw.order.OrderMgr directly to be able to do error processing with the return code.
|
|
1335
|
+
* @throws IllegalArgumentException on attempt to set status CREATED or FAILED, or status transition while cancel order or undo cancel order returns with an error code.
|
|
1336
|
+
*/
|
|
1337
|
+
setStatus(status: number): void;
|
|
1338
|
+
/**
|
|
1339
|
+
* Tracks an order change.
|
|
1340
|
+
*
|
|
1341
|
+
* This adds a history entry to the order. Focus of history entries are changes through business logic, both custom
|
|
1342
|
+
* and internal logic. Tracked order changes are read-only and can be accessed in the Business Manager order
|
|
1343
|
+
* history. The following attributes of the created dw.object.Note history entry are initialized:
|
|
1344
|
+
*
|
|
1345
|
+
* - dw.object.Note.getCreatedBy gets the current user assigned
|
|
1346
|
+
* - dw.object.Note.getCreationDate gets the current date assigned
|
|
1347
|
+
*
|
|
1348
|
+
* This feature is intended to track important changes in custom order flow which should become visible in Business
|
|
1349
|
+
* Manager's history tab. It is NOT intended as auditing feature for every change to an order. A warning will be
|
|
1350
|
+
* produced after 600 notes are added to an order. The warning can be reviewed in Business Manager's Quota Status
|
|
1351
|
+
* screen. Attempting to add a note to an order which already has 1000 notes results in an exception. Please bear in
|
|
1352
|
+
* mind that internal changes, such as order status changes, also track changes. Avoid using this feature in
|
|
1353
|
+
* recurring jobs which may re-process orders multiple times as the limit needs to be considered each time a change
|
|
1354
|
+
* is tracked. The same limit on the number of notes added also applies when using method
|
|
1355
|
+
* dw.order.LineItemCtnr.addNote to add notes.
|
|
1356
|
+
*/
|
|
1357
|
+
trackOrderChange(text: string): Note;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
export = Order;
|