sfcc-dev-mcp 1.0.16 → 1.0.20

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.
Files changed (983) hide show
  1. package/dist/clients/logs/index.d.ts +13 -0
  2. package/dist/clients/logs/index.d.ts.map +1 -0
  3. package/dist/clients/logs/index.js +15 -0
  4. package/dist/clients/logs/index.js.map +1 -0
  5. package/dist/clients/logs/log-analyzer.d.ts +55 -0
  6. package/dist/clients/logs/log-analyzer.d.ts.map +1 -0
  7. package/dist/clients/logs/log-analyzer.js +228 -0
  8. package/dist/clients/logs/log-analyzer.js.map +1 -0
  9. package/dist/clients/logs/log-client.d.ts +87 -0
  10. package/dist/clients/logs/log-client.d.ts.map +1 -0
  11. package/dist/clients/logs/log-client.js +418 -0
  12. package/dist/clients/logs/log-client.js.map +1 -0
  13. package/dist/clients/logs/log-constants.d.ts +37 -0
  14. package/dist/clients/logs/log-constants.d.ts.map +1 -0
  15. package/dist/clients/logs/log-constants.js +37 -0
  16. package/dist/clients/logs/log-constants.js.map +1 -0
  17. package/dist/clients/logs/log-file-discovery.d.ts +64 -0
  18. package/dist/clients/logs/log-file-discovery.d.ts.map +1 -0
  19. package/dist/clients/logs/log-file-discovery.js +249 -0
  20. package/dist/clients/logs/log-file-discovery.js.map +1 -0
  21. package/dist/clients/logs/log-file-reader.d.ts +55 -0
  22. package/dist/clients/logs/log-file-reader.d.ts.map +1 -0
  23. package/dist/clients/logs/log-file-reader.js +207 -0
  24. package/dist/clients/logs/log-file-reader.js.map +1 -0
  25. package/dist/clients/logs/log-formatter.d.ts +90 -0
  26. package/dist/clients/logs/log-formatter.d.ts.map +1 -0
  27. package/dist/clients/logs/log-formatter.js +189 -0
  28. package/dist/clients/logs/log-formatter.js.map +1 -0
  29. package/dist/clients/logs/log-processor.d.ts +91 -0
  30. package/dist/clients/logs/log-processor.d.ts.map +1 -0
  31. package/dist/clients/logs/log-processor.js +328 -0
  32. package/dist/clients/logs/log-processor.js.map +1 -0
  33. package/dist/clients/logs/log-types.d.ts +58 -0
  34. package/dist/clients/logs/log-types.d.ts.map +1 -0
  35. package/dist/clients/logs/log-types.js +8 -0
  36. package/dist/clients/logs/log-types.js.map +1 -0
  37. package/dist/clients/logs/webdav-client-manager.d.ts +28 -0
  38. package/dist/clients/logs/webdav-client-manager.d.ts.map +1 -0
  39. package/dist/clients/logs/webdav-client-manager.js +77 -0
  40. package/dist/clients/logs/webdav-client-manager.js.map +1 -0
  41. package/dist/docs/dw_customer/CustomerMgr.md +3 -3
  42. package/dist/docs/dw_customer/Wallet.md +25 -0
  43. package/dist/docs/dw_extensions.payments/SalesforceAdyenPaymentIntent.md +156 -0
  44. package/dist/docs/dw_extensions.payments/SalesforceAdyenSavedPaymentMethod.md +258 -0
  45. package/dist/docs/dw_extensions.payments/SalesforcePayPalOrder.md +36 -0
  46. package/dist/docs/dw_extensions.payments/SalesforcePaymentIntent.md +1 -1
  47. package/dist/docs/dw_extensions.payments/SalesforcePaymentsHooks.md +68 -1
  48. package/dist/docs/dw_extensions.payments/SalesforcePaymentsMerchantAccount.md +154 -0
  49. package/dist/docs/dw_extensions.payments/SalesforcePaymentsMerchantAccountPaymentMethod.md +96 -0
  50. package/dist/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +311 -2
  51. package/dist/docs/dw_extensions.payments/SalesforcePaymentsSiteConfiguration.md +26 -0
  52. package/dist/docs/dw_extensions.payments/SalesforcePaymentsZone.md +458 -0
  53. package/dist/docs/dw_order/OrderMgr.md +3 -3
  54. package/dist/docs/dw_order.hooks/BasketMergeHooks.md +4 -4
  55. package/dist/docs/dw_order.hooks/CheckoutHooks.md +42 -0
  56. package/package.json +9 -3
  57. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -131
  58. package/.github/ISSUE_TEMPLATE/config.yml +0 -9
  59. package/.github/ISSUE_TEMPLATE/documentation.yml +0 -117
  60. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -151
  61. package/.github/ISSUE_TEMPLATE/question.yml +0 -102
  62. package/.github/PULL_REQUEST_TEMPLATE/bug_fix.md +0 -59
  63. package/.github/PULL_REQUEST_TEMPLATE/documentation.md +0 -48
  64. package/.github/PULL_REQUEST_TEMPLATE/new_tool.md +0 -55
  65. package/.github/agents/official-docs-researcher.agent.md +0 -56
  66. package/.github/dependabot.yml +0 -65
  67. package/.github/instructions/mcp-node-tests.instructions.md +0 -30
  68. package/.github/instructions/mcp-yml-tests.instructions.md +0 -27
  69. package/.github/pull_request_template.md +0 -103
  70. package/.github/skills/agent-authoring/SKILL.md +0 -66
  71. package/.github/skills/mcp-log-debugging/SKILL.md +0 -69
  72. package/.github/skills/mcp-programmatic-testing/SKILL.md +0 -142
  73. package/.github/skills/mcp-yaml-testing/SKILL.md +0 -136
  74. package/.github/skills/salesforce-developer-site-scraper/SKILL.md +0 -102
  75. package/.github/skills/salesforce-developer-site-scraper/scripts/scrape-to-markdown.js +0 -205
  76. package/.github/skills/salesforce-help-site-scraper/SKILL.md +0 -84
  77. package/.github/skills/salesforce-help-site-scraper/scripts/scrape-help-to-markdown.js +0 -212
  78. package/.github/skills/skill-authoring/SKILL.md +0 -228
  79. package/.github/skills/skill-authoring/references/PATTERNS.md +0 -384
  80. package/.github/workflows/ci.yml +0 -103
  81. package/.github/workflows/deploy-pages.yml +0 -59
  82. package/.github/workflows/publish.yml +0 -112
  83. package/.github/workflows/update-docs.yml +0 -182
  84. package/.husky/pre-commit +0 -2
  85. package/AGENTS.md +0 -638
  86. package/CONTRIBUTING.md +0 -323
  87. package/SECURITY.md +0 -148
  88. package/aegis.config.docs-only.json +0 -9
  89. package/aegis.config.json +0 -12
  90. package/aegis.config.with-dw.json +0 -15
  91. package/ai-instructions/AGENTS.md +0 -628
  92. package/ai-instructions/skills/sfcc-caching/SKILL.md +0 -89
  93. package/ai-instructions/skills/sfcc-cartridge-development/SKILL.md +0 -240
  94. package/ai-instructions/skills/sfcc-forms-development/SKILL.md +0 -261
  95. package/ai-instructions/skills/sfcc-forms-development/references/ARCHITECTURE-SGJC-SFRA.md +0 -143
  96. package/ai-instructions/skills/sfcc-forms-development/references/FORM-XML-CHEATSHEET.md +0 -127
  97. package/ai-instructions/skills/sfcc-fraud-prevention/SKILL.md +0 -95
  98. package/ai-instructions/skills/sfcc-hooks-registration/SKILL.md +0 -39
  99. package/ai-instructions/skills/sfcc-isml-development/SKILL.md +0 -370
  100. package/ai-instructions/skills/sfcc-isml-development/references/REMOTE-INCLUDES.md +0 -116
  101. package/ai-instructions/skills/sfcc-isml-development/references/SFRA-LAYOUTS.md +0 -50
  102. package/ai-instructions/skills/sfcc-isml-development/references/SFRA-PAGES-CART-ACCOUNT-AUTH.md +0 -45
  103. package/ai-instructions/skills/sfcc-isml-development/references/SFRA-PAGES-CATALOG.md +0 -85
  104. package/ai-instructions/skills/sfcc-isml-development/references/SFRA-STRUCTURE-COMPONENTS.md +0 -63
  105. package/ai-instructions/skills/sfcc-isml-development/references/UTILITIES-EXPRESSIONS.md +0 -159
  106. package/ai-instructions/skills/sfcc-isml-development/references/sfra-base-templates-architecture.md +0 -13
  107. package/ai-instructions/skills/sfcc-job-development/SKILL.md +0 -334
  108. package/ai-instructions/skills/sfcc-job-development/references/CHUNK-ORIENTED.md +0 -393
  109. package/ai-instructions/skills/sfcc-job-development/references/STEPTYPES-JSON.md +0 -271
  110. package/ai-instructions/skills/sfcc-job-development/references/TASK-ORIENTED.md +0 -257
  111. package/ai-instructions/skills/sfcc-localization/SKILL.md +0 -92
  112. package/ai-instructions/skills/sfcc-localization/references/CONTROLLERS.md +0 -63
  113. package/ai-instructions/skills/sfcc-localization/references/FORMATTING.md +0 -29
  114. package/ai-instructions/skills/sfcc-localization/references/FORMS-LOCALIZATION.md +0 -33
  115. package/ai-instructions/skills/sfcc-localization/references/JAVASCRIPT-LOCALIZATION.md +0 -41
  116. package/ai-instructions/skills/sfcc-localization/references/LOCALE-SWITCHING.md +0 -35
  117. package/ai-instructions/skills/sfcc-localization/references/PATTERNS.md +0 -740
  118. package/ai-instructions/skills/sfcc-localization/references/PROPERTIES-ENCODING.md +0 -25
  119. package/ai-instructions/skills/sfcc-localization/references/RESOURCE-BUNDLES.md +0 -67
  120. package/ai-instructions/skills/sfcc-localization/references/STATIC-FILES.md +0 -23
  121. package/ai-instructions/skills/sfcc-localization/references/TESTING.md +0 -21
  122. package/ai-instructions/skills/sfcc-localserviceregistry/SKILL.md +0 -374
  123. package/ai-instructions/skills/sfcc-logging/SKILL.md +0 -352
  124. package/ai-instructions/skills/sfcc-logging/references/LOG-FILES.md +0 -282
  125. package/ai-instructions/skills/sfcc-ocapi-hooks/SKILL.md +0 -350
  126. package/ai-instructions/skills/sfcc-ocapi-scapi-slas/SKILL.md +0 -108
  127. package/ai-instructions/skills/sfcc-page-designer/SKILL.md +0 -353
  128. package/ai-instructions/skills/sfcc-page-designer/references/ATTRIBUTE-TYPES.md +0 -436
  129. package/ai-instructions/skills/sfcc-page-designer/references/META-DEFINITIONS.md +0 -322
  130. package/ai-instructions/skills/sfcc-performance/SKILL.md +0 -424
  131. package/ai-instructions/skills/sfcc-platform-limits/SKILL.md +0 -89
  132. package/ai-instructions/skills/sfcc-scapi-custom-endpoints/SKILL.md +0 -237
  133. package/ai-instructions/skills/sfcc-scapi-custom-endpoints/references/AUTHENTICATION.md +0 -214
  134. package/ai-instructions/skills/sfcc-scapi-custom-endpoints/references/URL-MAPPING.md +0 -253
  135. package/ai-instructions/skills/sfcc-scapi-hooks/SKILL.md +0 -341
  136. package/ai-instructions/skills/sfcc-script-evaluation/SKILL.md +0 -380
  137. package/ai-instructions/skills/sfcc-security/SKILL.md +0 -394
  138. package/ai-instructions/skills/sfcc-sfra-client-side-js/SKILL.md +0 -270
  139. package/ai-instructions/skills/sfcc-sfra-client-side-js/references/AJAX-CSRF-VALIDATION.md +0 -285
  140. package/ai-instructions/skills/sfcc-sfra-client-side-js/references/BASE-MODULE-INDEX.md +0 -206
  141. package/ai-instructions/skills/sfcc-sfra-client-side-js/references/EXTENSION-PATTERNS.md +0 -165
  142. package/ai-instructions/skills/sfcc-sfra-client-side-js/references/PLUGIN-PATTERNS.md +0 -185
  143. package/ai-instructions/skills/sfcc-sfra-controllers/SKILL.md +0 -347
  144. package/ai-instructions/skills/sfcc-sfra-controllers/references/MIDDLEWARE-REFERENCE.md +0 -257
  145. package/ai-instructions/skills/sfcc-sfra-controllers/references/REMOTE-INCLUDES.md +0 -193
  146. package/ai-instructions/skills/sfcc-sfra-controllers/references/standard-sfra-controllers.md +0 -814
  147. package/ai-instructions/skills/sfcc-sfra-models/SKILL.md +0 -322
  148. package/ai-instructions/skills/sfcc-sfra-models/references/MODEL-PATTERNS.md +0 -530
  149. package/ai-instructions/skills/sfcc-sfra-models/references/MODEL-STRUCTURE.md +0 -234
  150. package/ai-instructions/skills/sfcc-sfra-models/references/TESTING-SECURITY.md +0 -417
  151. package/ai-instructions/skills/sfcc-sfra-scss/SKILL.md +0 -393
  152. package/ai-instructions/skills/sfcc-webdav-workflows/SKILL.md +0 -111
  153. package/docs/TopLevel/APIException.md +0 -68
  154. package/docs/TopLevel/Array.md +0 -897
  155. package/docs/TopLevel/ArrayBuffer.md +0 -79
  156. package/docs/TopLevel/BigInt.md +0 -132
  157. package/docs/TopLevel/Boolean.md +0 -62
  158. package/docs/TopLevel/ConversionError.md +0 -23
  159. package/docs/TopLevel/DataView.md +0 -352
  160. package/docs/TopLevel/Date.md +0 -924
  161. package/docs/TopLevel/ES6Iterator.md +0 -33
  162. package/docs/TopLevel/Error.md +0 -88
  163. package/docs/TopLevel/EvalError.md +0 -23
  164. package/docs/TopLevel/Fault.md +0 -87
  165. package/docs/TopLevel/Float32Array.md +0 -130
  166. package/docs/TopLevel/Float64Array.md +0 -130
  167. package/docs/TopLevel/Function.md +0 -105
  168. package/docs/TopLevel/Generator.md +0 -78
  169. package/docs/TopLevel/IOError.md +0 -62
  170. package/docs/TopLevel/Int16Array.md +0 -130
  171. package/docs/TopLevel/Int32Array.md +0 -130
  172. package/docs/TopLevel/Int8Array.md +0 -130
  173. package/docs/TopLevel/InternalError.md +0 -23
  174. package/docs/TopLevel/Iterable.md +0 -41
  175. package/docs/TopLevel/Iterator.md +0 -48
  176. package/docs/TopLevel/JSON.md +0 -162
  177. package/docs/TopLevel/Map.md +0 -216
  178. package/docs/TopLevel/Math.md +0 -913
  179. package/docs/TopLevel/Module.md +0 -45
  180. package/docs/TopLevel/Namespace.md +0 -96
  181. package/docs/TopLevel/Number.md +0 -417
  182. package/docs/TopLevel/Object.md +0 -641
  183. package/docs/TopLevel/QName.md +0 -96
  184. package/docs/TopLevel/RangeError.md +0 -23
  185. package/docs/TopLevel/ReferenceError.md +0 -23
  186. package/docs/TopLevel/RegExp.md +0 -109
  187. package/docs/TopLevel/Set.md +0 -165
  188. package/docs/TopLevel/StopIteration.md +0 -20
  189. package/docs/TopLevel/String.md +0 -1299
  190. package/docs/TopLevel/Symbol.md +0 -78
  191. package/docs/TopLevel/SyntaxError.md +0 -23
  192. package/docs/TopLevel/SystemError.md +0 -62
  193. package/docs/TopLevel/TypeError.md +0 -23
  194. package/docs/TopLevel/URIError.md +0 -23
  195. package/docs/TopLevel/Uint16Array.md +0 -130
  196. package/docs/TopLevel/Uint32Array.md +0 -130
  197. package/docs/TopLevel/Uint8Array.md +0 -130
  198. package/docs/TopLevel/Uint8ClampedArray.md +0 -130
  199. package/docs/TopLevel/WeakMap.md +0 -137
  200. package/docs/TopLevel/WeakSet.md +0 -92
  201. package/docs/TopLevel/XML.md +0 -937
  202. package/docs/TopLevel/XMLList.md +0 -484
  203. package/docs/TopLevel/XMLStreamError.md +0 -74
  204. package/docs/TopLevel/arguments.md +0 -34
  205. package/docs/TopLevel/global.md +0 -474
  206. package/docs/dw_campaign/ABTest.md +0 -47
  207. package/docs/dw_campaign/ABTestMgr.md +0 -70
  208. package/docs/dw_campaign/ABTestSegment.md +0 -96
  209. package/docs/dw_campaign/AmountDiscount.md +0 -51
  210. package/docs/dw_campaign/ApproachingDiscount.md +0 -124
  211. package/docs/dw_campaign/BonusChoiceDiscount.md +0 -146
  212. package/docs/dw_campaign/BonusDiscount.md +0 -48
  213. package/docs/dw_campaign/Campaign.md +0 -365
  214. package/docs/dw_campaign/CampaignMgr.md +0 -395
  215. package/docs/dw_campaign/CampaignStatusCodes.md +0 -48
  216. package/docs/dw_campaign/Coupon.md +0 -310
  217. package/docs/dw_campaign/CouponMgr.md +0 -144
  218. package/docs/dw_campaign/CouponRedemption.md +0 -94
  219. package/docs/dw_campaign/CouponStatusCodes.md +0 -86
  220. package/docs/dw_campaign/Discount.md +0 -226
  221. package/docs/dw_campaign/DiscountPlan.md +0 -282
  222. package/docs/dw_campaign/FixedPriceDiscount.md +0 -52
  223. package/docs/dw_campaign/FixedPriceShippingDiscount.md +0 -52
  224. package/docs/dw_campaign/FreeDiscount.md +0 -17
  225. package/docs/dw_campaign/FreeShippingDiscount.md +0 -17
  226. package/docs/dw_campaign/PercentageDiscount.md +0 -52
  227. package/docs/dw_campaign/PercentageOptionDiscount.md +0 -48
  228. package/docs/dw_campaign/PriceBookPriceDiscount.md +0 -47
  229. package/docs/dw_campaign/Promotion.md +0 -874
  230. package/docs/dw_campaign/PromotionMgr.md +0 -386
  231. package/docs/dw_campaign/PromotionPlan.md +0 -330
  232. package/docs/dw_campaign/SlotContent.md +0 -144
  233. package/docs/dw_campaign/SourceCodeGroup.md +0 -72
  234. package/docs/dw_campaign/SourceCodeInfo.md +0 -144
  235. package/docs/dw_campaign/SourceCodeStatusCodes.md +0 -36
  236. package/docs/dw_campaign/TotalFixedPriceDiscount.md +0 -47
  237. package/docs/dw_catalog/Catalog.md +0 -122
  238. package/docs/dw_catalog/CatalogMgr.md +0 -182
  239. package/docs/dw_catalog/Category.md +0 -1308
  240. package/docs/dw_catalog/CategoryAssignment.md +0 -192
  241. package/docs/dw_catalog/CategoryLink.md +0 -126
  242. package/docs/dw_catalog/PriceBook.md +0 -242
  243. package/docs/dw_catalog/PriceBookMgr.md +0 -204
  244. package/docs/dw_catalog/Product.md +0 -2593
  245. package/docs/dw_catalog/ProductActiveData.md +0 -1275
  246. package/docs/dw_catalog/ProductAttributeModel.md +0 -277
  247. package/docs/dw_catalog/ProductAvailabilityLevels.md +0 -142
  248. package/docs/dw_catalog/ProductAvailabilityModel.md +0 -380
  249. package/docs/dw_catalog/ProductInventoryList.md +0 -140
  250. package/docs/dw_catalog/ProductInventoryMgr.md +0 -117
  251. package/docs/dw_catalog/ProductInventoryRecord.md +0 -563
  252. package/docs/dw_catalog/ProductLink.md +0 -144
  253. package/docs/dw_catalog/ProductMgr.md +0 -138
  254. package/docs/dw_catalog/ProductOption.md +0 -214
  255. package/docs/dw_catalog/ProductOptionModel.md +0 -246
  256. package/docs/dw_catalog/ProductOptionValue.md +0 -123
  257. package/docs/dw_catalog/ProductPriceInfo.md +0 -172
  258. package/docs/dw_catalog/ProductPriceModel.md +0 -745
  259. package/docs/dw_catalog/ProductPriceTable.md +0 -134
  260. package/docs/dw_catalog/ProductSearchHit.md +0 -581
  261. package/docs/dw_catalog/ProductSearchModel.md +0 -2018
  262. package/docs/dw_catalog/ProductSearchRefinementDefinition.md +0 -97
  263. package/docs/dw_catalog/ProductSearchRefinementValue.md +0 -73
  264. package/docs/dw_catalog/ProductSearchRefinements.md +0 -216
  265. package/docs/dw_catalog/ProductVariationAttribute.md +0 -100
  266. package/docs/dw_catalog/ProductVariationAttributeValue.md +0 -238
  267. package/docs/dw_catalog/ProductVariationModel.md +0 -849
  268. package/docs/dw_catalog/Recommendation.md +0 -314
  269. package/docs/dw_catalog/SearchModel.md +0 -901
  270. package/docs/dw_catalog/SearchRefinementDefinition.md +0 -146
  271. package/docs/dw_catalog/SearchRefinementValue.md +0 -185
  272. package/docs/dw_catalog/SearchRefinements.md +0 -180
  273. package/docs/dw_catalog/SortingOption.md +0 -120
  274. package/docs/dw_catalog/SortingRule.md +0 -47
  275. package/docs/dw_catalog/Store.md +0 -562
  276. package/docs/dw_catalog/StoreGroup.md +0 -96
  277. package/docs/dw_catalog/StoreInventoryFilter.md +0 -74
  278. package/docs/dw_catalog/StoreInventoryFilterValue.md +0 -74
  279. package/docs/dw_catalog/StoreMgr.md +0 -236
  280. package/docs/dw_catalog/Variant.md +0 -859
  281. package/docs/dw_catalog/VariationGroup.md +0 -792
  282. package/docs/dw_content/Content.md +0 -534
  283. package/docs/dw_content/ContentMgr.md +0 -166
  284. package/docs/dw_content/ContentSearchModel.md +0 -682
  285. package/docs/dw_content/ContentSearchRefinementDefinition.md +0 -49
  286. package/docs/dw_content/ContentSearchRefinementValue.md +0 -17
  287. package/docs/dw_content/ContentSearchRefinements.md +0 -208
  288. package/docs/dw_content/Folder.md +0 -467
  289. package/docs/dw_content/Library.md +0 -121
  290. package/docs/dw_content/MarkupText.md +0 -88
  291. package/docs/dw_content/MediaFile.md +0 -317
  292. package/docs/dw_crypto/CertificateRef.md +0 -42
  293. package/docs/dw_crypto/CertificateUtils.md +0 -187
  294. package/docs/dw_crypto/Cipher.md +0 -530
  295. package/docs/dw_crypto/Encoding.md +0 -220
  296. package/docs/dw_crypto/JWE.md +0 -224
  297. package/docs/dw_crypto/JWEHeader.md +0 -172
  298. package/docs/dw_crypto/JWS.md +0 -264
  299. package/docs/dw_crypto/JWSHeader.md +0 -148
  300. package/docs/dw_crypto/KeyRef.md +0 -44
  301. package/docs/dw_crypto/Mac.md +0 -139
  302. package/docs/dw_crypto/MessageDigest.md +0 -175
  303. package/docs/dw_crypto/SecureRandom.md +0 -148
  304. package/docs/dw_crypto/Signature.md +0 -252
  305. package/docs/dw_crypto/WeakCipher.md +0 -538
  306. package/docs/dw_crypto/WeakMac.md +0 -121
  307. package/docs/dw_crypto/WeakMessageDigest.md +0 -163
  308. package/docs/dw_crypto/WeakSignature.md +0 -242
  309. package/docs/dw_crypto/X509Certificate.md +0 -193
  310. package/docs/dw_customer/AddressBook.md +0 -163
  311. package/docs/dw_customer/AgentUserMgr.md +0 -83
  312. package/docs/dw_customer/AgentUserStatusCodes.md +0 -96
  313. package/docs/dw_customer/AuthenticationStatus.md +0 -138
  314. package/docs/dw_customer/Credentials.md +0 -494
  315. package/docs/dw_customer/Customer.md +0 -571
  316. package/docs/dw_customer/CustomerActiveData.md +0 -552
  317. package/docs/dw_customer/CustomerAddress.md +0 -852
  318. package/docs/dw_customer/CustomerCDPData.md +0 -70
  319. package/docs/dw_customer/CustomerContextMgr.md +0 -64
  320. package/docs/dw_customer/CustomerGroup.md +0 -134
  321. package/docs/dw_customer/CustomerList.md +0 -71
  322. package/docs/dw_customer/CustomerMgr.md +0 -735
  323. package/docs/dw_customer/CustomerPasswordConstraints.md +0 -142
  324. package/docs/dw_customer/CustomerPaymentInstrument.md +0 -125
  325. package/docs/dw_customer/CustomerStatusCodes.md +0 -30
  326. package/docs/dw_customer/EncryptedObject.md +0 -18
  327. package/docs/dw_customer/ExternalProfile.md +0 -160
  328. package/docs/dw_customer/OrderHistory.md +0 -111
  329. package/docs/dw_customer/ProductList.md +0 -1000
  330. package/docs/dw_customer/ProductListItem.md +0 -504
  331. package/docs/dw_customer/ProductListItemPurchase.md +0 -145
  332. package/docs/dw_customer/ProductListMgr.md +0 -234
  333. package/docs/dw_customer/ProductListRegistrant.md +0 -193
  334. package/docs/dw_customer/Profile.md +0 -1128
  335. package/docs/dw_customer/Wallet.md +0 -118
  336. package/docs/dw_extensions.applepay/ApplePayHookResult.md +0 -209
  337. package/docs/dw_extensions.applepay/ApplePayHooks.md +0 -255
  338. package/docs/dw_extensions.facebook/FacebookFeedHooks.md +0 -47
  339. package/docs/dw_extensions.facebook/FacebookProduct.md +0 -1621
  340. package/docs/dw_extensions.paymentrequest/PaymentRequestHookResult.md +0 -159
  341. package/docs/dw_extensions.paymentrequest/PaymentRequestHooks.md +0 -160
  342. package/docs/dw_extensions.payments/SalesforceBancontactPaymentDetails.md +0 -79
  343. package/docs/dw_extensions.payments/SalesforceCardPaymentDetails.md +0 -103
  344. package/docs/dw_extensions.payments/SalesforceEpsPaymentDetails.md +0 -51
  345. package/docs/dw_extensions.payments/SalesforceIdealPaymentDetails.md +0 -51
  346. package/docs/dw_extensions.payments/SalesforceKlarnaPaymentDetails.md +0 -51
  347. package/docs/dw_extensions.payments/SalesforcePayPalOrder.md +0 -246
  348. package/docs/dw_extensions.payments/SalesforcePayPalOrderAddress.md +0 -191
  349. package/docs/dw_extensions.payments/SalesforcePayPalOrderPayer.md +0 -118
  350. package/docs/dw_extensions.payments/SalesforcePayPalPaymentDetails.md +0 -79
  351. package/docs/dw_extensions.payments/SalesforcePaymentDetails.md +0 -57
  352. package/docs/dw_extensions.payments/SalesforcePaymentIntent.md +0 -281
  353. package/docs/dw_extensions.payments/SalesforcePaymentMethod.md +0 -346
  354. package/docs/dw_extensions.payments/SalesforcePaymentRequest.md +0 -784
  355. package/docs/dw_extensions.payments/SalesforcePaymentsHooks.md +0 -45
  356. package/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +0 -634
  357. package/docs/dw_extensions.payments/SalesforcePaymentsSiteConfiguration.md +0 -95
  358. package/docs/dw_extensions.payments/SalesforceSepaDebitPaymentDetails.md +0 -51
  359. package/docs/dw_extensions.payments/SalesforceVenmoPaymentDetails.md +0 -79
  360. package/docs/dw_extensions.pinterest/PinterestAvailability.md +0 -86
  361. package/docs/dw_extensions.pinterest/PinterestFeedHooks.md +0 -69
  362. package/docs/dw_extensions.pinterest/PinterestOrder.md +0 -232
  363. package/docs/dw_extensions.pinterest/PinterestOrderHooks.md +0 -45
  364. package/docs/dw_extensions.pinterest/PinterestProduct.md +0 -850
  365. package/docs/dw_io/CSVStreamReader.md +0 -80
  366. package/docs/dw_io/CSVStreamWriter.md +0 -60
  367. package/docs/dw_io/File.md +0 -614
  368. package/docs/dw_io/FileReader.md +0 -41
  369. package/docs/dw_io/FileWriter.md +0 -103
  370. package/docs/dw_io/InputStream.md +0 -34
  371. package/docs/dw_io/OutputStream.md +0 -34
  372. package/docs/dw_io/PrintWriter.md +0 -71
  373. package/docs/dw_io/RandomAccessFileReader.md +0 -173
  374. package/docs/dw_io/Reader.md +0 -274
  375. package/docs/dw_io/StringWriter.md +0 -81
  376. package/docs/dw_io/Writer.md +0 -92
  377. package/docs/dw_io/XMLIndentingStreamWriter.md +0 -112
  378. package/docs/dw_io/XMLStreamConstants.md +0 -114
  379. package/docs/dw_io/XMLStreamReader.md +0 -1043
  380. package/docs/dw_io/XMLStreamWriter.md +0 -572
  381. package/docs/dw_job/JobExecution.md +0 -107
  382. package/docs/dw_job/JobStepExecution.md +0 -151
  383. package/docs/dw_net/FTPClient.md +0 -699
  384. package/docs/dw_net/FTPFileInfo.md +0 -122
  385. package/docs/dw_net/HTTPClient.md +0 -831
  386. package/docs/dw_net/HTTPClientLoggingConfig.md +0 -296
  387. package/docs/dw_net/HTTPRequestPart.md +0 -206
  388. package/docs/dw_net/Mail.md +0 -551
  389. package/docs/dw_net/SFTPClient.md +0 -591
  390. package/docs/dw_net/SFTPFileInfo.md +0 -122
  391. package/docs/dw_net/WebDAVClient.md +0 -715
  392. package/docs/dw_net/WebDAVFileInfo.md +0 -184
  393. package/docs/dw_object/ActiveData.md +0 -75
  394. package/docs/dw_object/CustomAttributes.md +0 -16
  395. package/docs/dw_object/CustomObject.md +0 -73
  396. package/docs/dw_object/CustomObjectMgr.md +0 -291
  397. package/docs/dw_object/Extensible.md +0 -64
  398. package/docs/dw_object/ExtensibleObject.md +0 -68
  399. package/docs/dw_object/Note.md +0 -121
  400. package/docs/dw_object/ObjectAttributeDefinition.md +0 -481
  401. package/docs/dw_object/ObjectAttributeGroup.md +0 -170
  402. package/docs/dw_object/ObjectAttributeValueDefinition.md +0 -72
  403. package/docs/dw_object/ObjectTypeDefinition.md +0 -216
  404. package/docs/dw_object/PersistentObject.md +0 -94
  405. package/docs/dw_object/SimpleExtensible.md +0 -46
  406. package/docs/dw_object/SystemObjectMgr.md +0 -153
  407. package/docs/dw_order/AbstractItem.md +0 -244
  408. package/docs/dw_order/AbstractItemCtnr.md +0 -240
  409. package/docs/dw_order/Appeasement.md +0 -367
  410. package/docs/dw_order/AppeasementItem.md +0 -90
  411. package/docs/dw_order/Basket.md +0 -362
  412. package/docs/dw_order/BasketMgr.md +0 -418
  413. package/docs/dw_order/BonusDiscountLineItem.md +0 -248
  414. package/docs/dw_order/CouponLineItem.md +0 -272
  415. package/docs/dw_order/CreateAgentBasketLimitExceededException.md +0 -18
  416. package/docs/dw_order/CreateBasketFromOrderException.md +0 -26
  417. package/docs/dw_order/CreateCouponLineItemException.md +0 -26
  418. package/docs/dw_order/CreateOrderException.md +0 -18
  419. package/docs/dw_order/CreateTemporaryBasketLimitExceededException.md +0 -18
  420. package/docs/dw_order/GiftCertificate.md +0 -569
  421. package/docs/dw_order/GiftCertificateLineItem.md +0 -324
  422. package/docs/dw_order/GiftCertificateMgr.md +0 -197
  423. package/docs/dw_order/GiftCertificateStatusCodes.md +0 -60
  424. package/docs/dw_order/Invoice.md +0 -418
  425. package/docs/dw_order/InvoiceItem.md +0 -222
  426. package/docs/dw_order/LineItem.md +0 -532
  427. package/docs/dw_order/LineItemCtnr.md +0 -2431
  428. package/docs/dw_order/Order.md +0 -2567
  429. package/docs/dw_order/OrderAddress.md +0 -807
  430. package/docs/dw_order/OrderItem.md +0 -536
  431. package/docs/dw_order/OrderMgr.md +0 -535
  432. package/docs/dw_order/OrderPaymentInstrument.md +0 -220
  433. package/docs/dw_order/OrderProcessStatusCodes.md +0 -84
  434. package/docs/dw_order/PaymentCard.md +0 -217
  435. package/docs/dw_order/PaymentInstrument.md +0 -1462
  436. package/docs/dw_order/PaymentMethod.md +0 -242
  437. package/docs/dw_order/PaymentMgr.md +0 -117
  438. package/docs/dw_order/PaymentProcessor.md +0 -70
  439. package/docs/dw_order/PaymentStatusCodes.md +0 -42
  440. package/docs/dw_order/PaymentTransaction.md +0 -328
  441. package/docs/dw_order/PriceAdjustment.md +0 -640
  442. package/docs/dw_order/PriceAdjustmentLimitTypes.md +0 -38
  443. package/docs/dw_order/ProductLineItem.md +0 -1821
  444. package/docs/dw_order/ProductShippingCost.md +0 -96
  445. package/docs/dw_order/ProductShippingLineItem.md +0 -326
  446. package/docs/dw_order/ProductShippingModel.md +0 -125
  447. package/docs/dw_order/Return.md +0 -360
  448. package/docs/dw_order/ReturnCase.md +0 -400
  449. package/docs/dw_order/ReturnCaseItem.md +0 -373
  450. package/docs/dw_order/ReturnItem.md +0 -362
  451. package/docs/dw_order/Shipment.md +0 -1251
  452. package/docs/dw_order/ShipmentShippingCost.md +0 -46
  453. package/docs/dw_order/ShipmentShippingModel.md +0 -146
  454. package/docs/dw_order/ShippingLineItem.md +0 -278
  455. package/docs/dw_order/ShippingLocation.md +0 -366
  456. package/docs/dw_order/ShippingMethod.md +0 -266
  457. package/docs/dw_order/ShippingMgr.md +0 -158
  458. package/docs/dw_order/ShippingOrder.md +0 -561
  459. package/docs/dw_order/ShippingOrderItem.md +0 -355
  460. package/docs/dw_order/SumItem.md +0 -147
  461. package/docs/dw_order/TaxGroup.md +0 -143
  462. package/docs/dw_order/TaxItem.md +0 -74
  463. package/docs/dw_order/TaxMgr.md +0 -227
  464. package/docs/dw_order/TrackingInfo.md +0 -312
  465. package/docs/dw_order/TrackingRef.md +0 -113
  466. package/docs/dw_order.hooks/BasketMergeHooks.md +0 -42
  467. package/docs/dw_order.hooks/CalculateHooks.md +0 -77
  468. package/docs/dw_order.hooks/OrderHooks.md +0 -41
  469. package/docs/dw_order.hooks/PaymentHooks.md +0 -180
  470. package/docs/dw_order.hooks/ReturnHooks.md +0 -135
  471. package/docs/dw_order.hooks/ShippingOrderHooks.md +0 -245
  472. package/docs/dw_rpc/SOAPUtil.md +0 -465
  473. package/docs/dw_rpc/Stub.md +0 -289
  474. package/docs/dw_rpc/WebReference.md +0 -83
  475. package/docs/dw_suggest/BrandSuggestions.md +0 -17
  476. package/docs/dw_suggest/CategorySuggestions.md +0 -53
  477. package/docs/dw_suggest/ContentSuggestions.md +0 -53
  478. package/docs/dw_suggest/CustomSuggestions.md +0 -17
  479. package/docs/dw_suggest/ProductSuggestions.md +0 -53
  480. package/docs/dw_suggest/SearchPhraseSuggestions.md +0 -117
  481. package/docs/dw_suggest/SuggestModel.md +0 -403
  482. package/docs/dw_suggest/SuggestedCategory.md +0 -46
  483. package/docs/dw_suggest/SuggestedContent.md +0 -46
  484. package/docs/dw_suggest/SuggestedPhrase.md +0 -70
  485. package/docs/dw_suggest/SuggestedProduct.md +0 -47
  486. package/docs/dw_suggest/SuggestedTerm.md +0 -143
  487. package/docs/dw_suggest/SuggestedTerms.md +0 -132
  488. package/docs/dw_suggest/Suggestions.md +0 -179
  489. package/docs/dw_svc/FTPService.md +0 -118
  490. package/docs/dw_svc/FTPServiceDefinition.md +0 -69
  491. package/docs/dw_svc/HTTPFormService.md +0 -18
  492. package/docs/dw_svc/HTTPFormServiceDefinition.md +0 -18
  493. package/docs/dw_svc/HTTPService.md +0 -415
  494. package/docs/dw_svc/HTTPServiceDefinition.md +0 -303
  495. package/docs/dw_svc/LocalServiceRegistry.md +0 -43
  496. package/docs/dw_svc/Result.md +0 -303
  497. package/docs/dw_svc/SOAPService.md +0 -115
  498. package/docs/dw_svc/SOAPServiceDefinition.md +0 -17
  499. package/docs/dw_svc/Service.md +0 -295
  500. package/docs/dw_svc/ServiceCallback.md +0 -268
  501. package/docs/dw_svc/ServiceConfig.md +0 -120
  502. package/docs/dw_svc/ServiceCredential.md +0 -156
  503. package/docs/dw_svc/ServiceDefinition.md +0 -176
  504. package/docs/dw_svc/ServiceProfile.md +0 -168
  505. package/docs/dw_svc/ServiceRegistry.md +0 -109
  506. package/docs/dw_system/AgentUserStatusCodes.md +0 -21
  507. package/docs/dw_system/Cache.md +0 -102
  508. package/docs/dw_system/CacheMgr.md +0 -42
  509. package/docs/dw_system/HookMgr.md +0 -66
  510. package/docs/dw_system/InternalObject.md +0 -56
  511. package/docs/dw_system/JobProcessMonitor.md +0 -124
  512. package/docs/dw_system/Log.md +0 -237
  513. package/docs/dw_system/LogNDC.md +0 -88
  514. package/docs/dw_system/Logger.md +0 -263
  515. package/docs/dw_system/OrganizationPreferences.md +0 -18
  516. package/docs/dw_system/Pipeline.md +0 -73
  517. package/docs/dw_system/PipelineDictionary.md +0 -16
  518. package/docs/dw_system/RESTErrorResponse.md +0 -66
  519. package/docs/dw_system/RESTResponseMgr.md +0 -258
  520. package/docs/dw_system/RESTSuccessResponse.md +0 -39
  521. package/docs/dw_system/RemoteInclude.md +0 -74
  522. package/docs/dw_system/Request.md +0 -839
  523. package/docs/dw_system/RequestHooks.md +0 -59
  524. package/docs/dw_system/Response.md +0 -522
  525. package/docs/dw_system/SearchStatus.md +0 -151
  526. package/docs/dw_system/Session.md +0 -476
  527. package/docs/dw_system/Site.md +0 -585
  528. package/docs/dw_system/SitePreferences.md +0 -49
  529. package/docs/dw_system/Status.md +0 -273
  530. package/docs/dw_system/StatusItem.md +0 -273
  531. package/docs/dw_system/System.md +0 -200
  532. package/docs/dw_system/Transaction.md +0 -84
  533. package/docs/dw_util/ArrayList.md +0 -50
  534. package/docs/dw_util/Assert.md +0 -391
  535. package/docs/dw_util/BigInteger.md +0 -326
  536. package/docs/dw_util/Bytes.md +0 -252
  537. package/docs/dw_util/Calendar.md +0 -921
  538. package/docs/dw_util/Collection.md +0 -338
  539. package/docs/dw_util/Currency.md +0 -163
  540. package/docs/dw_util/DateUtils.md +0 -86
  541. package/docs/dw_util/Decimal.md +0 -438
  542. package/docs/dw_util/FilteringCollection.md +0 -93
  543. package/docs/dw_util/Geolocation.md +0 -271
  544. package/docs/dw_util/HashMap.md +0 -43
  545. package/docs/dw_util/HashSet.md +0 -46
  546. package/docs/dw_util/Iterator.md +0 -97
  547. package/docs/dw_util/LinkedHashMap.md +0 -43
  548. package/docs/dw_util/LinkedHashSet.md +0 -46
  549. package/docs/dw_util/List.md +0 -519
  550. package/docs/dw_util/Locale.md +0 -267
  551. package/docs/dw_util/Map.md +0 -313
  552. package/docs/dw_util/MapEntry.md +0 -70
  553. package/docs/dw_util/MappingKey.md +0 -76
  554. package/docs/dw_util/MappingMgr.md +0 -122
  555. package/docs/dw_util/PropertyComparator.md +0 -51
  556. package/docs/dw_util/SecureEncoder.md +0 -350
  557. package/docs/dw_util/SecureFilter.md +0 -350
  558. package/docs/dw_util/SeekableIterator.md +0 -176
  559. package/docs/dw_util/Set.md +0 -19
  560. package/docs/dw_util/SortedMap.md +0 -148
  561. package/docs/dw_util/SortedSet.md +0 -151
  562. package/docs/dw_util/StringUtils.md +0 -753
  563. package/docs/dw_util/Template.md +0 -88
  564. package/docs/dw_util/UUIDUtils.md +0 -38
  565. package/docs/dw_value/EnumValue.md +0 -92
  566. package/docs/dw_value/MimeEncodedText.md +0 -103
  567. package/docs/dw_value/Money.md +0 -610
  568. package/docs/dw_value/Quantity.md +0 -376
  569. package/docs/dw_web/CSRFProtection.md +0 -83
  570. package/docs/dw_web/ClickStream.md +0 -157
  571. package/docs/dw_web/ClickStreamEntry.md +0 -289
  572. package/docs/dw_web/Cookie.md +0 -396
  573. package/docs/dw_web/Cookies.md +0 -46
  574. package/docs/dw_web/Form.md +0 -74
  575. package/docs/dw_web/FormAction.md +0 -199
  576. package/docs/dw_web/FormElement.md +0 -220
  577. package/docs/dw_web/FormElementValidationResult.md +0 -157
  578. package/docs/dw_web/FormField.md +0 -603
  579. package/docs/dw_web/FormFieldOption.md +0 -238
  580. package/docs/dw_web/FormFieldOptions.md +0 -42
  581. package/docs/dw_web/FormGroup.md +0 -199
  582. package/docs/dw_web/FormList.md +0 -126
  583. package/docs/dw_web/FormListItem.md +0 -48
  584. package/docs/dw_web/Forms.md +0 -16
  585. package/docs/dw_web/HttpParameter.md +0 -513
  586. package/docs/dw_web/HttpParameterMap.md +0 -185
  587. package/docs/dw_web/LoopIterator.md +0 -261
  588. package/docs/dw_web/PageMetaData.md +0 -230
  589. package/docs/dw_web/PageMetaTag.md +0 -142
  590. package/docs/dw_web/PagingModel.md +0 -389
  591. package/docs/dw_web/Resource.md +0 -126
  592. package/docs/dw_web/URL.md +0 -213
  593. package/docs/dw_web/URLAction.md +0 -26
  594. package/docs/dw_web/URLParameter.md +0 -22
  595. package/docs/dw_web/URLRedirect.md +0 -71
  596. package/docs/dw_web/URLRedirectMgr.md +0 -73
  597. package/docs/dw_web/URLUtils.md +0 -1264
  598. package/docs/isml/isactivedatacontext.md +0 -382
  599. package/docs/isml/isactivedatahead.md +0 -566
  600. package/docs/isml/isanalyticsoff.md +0 -537
  601. package/docs/isml/isapplepay.md +0 -667
  602. package/docs/isml/isbreak.md +0 -687
  603. package/docs/isml/isbuynow.md +0 -682
  604. package/docs/isml/iscache.md +0 -802
  605. package/docs/isml/iscomment.md +0 -794
  606. package/docs/isml/iscomponent.md +0 -797
  607. package/docs/isml/iscontent.md +0 -594
  608. package/docs/isml/iscontinue.md +0 -563
  609. package/docs/isml/iscookie.md +0 -798
  610. package/docs/isml/isdecorate.md +0 -818
  611. package/docs/isml/isif.md +0 -737
  612. package/docs/isml/isinclude.md +0 -874
  613. package/docs/isml/isloop.md +0 -377
  614. package/docs/isml/ismodule.md +0 -844
  615. package/docs/isml/isnext.md +0 -672
  616. package/docs/isml/isobject.md +0 -760
  617. package/docs/isml/ispayment.md +0 -577
  618. package/docs/isml/ispaymentmessages.md +0 -664
  619. package/docs/isml/isprint.md +0 -875
  620. package/docs/isml/isredirect.md +0 -716
  621. package/docs/isml/isremove.md +0 -725
  622. package/docs/isml/isreplace.md +0 -783
  623. package/docs/isml/isscript.md +0 -859
  624. package/docs/isml/isselect.md +0 -908
  625. package/docs/isml/isset.md +0 -585
  626. package/docs/isml/isslot.md +0 -824
  627. package/docs/isml/isstatus.md +0 -711
  628. package/docs/sfra/account.md +0 -145
  629. package/docs/sfra/address.md +0 -84
  630. package/docs/sfra/billing.md +0 -90
  631. package/docs/sfra/cart.md +0 -134
  632. package/docs/sfra/categories.md +0 -124
  633. package/docs/sfra/content.md +0 -133
  634. package/docs/sfra/locale.md +0 -126
  635. package/docs/sfra/order.md +0 -219
  636. package/docs/sfra/payment.md +0 -131
  637. package/docs/sfra/price-default.md +0 -118
  638. package/docs/sfra/price-range.md +0 -77
  639. package/docs/sfra/price-tiered.md +0 -117
  640. package/docs/sfra/product-bundle.md +0 -164
  641. package/docs/sfra/product-full.md +0 -179
  642. package/docs/sfra/product-line-items.md +0 -147
  643. package/docs/sfra/product-search.md +0 -245
  644. package/docs/sfra/product-tile.md +0 -95
  645. package/docs/sfra/querystring.md +0 -240
  646. package/docs/sfra/render.md +0 -354
  647. package/docs/sfra/request.md +0 -210
  648. package/docs/sfra/response.md +0 -391
  649. package/docs/sfra/server.md +0 -375
  650. package/docs/sfra/shipping.md +0 -181
  651. package/docs/sfra/store.md +0 -145
  652. package/docs/sfra/stores.md +0 -190
  653. package/docs/sfra/totals.md +0 -184
  654. package/docs-site-v2/.vitepress/config.mts +0 -190
  655. package/docs-site-v2/.vitepress/theme/components/AssistantTabs.vue +0 -96
  656. package/docs-site-v2/.vitepress/theme/components/Callout.vue +0 -10
  657. package/docs-site-v2/.vitepress/theme/components/Collapsible.vue +0 -14
  658. package/docs-site-v2/.vitepress/theme/components/DwJsonBuilder.vue +0 -82
  659. package/docs-site-v2/.vitepress/theme/components/HomeSections.vue +0 -552
  660. package/docs-site-v2/.vitepress/theme/components/InstructionFilesTabs.vue +0 -87
  661. package/docs-site-v2/.vitepress/theme/components/ModeTabs.vue +0 -70
  662. package/docs-site-v2/.vitepress/theme/components/NewcomerCTA.vue +0 -14
  663. package/docs-site-v2/.vitepress/theme/components/QuickStartCards.vue +0 -20
  664. package/docs-site-v2/.vitepress/theme/components/QuickStartHero.vue +0 -20
  665. package/docs-site-v2/.vitepress/theme/components/SkillsList.vue +0 -48
  666. package/docs-site-v2/.vitepress/theme/components/ToolExplorer.vue +0 -85
  667. package/docs-site-v2/.vitepress/theme/custom.css +0 -1373
  668. package/docs-site-v2/.vitepress/theme/index.ts +0 -39
  669. package/docs-site-v2/data/skills.ts +0 -147
  670. package/docs-site-v2/data/tools.ts +0 -490
  671. package/docs-site-v2/development/index.md +0 -151
  672. package/docs-site-v2/examples/index.md +0 -333
  673. package/docs-site-v2/features/index.md +0 -144
  674. package/docs-site-v2/guide/ai-interfaces.md +0 -58
  675. package/docs-site-v2/guide/configuration.md +0 -208
  676. package/docs-site-v2/guide/index.md +0 -50
  677. package/docs-site-v2/index.md +0 -32
  678. package/docs-site-v2/package-lock.json +0 -2511
  679. package/docs-site-v2/package.json +0 -15
  680. package/docs-site-v2/public/404.html +0 -15
  681. package/docs-site-v2/public/android-chrome-192x192.png +0 -0
  682. package/docs-site-v2/public/android-chrome-512x512.png +0 -0
  683. package/docs-site-v2/public/apple-touch-icon.png +0 -0
  684. package/docs-site-v2/public/explain-product-pricing-methods-no-mcp.png +0 -0
  685. package/docs-site-v2/public/explain-product-pricing-methods.png +0 -0
  686. package/docs-site-v2/public/favicon-16x16.png +0 -0
  687. package/docs-site-v2/public/favicon-32x32.png +0 -0
  688. package/docs-site-v2/public/favicon.ico +0 -0
  689. package/docs-site-v2/public/index.css +0 -4174
  690. package/docs-site-v2/public/llms.txt +0 -44
  691. package/docs-site-v2/public/logo-dark.svg +0 -8
  692. package/docs-site-v2/public/logo.svg +0 -8
  693. package/docs-site-v2/public/robots.txt +0 -20
  694. package/docs-site-v2/public/site.webmanifest +0 -50
  695. package/docs-site-v2/public/sitemap.xml +0 -90
  696. package/docs-site-v2/script-debugger/index.md +0 -105
  697. package/docs-site-v2/scripts/generate-llms.js +0 -71
  698. package/docs-site-v2/scripts/generate-sitemap.js +0 -97
  699. package/docs-site-v2/security/index.md +0 -115
  700. package/docs-site-v2/skills/index.md +0 -40
  701. package/docs-site-v2/tools/index.md +0 -36
  702. package/docs-site-v2/troubleshooting/index.md +0 -204
  703. package/eslint.config.js +0 -139
  704. package/jest.config.js +0 -27
  705. package/memories/repo/docs-site-v2-build.json +0 -11
  706. package/scripts/convert-docs.js +0 -633
  707. package/scripts/validate-server-json.js +0 -68
  708. package/server.json +0 -20
  709. package/src/clients/agent-instructions-client.ts +0 -370
  710. package/src/clients/base/abstract-documentation-client.ts +0 -405
  711. package/src/clients/base/http-client.ts +0 -152
  712. package/src/clients/base/oauth-token.ts +0 -164
  713. package/src/clients/base/ocapi-auth-client.ts +0 -133
  714. package/src/clients/cartridge/cartridge-generation-client.ts +0 -302
  715. package/src/clients/cartridge/cartridge-structure.ts +0 -37
  716. package/src/clients/cartridge/cartridge-templates.ts +0 -246
  717. package/src/clients/cartridge/index.ts +0 -6
  718. package/src/clients/docs/class-content-parser.ts +0 -308
  719. package/src/clients/docs/class-name-resolver.ts +0 -99
  720. package/src/clients/docs/documentation-scanner.ts +0 -255
  721. package/src/clients/docs/index.ts +0 -16
  722. package/src/clients/docs/referenced-types-extractor.ts +0 -92
  723. package/src/clients/docs-client.ts +0 -393
  724. package/src/clients/isml-client.ts +0 -353
  725. package/src/clients/log-client.ts +0 -19
  726. package/src/clients/ocapi/code-versions-client.ts +0 -54
  727. package/src/clients/ocapi/site-preferences-client.ts +0 -106
  728. package/src/clients/ocapi/system-objects-client.ts +0 -148
  729. package/src/clients/ocapi-client.ts +0 -53
  730. package/src/clients/script-debugger/index.ts +0 -5
  731. package/src/clients/script-debugger/script-debugger-client.ts +0 -754
  732. package/src/clients/sfra-client.ts +0 -339
  733. package/src/config/configuration-factory.ts +0 -201
  734. package/src/config/dw-json-loader.ts +0 -248
  735. package/src/config/workspace-roots.ts +0 -540
  736. package/src/constants/index.ts +0 -1
  737. package/src/core/handlers/abstract-client-handler.ts +0 -85
  738. package/src/core/handlers/agent-instructions-handler.ts +0 -48
  739. package/src/core/handlers/base-handler.ts +0 -172
  740. package/src/core/handlers/cartridge-handler.ts +0 -38
  741. package/src/core/handlers/client-factory.ts +0 -140
  742. package/src/core/handlers/code-version-handler.ts +0 -43
  743. package/src/core/handlers/docs-handler.ts +0 -19
  744. package/src/core/handlers/isml-handler.ts +0 -19
  745. package/src/core/handlers/job-log-handler.ts +0 -39
  746. package/src/core/handlers/log-handler.ts +0 -39
  747. package/src/core/handlers/script-debugger-handler.ts +0 -46
  748. package/src/core/handlers/sfra-handler.ts +0 -23
  749. package/src/core/handlers/simple-client-handler.ts +0 -78
  750. package/src/core/handlers/system-object-handler.ts +0 -43
  751. package/src/core/handlers/validation-helpers.ts +0 -206
  752. package/src/core/instruction-advisor.ts +0 -122
  753. package/src/core/server.ts +0 -374
  754. package/src/core/tool-definitions.ts +0 -30
  755. package/src/core/tool-schemas/agent-instruction-tools.ts +0 -72
  756. package/src/core/tool-schemas/cartridge-tools.ts +0 -29
  757. package/src/core/tool-schemas/code-version-tools.ts +0 -28
  758. package/src/core/tool-schemas/documentation-tools.ts +0 -104
  759. package/src/core/tool-schemas/index.ts +0 -27
  760. package/src/core/tool-schemas/isml-tools.ts +0 -89
  761. package/src/core/tool-schemas/log-tools.ts +0 -196
  762. package/src/core/tool-schemas/script-debugger-tools.ts +0 -83
  763. package/src/core/tool-schemas/sfra-tools.ts +0 -65
  764. package/src/core/tool-schemas/shared-schemas.ts +0 -158
  765. package/src/core/tool-schemas/system-object-tools.ts +0 -127
  766. package/src/index.ts +0 -20
  767. package/src/main.ts +0 -161
  768. package/src/services/file-system-service.ts +0 -117
  769. package/src/services/index.ts +0 -11
  770. package/src/services/path-service.ts +0 -124
  771. package/src/tool-configs/agent-instructions-tool-config.ts +0 -83
  772. package/src/tool-configs/cartridge-tool-config.ts +0 -41
  773. package/src/tool-configs/code-version-tool-config.ts +0 -37
  774. package/src/tool-configs/docs-tool-config.ts +0 -103
  775. package/src/tool-configs/isml-tool-config.ts +0 -87
  776. package/src/tool-configs/job-log-tool-config.ts +0 -119
  777. package/src/tool-configs/log-tool-config.ts +0 -110
  778. package/src/tool-configs/script-debugger-tool-config.ts +0 -69
  779. package/src/tool-configs/sfra-tool-config.ts +0 -74
  780. package/src/tool-configs/system-object-tool-config.ts +0 -142
  781. package/src/types/types.ts +0 -125
  782. package/src/utils/cache.ts +0 -291
  783. package/src/utils/category-utils.ts +0 -70
  784. package/src/utils/log-tool-constants.ts +0 -95
  785. package/src/utils/logger.ts +0 -260
  786. package/src/utils/markdown-utils.ts +0 -280
  787. package/src/utils/ocapi-url-builder.ts +0 -48
  788. package/src/utils/path-resolver.ts +0 -69
  789. package/src/utils/path-validation.ts +0 -113
  790. package/src/utils/query-builder.ts +0 -84
  791. package/src/utils/utils.ts +0 -139
  792. package/src/utils/validator.ts +0 -162
  793. package/tests/__mocks__/docs-client.ts +0 -8
  794. package/tests/__mocks__/src/clients/base/http-client.js +0 -43
  795. package/tests/__mocks__/webdav.js +0 -14
  796. package/tests/base-handler.test.ts +0 -527
  797. package/tests/base-http-client.test.ts +0 -311
  798. package/tests/cache.test.ts +0 -453
  799. package/tests/cartridge-handler.test.ts +0 -290
  800. package/tests/class-content-parser.test.ts +0 -629
  801. package/tests/class-name-resolver.test.ts +0 -365
  802. package/tests/client-factory.test.ts +0 -280
  803. package/tests/code-version-handler.test.ts +0 -291
  804. package/tests/code-versions-client.test.ts +0 -156
  805. package/tests/config.test.ts +0 -285
  806. package/tests/configuration-factory.test.ts +0 -233
  807. package/tests/docs-handler.test.ts +0 -359
  808. package/tests/documentation-scanner.test.ts +0 -755
  809. package/tests/file-system-service.test.ts +0 -111
  810. package/tests/isml-client.test.ts +0 -463
  811. package/tests/isml-handler.test.ts +0 -375
  812. package/tests/job-log-handler.test.ts +0 -283
  813. package/tests/log-client.test.ts +0 -768
  814. package/tests/log-handler.test.ts +0 -365
  815. package/tests/log-processor.test.ts +0 -243
  816. package/tests/log-validation.test.ts +0 -149
  817. package/tests/logger.test.ts +0 -303
  818. package/tests/mcp/AGENTS.md +0 -162
  819. package/tests/mcp/README.md +0 -237
  820. package/tests/mcp/node/activate-code-version-advanced.full-mode.programmatic.test.js +0 -669
  821. package/tests/mcp/node/code-versions.full-mode.programmatic.test.js +0 -605
  822. package/tests/mcp/node/evaluate-script.full-mode.programmatic.test.js +0 -387
  823. package/tests/mcp/node/generate-cartridge-structure.docs-only.programmatic.test.js +0 -644
  824. package/tests/mcp/node/get-available-sfra-documents.programmatic.test.js +0 -274
  825. package/tests/mcp/node/get-isml-categories.programmatic.test.js +0 -278
  826. package/tests/mcp/node/get-isml-element.programmatic.test.js +0 -278
  827. package/tests/mcp/node/get-isml-elements-by-category.programmatic.test.js +0 -363
  828. package/tests/mcp/node/get-job-execution-summary.full-mode.programmatic.test.js +0 -432
  829. package/tests/mcp/node/get-job-log-entries.full-mode.programmatic.test.js +0 -488
  830. package/tests/mcp/node/get-latest-debug.full-mode.programmatic.test.js +0 -338
  831. package/tests/mcp/node/get-latest-error.full-mode.programmatic.test.js +0 -255
  832. package/tests/mcp/node/get-latest-info.full-mode.programmatic.test.js +0 -347
  833. package/tests/mcp/node/get-latest-job-log-files.full-mode.programmatic.test.js +0 -460
  834. package/tests/mcp/node/get-latest-warn.full-mode.programmatic.test.js +0 -454
  835. package/tests/mcp/node/get-log-file-contents.full-mode.programmatic.test.js +0 -381
  836. package/tests/mcp/node/get-sfcc-class-documentation.docs-only.programmatic.test.js +0 -371
  837. package/tests/mcp/node/get-sfcc-class-info.docs-only.programmatic.test.js +0 -1032
  838. package/tests/mcp/node/get-sfra-categories.docs-only.programmatic.test.js +0 -369
  839. package/tests/mcp/node/get-sfra-document.programmatic.test.js +0 -473
  840. package/tests/mcp/node/get-sfra-documents-by-category.docs-only.programmatic.test.js +0 -510
  841. package/tests/mcp/node/get-system-object-definition.full-mode.programmatic.test.js +0 -389
  842. package/tests/mcp/node/get-system-object-definitions.docs-only.programmatic.test.js +0 -300
  843. package/tests/mcp/node/get-system-object-definitions.full-mode.programmatic.test.js +0 -387
  844. package/tests/mcp/node/list-isml-elements.programmatic.test.js +0 -311
  845. package/tests/mcp/node/list-log-files.full-mode.programmatic.test.js +0 -150
  846. package/tests/mcp/node/list-sfcc-classes.docs-only.programmatic.test.js +0 -612
  847. package/tests/mcp/node/search-custom-object-attribute-definitions.full-mode.programmatic.test.js +0 -875
  848. package/tests/mcp/node/search-isml-elements.programmatic.test.js +0 -325
  849. package/tests/mcp/node/search-job-logs-by-name.full-mode.programmatic.test.js +0 -330
  850. package/tests/mcp/node/search-job-logs.full-mode.programmatic.test.js +0 -526
  851. package/tests/mcp/node/search-logs.full-mode.programmatic.test.js +0 -478
  852. package/tests/mcp/node/search-sfcc-classes.docs-only.programmatic.test.js +0 -334
  853. package/tests/mcp/node/search-sfcc-methods.docs-only.programmatic.test.js +0 -487
  854. package/tests/mcp/node/search-sfra-documentation.docs-only.programmatic.test.js +0 -563
  855. package/tests/mcp/node/search-site-preferences.full-mode.programmatic.test.js +0 -556
  856. package/tests/mcp/node/search-system-object-attribute-definitions.full-mode.programmatic.test.js +0 -744
  857. package/tests/mcp/node/search-system-object-attribute-groups.full-mode.programmatic.test.js +0 -657
  858. package/tests/mcp/node/summarize-logs.full-mode.programmatic.test.js +0 -357
  859. package/tests/mcp/node/tools.docs-only.programmatic.test.js +0 -515
  860. package/tests/mcp/node/tools.full-mode.programmatic.test.js +0 -154
  861. package/tests/mcp/test-fixtures/dw.json +0 -10
  862. package/tests/mcp/yaml/activate-code-version.docs-only.test.mcp.yml +0 -318
  863. package/tests/mcp/yaml/activate-code-version.full-mode.test.mcp.yml +0 -507
  864. package/tests/mcp/yaml/evaluate-script.full-mode.test.mcp.yml +0 -281
  865. package/tests/mcp/yaml/get-available-sfra-documents.docs-only.test.mcp.yml +0 -684
  866. package/tests/mcp/yaml/get-available-sfra-documents.full-mode.test.mcp.yml +0 -684
  867. package/tests/mcp/yaml/get-code-versions.docs-only.test.mcp.yml +0 -196
  868. package/tests/mcp/yaml/get-code-versions.full-mode.test.mcp.yml +0 -273
  869. package/tests/mcp/yaml/get-isml-categories.docs-only.test.mcp.yml +0 -330
  870. package/tests/mcp/yaml/get-isml-element.docs-only.test.mcp.yml +0 -294
  871. package/tests/mcp/yaml/get-isml-elements-by-category.docs-only.test.mcp.yml +0 -334
  872. package/tests/mcp/yaml/get-job-execution-summary.full-mode.test.mcp.yml +0 -148
  873. package/tests/mcp/yaml/get-job-log-entries.full-mode.test.mcp.yml +0 -284
  874. package/tests/mcp/yaml/get-latest-debug.full-mode.test.mcp.yml +0 -191
  875. package/tests/mcp/yaml/get-latest-error.full-mode.test.mcp.yml +0 -195
  876. package/tests/mcp/yaml/get-latest-info.full-mode.test.mcp.yml +0 -242
  877. package/tests/mcp/yaml/get-latest-job-log-files.full-mode.test.mcp.yml +0 -189
  878. package/tests/mcp/yaml/get-latest-warn.full-mode.test.mcp.yml +0 -182
  879. package/tests/mcp/yaml/get-log-file-contents.full-mode.test.mcp.yml +0 -256
  880. package/tests/mcp/yaml/get-sfcc-class-documentation.docs-only.test.mcp.yml +0 -2416
  881. package/tests/mcp/yaml/get-sfcc-class-documentation.full-mode.test.mcp.yml +0 -2416
  882. package/tests/mcp/yaml/get-sfcc-class-info.docs-only.test.mcp.yml +0 -1225
  883. package/tests/mcp/yaml/get-sfcc-class-info.full-mode.test.mcp.yml +0 -1225
  884. package/tests/mcp/yaml/get-sfra-categories.docs-only.test.mcp.yml +0 -452
  885. package/tests/mcp/yaml/get-sfra-categories.full-mode.test.mcp.yml +0 -452
  886. package/tests/mcp/yaml/get-sfra-document.docs-only.test.mcp.yml +0 -525
  887. package/tests/mcp/yaml/get-sfra-document.full-mode.test.mcp.yml +0 -525
  888. package/tests/mcp/yaml/get-sfra-documents-by-category.docs-only.test.mcp.yml +0 -507
  889. package/tests/mcp/yaml/get-sfra-documents-by-category.full-mode.test.mcp.yml +0 -507
  890. package/tests/mcp/yaml/get-system-object-definition.docs-only.test.mcp.yml +0 -208
  891. package/tests/mcp/yaml/get-system-object-definition.full-mode.test.mcp.yml +0 -191
  892. package/tests/mcp/yaml/get-system-object-definitions.docs-only.test.mcp.yml +0 -257
  893. package/tests/mcp/yaml/get-system-object-definitions.full-mode.test.mcp.yml +0 -517
  894. package/tests/mcp/yaml/get_latest_error.test.mcp.yml +0 -472
  895. package/tests/mcp/yaml/list-isml-elements.docs-only.test.mcp.yml +0 -212
  896. package/tests/mcp/yaml/list-log-files.full-mode.test.mcp.yml +0 -89
  897. package/tests/mcp/yaml/list-sfcc-classes.docs-only.test.mcp.yml +0 -511
  898. package/tests/mcp/yaml/list-sfcc-classes.full-mode.test.mcp.yml +0 -511
  899. package/tests/mcp/yaml/search-custom-object-attribute-definitions.docs-only.test.mcp.yml +0 -82
  900. package/tests/mcp/yaml/search-custom-object-attribute-definitions.test.mcp.yml +0 -387
  901. package/tests/mcp/yaml/search-isml-elements.docs-only.test.mcp.yml +0 -312
  902. package/tests/mcp/yaml/search-job-logs-by-name.full-mode.test.mcp.yml +0 -169
  903. package/tests/mcp/yaml/search-job-logs.full-mode.test.mcp.yml +0 -174
  904. package/tests/mcp/yaml/search-logs.full-mode.test.mcp.yml +0 -207
  905. package/tests/mcp/yaml/search-sfcc-classes.docs-only.test.mcp.yml +0 -1157
  906. package/tests/mcp/yaml/search-sfcc-classes.full-mode.test.mcp.yml +0 -1157
  907. package/tests/mcp/yaml/search-sfcc-methods.docs-only.test.mcp.yml +0 -723
  908. package/tests/mcp/yaml/search-sfcc-methods.full-mode.test.mcp.yml +0 -723
  909. package/tests/mcp/yaml/search-sfra-documentation.docs-only.test.mcp.yml +0 -427
  910. package/tests/mcp/yaml/search-sfra-documentation.full-mode.test.mcp.yml +0 -427
  911. package/tests/mcp/yaml/search-site-preferences.docs-only.test.mcp.yml +0 -295
  912. package/tests/mcp/yaml/search-site-preferences.full-mode.test.mcp.yml +0 -574
  913. package/tests/mcp/yaml/search-system-object-attribute-definitions.docs-only.test.mcp.yml +0 -168
  914. package/tests/mcp/yaml/search-system-object-attribute-definitions.full-mode.test.mcp.yml +0 -500
  915. package/tests/mcp/yaml/search-system-object-attribute-groups.docs-only.test.mcp.yml +0 -278
  916. package/tests/mcp/yaml/search-system-object-attribute-groups.full-mode.test.mcp.yml +0 -612
  917. package/tests/mcp/yaml/summarize-logs.full-mode.test.mcp.yml +0 -173
  918. package/tests/mcp/yaml/tools.docs-only.test.mcp.yml +0 -535
  919. package/tests/mcp/yaml/tools.full-mode.test.mcp.yml +0 -378
  920. package/tests/oauth-token.test.ts +0 -725
  921. package/tests/ocapi-auth-client.test.ts +0 -276
  922. package/tests/ocapi-client.test.ts +0 -242
  923. package/tests/path-service.test.ts +0 -96
  924. package/tests/query-builder.test.ts +0 -281
  925. package/tests/referenced-types-extractor.test.ts +0 -814
  926. package/tests/script-debugger-client.test.ts +0 -430
  927. package/tests/servers/sfcc-mock-server/README.md +0 -208
  928. package/tests/servers/sfcc-mock-server/mock-data/ocapi/code-versions.json +0 -247
  929. package/tests/servers/sfcc-mock-server/mock-data/ocapi/custom-object-attributes-customapi.json +0 -128
  930. package/tests/servers/sfcc-mock-server/mock-data/ocapi/custom-object-attributes-globalsettings.json +0 -92
  931. package/tests/servers/sfcc-mock-server/mock-data/ocapi/custom-object-attributes-versionhistory.json +0 -256
  932. package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-ccv.json +0 -275
  933. package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-fastforward.json +0 -123
  934. package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-sfra.json +0 -224
  935. package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-storefront.json +0 -447
  936. package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-system.json +0 -171
  937. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-campaign.json +0 -13
  938. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-category.json +0 -50
  939. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-order.json +0 -32
  940. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-product.json +0 -224
  941. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-sitepreferences.json +0 -62
  942. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attributes-customeraddress.json +0 -109
  943. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attributes-product-expanded.json +0 -183
  944. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attributes-product.json +0 -139
  945. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-category.json +0 -26
  946. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-customer.json +0 -26
  947. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-customeraddress.json +0 -26
  948. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-order.json +0 -26
  949. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-product.json +0 -26
  950. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definitions-old.json +0 -354
  951. package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definitions.json +0 -172
  952. package/tests/servers/sfcc-mock-server/package-lock.json +0 -879
  953. package/tests/servers/sfcc-mock-server/package.json +0 -39
  954. package/tests/servers/sfcc-mock-server/scripts/setup-logs.js +0 -224
  955. package/tests/servers/sfcc-mock-server/server.js +0 -280
  956. package/tests/servers/sfcc-mock-server/src/app.js +0 -182
  957. package/tests/servers/sfcc-mock-server/src/config/server-config.js +0 -124
  958. package/tests/servers/sfcc-mock-server/src/middleware/auth.js +0 -101
  959. package/tests/servers/sfcc-mock-server/src/middleware/cors.js +0 -39
  960. package/tests/servers/sfcc-mock-server/src/middleware/logging.js +0 -124
  961. package/tests/servers/sfcc-mock-server/src/routes/cartridge-webdav.js +0 -258
  962. package/tests/servers/sfcc-mock-server/src/routes/ocapi/code-versions-handler.js +0 -184
  963. package/tests/servers/sfcc-mock-server/src/routes/ocapi/debugger-handler.js +0 -396
  964. package/tests/servers/sfcc-mock-server/src/routes/ocapi/oauth-handler.js +0 -36
  965. package/tests/servers/sfcc-mock-server/src/routes/ocapi/ocapi-error-utils.js +0 -221
  966. package/tests/servers/sfcc-mock-server/src/routes/ocapi/ocapi-utils.js +0 -440
  967. package/tests/servers/sfcc-mock-server/src/routes/ocapi/site-preferences-handler.js +0 -332
  968. package/tests/servers/sfcc-mock-server/src/routes/ocapi/system-objects-handler.js +0 -572
  969. package/tests/servers/sfcc-mock-server/src/routes/ocapi.js +0 -58
  970. package/tests/servers/sfcc-mock-server/src/routes/storefront.js +0 -86
  971. package/tests/servers/sfcc-mock-server/src/routes/webdav.js +0 -240
  972. package/tests/servers/sfcc-mock-server/src/utils/mock-data-loader.js +0 -84
  973. package/tests/servers/sfcc-mock-server/src/utils/webdav-xml.js +0 -121
  974. package/tests/servers/sfcc-mock-server-manager.ts +0 -280
  975. package/tests/sfcc-mock-server.test.ts +0 -423
  976. package/tests/site-preferences-client.test.ts +0 -358
  977. package/tests/system-objects-client.test.ts +0 -310
  978. package/tests/utils.test.ts +0 -477
  979. package/tests/validation-helpers.test.ts +0 -325
  980. package/tests/validator.test.ts +0 -416
  981. package/tests/workspace-roots.test.ts +0 -227
  982. package/tsconfig.json +0 -20
  983. package/tsconfig.test.json +0 -20
@@ -1,2567 +0,0 @@
1
- ## Package: dw.order
2
-
3
- # Class Order
4
-
5
- ## Inheritance Hierarchy
6
-
7
- - Object
8
- - dw.object.PersistentObject
9
- - dw.object.ExtensibleObject
10
- - dw.order.LineItemCtnr
11
- - dw.order.Order
12
-
13
- ## Description
14
-
15
- The Order class represents an order. The correct way to retrieve an order is described in OrderMgr.
16
-
17
- ## Constants
18
-
19
- ### CONFIRMATION_STATUS_CONFIRMED
20
-
21
- **Type:** Number = 2
22
-
23
- constant for when Confirmation Status is Confirmed
24
-
25
- ### CONFIRMATION_STATUS_NOTCONFIRMED
26
-
27
- **Type:** Number = 0
28
-
29
- constant for when Confirmation Status is Not Confirmed
30
-
31
- ### ENCRYPTION_ALGORITHM_RSA_ECB_OAEPWITHSHA_256ANDMGF1PADDING
32
-
33
- **Type:** String = "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"
34
-
35
- The encryption algorithm "RSA/ECB/OAEPWithSHA-256AndMGF1Padding".
36
-
37
- ### ENCRYPTION_ALGORITHM_RSA_ECB_PKCS1PADDING
38
-
39
- **Type:** String = "RSA/ECB/PKCS1Padding"
40
-
41
- The outdated encryption algorithm "RSA/ECB/PKCS1Padding". Please do not use anymore!
42
-
43
- ### EXPORT_STATUS_EXPORTED
44
-
45
- **Type:** Number = 1
46
-
47
- constant for when Export Status is Exported
48
-
49
- ### EXPORT_STATUS_FAILED
50
-
51
- **Type:** Number = 3
52
-
53
- constant for when Export Status is Failed
54
-
55
- ### EXPORT_STATUS_NOTEXPORTED
56
-
57
- **Type:** Number = 0
58
-
59
- constant for when Export Status is Not Exported
60
-
61
- ### EXPORT_STATUS_READY
62
-
63
- **Type:** Number = 2
64
-
65
- constant for when Export Status is ready to be exported.
66
-
67
- ### ORDER_STATUS_CANCELLED
68
-
69
- **Type:** Number = 6
70
-
71
- constant for when Order Status is Cancelled
72
-
73
- ### ORDER_STATUS_COMPLETED
74
-
75
- **Type:** Number = 5
76
-
77
- constant for when Order Status is Completed
78
-
79
- ### ORDER_STATUS_CREATED
80
-
81
- **Type:** Number = 0
82
-
83
- constant for when Order Status is Created
84
-
85
- ### ORDER_STATUS_FAILED
86
-
87
- **Type:** Number = 8
88
-
89
- constant for when Order Status is Failed
90
-
91
- ### ORDER_STATUS_NEW
92
-
93
- **Type:** Number = 3
94
-
95
- constant for when Order Status is New
96
-
97
- ### ORDER_STATUS_OPEN
98
-
99
- **Type:** Number = 4
100
-
101
- constant for when Order Status is Open
102
-
103
- ### ORDER_STATUS_REPLACED
104
-
105
- **Type:** Number = 7
106
-
107
- constant for when Order Status is Replaced
108
-
109
- ### PAYMENT_STATUS_NOTPAID
110
-
111
- **Type:** Number = 0
112
-
113
- constant for when Payment Status is Not Paid
114
-
115
- ### PAYMENT_STATUS_PAID
116
-
117
- **Type:** Number = 2
118
-
119
- constant for when Payment Status is Paid
120
-
121
- ### PAYMENT_STATUS_PARTPAID
122
-
123
- **Type:** Number = 1
124
-
125
- constant for when Payment Status is Part Paid
126
-
127
- ### SHIPPING_STATUS_NOTSHIPPED
128
-
129
- **Type:** Number = 0
130
-
131
- constant for when Shipping Status is Not shipped
132
-
133
- ### SHIPPING_STATUS_PARTSHIPPED
134
-
135
- **Type:** Number = 1
136
-
137
- constant for when Shipping Status is Part Shipped
138
-
139
- ### SHIPPING_STATUS_SHIPPED
140
-
141
- **Type:** Number = 2
142
-
143
- constant for when Shipping Status is Shipped
144
-
145
- ## Properties
146
-
147
- ### affiliatePartnerID
148
-
149
- **Type:** String
150
-
151
- The affiliate partner ID value, or null.
152
-
153
- ### affiliatePartnerName
154
-
155
- **Type:** String
156
-
157
- The affiliate partner name value, or null.
158
-
159
- ### appeasementItems
160
-
161
- **Type:** FilteringCollection (Read Only)
162
-
163
- The collection of AppeasementItems associated with this order.
164
-
165
- ### appeasements
166
-
167
- **Type:** FilteringCollection (Read Only)
168
-
169
- The collection of Appeasements associated with this order.
170
-
171
- ### cancelCode
172
-
173
- **Type:** EnumValue
174
-
175
- If this order was cancelled, returns the value of the
176
- cancel code or null.
177
-
178
- ### cancelDescription
179
-
180
- **Type:** String
181
-
182
- If this order was cancelled, returns the text describing why
183
- the order was cancelled or null.
184
-
185
- ### capturedAmount
186
-
187
- **Type:** Money (Read Only)
188
-
189
- The sum of the captured amounts. The captured amounts
190
- are calculated on the fly. Associate a payment capture for an PaymentInstrument with an Invoice
191
- using Invoice.addCaptureTransaction(OrderPaymentInstrument, Money).
192
-
193
- ### confirmationStatus
194
-
195
- **Type:** EnumValue
196
-
197
- The confirmation status of the order.
198
- Possible values are CONFIRMATION_STATUS_NOTCONFIRMED and
199
- CONFIRMATION_STATUS_CONFIRMED.
200
-
201
- ### createdBy
202
-
203
- **Type:** String (Read Only)
204
-
205
- The name of the user who has created the order.
206
- If an agent user has created the order, the agent user's name
207
- is returned. Otherwise "Customer" is returned.
208
-
209
- ### currentOrder
210
-
211
- **Type:** Order (Read Only)
212
-
213
- The current order. The current order
214
- represents the most recent order in a chain of orders.
215
- For example, if Order1 was replaced by Order2, Order2 is the current
216
- representation of the order and Order1 is the original representation
217
- of the order. If you replace Order2 with Order3, Order 3 is now the
218
- current order and Order1 is still the original representation of the
219
- order. If this order has not been replaced, this method returns this
220
- order because this order is the current order.
221
-
222
- ### currentOrderNo
223
-
224
- **Type:** String (Read Only)
225
-
226
- The order number of the current order. The current order
227
- represents the most recent order in a chain of orders.
228
- For example, if Order1 was replaced by Order2, Order2 is the current
229
- representation of the order and Order1 is the original representation
230
- of the order. If you replace Order2 with Order3, Order 3 is now the
231
- current order and Order1 is still the original representation of the
232
- order. If this order has not been replaced, calling this method returns the
233
- same value as the getOrderNo() method because this order is the
234
- current order.
235
-
236
- ### customerLocaleID
237
-
238
- **Type:** String (Read Only)
239
-
240
- The ID of the locale that was in effect when the order
241
- was placed. This is the customer's locale.
242
-
243
- ### customerOrderReference
244
-
245
- **Type:** String
246
-
247
- The customer-specific reference information for the order, or null.
248
-
249
- ### exportAfter
250
-
251
- **Type:** Date
252
-
253
- A date after which an order can be exported.
254
-
255
- ### exportStatus
256
-
257
- **Type:** EnumValue
258
-
259
- The export status of the order.
260
- Possible values are: EXPORT_STATUS_NOTEXPORTED,
261
- EXPORT_STATUS_EXPORTED, EXPORT_STATUS_READY,
262
- and EXPORT_STATUS_FAILED.
263
-
264
- ### externalOrderNo
265
-
266
- **Type:** String
267
-
268
- The value of an external order number associated
269
- with this order, or null.
270
-
271
- ### externalOrderStatus
272
-
273
- **Type:** String
274
-
275
- The status of an external order associated
276
- with this order, or null.
277
-
278
- ### externalOrderText
279
-
280
- **Type:** String
281
-
282
- The text describing the external order, or null.
283
-
284
- ### globalPartyID
285
-
286
- **Type:** String (Read Only)
287
-
288
- The Global Party ID reconciles customer identity across multiple systems. For example, as part of the Service for
289
- Commerce experience, service agents can find information for customers who have never called into the call
290
- center, but have created a profile on the website. Service agents can find guest order data from B2C Commerce and
291
- easily create accounts for customers. Customer 360 Data Manager matches records from multiple data sources to
292
- determine all the records associated with a specific customer.
293
-
294
- ### imported
295
-
296
- **Type:** boolean (Read Only)
297
-
298
- Returns true, if the order is imported and false
299
- otherwise.
300
-
301
- ### invoiceItems
302
-
303
- **Type:** FilteringCollection (Read Only)
304
-
305
- The collection of InvoiceItems associated with this order.
306
-
307
- Order post-processing APIs (gillian) are now inactive by default and will throw
308
- an exception if accessed. Activation needs preliminary approval by Product Management.
309
- Please contact support in this case. Existing customers using these APIs are not
310
- affected by this change and can use the APIs until further notice.
311
-
312
- ### invoiceNo
313
-
314
- **Type:** String
315
-
316
- The invoice number for this Order.
317
-
318
- When an order is placed (e.g. with OrderMgr.placeOrder(Order)) invoice number will be filled
319
- using a sequence. Before order was placed null will be returned unless it was set with
320
- setInvoiceNo(String).
321
-
322
- ### invoices
323
-
324
- **Type:** FilteringCollection (Read Only)
325
-
326
- The collection of Invoices associated with this order.
327
-
328
- Order post-processing APIs (gillian) are now inactive by default and will throw
329
- an exception if accessed. Activation needs preliminary approval by Product Management.
330
- Please contact support in this case. Existing customers using these APIs are not
331
- affected by this change and can use the APIs until further notice.
332
-
333
- ### orderExportXML
334
-
335
- **Type:** String (Read Only)
336
-
337
- The order export XML as String object.
338
-
339
- NOTE: This method will return payment instrument data masked. If payment instrument re-encryption is needed
340
- please use getOrderExportXML(String, String) instead.
341
-
342
- Example:
343
-
344
- var orderXMLAsString : String = order.getOrderExportXML();
345
- var orderXML : XML = new XML(orderXMLAsString);
346
-
347
- ### orderNo
348
-
349
- **Type:** String (Read Only)
350
-
351
- The order number for this order.
352
-
353
- ### orderToken
354
-
355
- **Type:** String (Read Only)
356
-
357
- The token for this order. The order token is a string (length 32 bytes) associated
358
- with this one order. The order token is random. It reduces the capability of malicious
359
- users to access an order through guessing. Order token can be used to further validate order
360
- ownership, but should never be used to solely validate ownership. In addition, the storefront
361
- should ensure authentication and authorization. See the Security Best Practices for Developers for details.
362
-
363
- ### originalOrder
364
-
365
- **Type:** Order (Read Only)
366
-
367
- The original order associated with
368
- this order. The original order represents an order that was the
369
- first ancestor in a chain of orders.
370
- For example, if Order1 was replaced by Order2, Order2 is the current
371
- representation of the order and Order1 is the original representation
372
- of the order. If you replace Order2 with Order3, Order1 is still the
373
- original representation of the order. If this order is the first
374
- ancestor, this method returns this order.
375
-
376
- ### originalOrderNo
377
-
378
- **Type:** String (Read Only)
379
-
380
- The order number of the original order associated with
381
- this order. The original order represents an order that was the
382
- first ancestor in a chain of orders.
383
- For example, if Order1 was replaced by Order2, Order2 is the current
384
- representation of the order and Order1 is the original representation
385
- of the order. If you replace Order2 with Order3, Order1 is still the
386
- original representation of the order. If this order is the first
387
- ancestor, this method returns the value of getOrderNo().
388
-
389
- ### paymentStatus
390
-
391
- **Type:** EnumValue
392
-
393
- The order payment status value.
394
- Possible values are PAYMENT_STATUS_NOTPAID, PAYMENT_STATUS_PARTPAID
395
- or PAYMENT_STATUS_PAID.
396
-
397
- ### paymentTransaction
398
-
399
- **Type:** PaymentTransaction (Read Only)
400
-
401
- The payment transaction associated with this order.
402
- It is possible that there are multiple payment transactions
403
- associated with the order. In this case, this method returns
404
- the transaction associated with the first PaymentInstrument
405
- returned by getPaymentInstruments().
406
-
407
- ### refundedAmount
408
-
409
- **Type:** Money (Read Only)
410
-
411
- The sum of the refunded amounts. The refunded amounts are
412
- calculated on the fly. Associate a payment refund for an PaymentInstrument with an Invoice
413
- using Invoice.addRefundTransaction(OrderPaymentInstrument, Money).
414
-
415
- ### remoteHost
416
-
417
- **Type:** String (Read Only)
418
-
419
- The IP address of the remote host from which the order was created.
420
-
421
- If the IP address was not captured for the order because order IP logging
422
- was disabled at the time the order was created, null will be returned.
423
-
424
- ### replaceCode
425
-
426
- **Type:** EnumValue
427
-
428
- If this order was replaced by another order,
429
- returns the value of the replace code. Otherwise.
430
- returns null.
431
-
432
- ### replaceDescription
433
-
434
- **Type:** String
435
-
436
- If this order was replaced by another order,
437
- returns the value of the replace description. Otherwise
438
- returns null.
439
-
440
- ### replacedOrder
441
-
442
- **Type:** Order (Read Only)
443
-
444
- The order that this order replaced or null. For example, if you
445
- have three orders where Order1 was replaced by Order2 and Order2 was
446
- replaced by Order3, calling this method on Order3 will return Order2.
447
- Similarly, calling this method on Order1 will return null as Order1 was
448
- the original order.
449
-
450
- ### replacedOrderNo
451
-
452
- **Type:** String (Read Only)
453
-
454
- The order number that this order replaced or null if this order
455
- did not replace an order. For example, if you have three orders
456
- where Order1 was replaced by Order2 and Order2 was replaced by Order3,
457
- calling this method on Order3 will return the order number for
458
- Order2. Similarly, calling this method on Order1 will return null as
459
- Order1 was the original order.
460
-
461
- ### replacementOrder
462
-
463
- **Type:** Order (Read Only)
464
-
465
- The order that replaced this order, or null.
466
-
467
- ### replacementOrderNo
468
-
469
- **Type:** String (Read Only)
470
-
471
- If this order was replaced by another order,
472
- returns the order number that replaced this order. Otherwise
473
- returns null.
474
-
475
- ### returnCaseItems
476
-
477
- **Type:** FilteringCollection (Read Only)
478
-
479
- The collection of ReturnCaseItems associated with this order.
480
-
481
- Order post-processing APIs (gillian) are now inactive by default and will throw
482
- an exception if accessed. Activation needs preliminary approval by Product Management.
483
- Please contact support in this case. Existing customers using these APIs are not
484
- affected by this change and can use the APIs until further notice.
485
-
486
- ### returnCases
487
-
488
- **Type:** FilteringCollection (Read Only)
489
-
490
- The collection of ReturnCases associated with this order.
491
-
492
- Order post-processing APIs (gillian) are now inactive by default and will throw
493
- an exception if accessed. Activation needs preliminary approval by Product Management.
494
- Please contact support in this case. Existing customers using these APIs are not
495
- affected by this change and can use the APIs until further notice.
496
-
497
- ### returnItems
498
-
499
- **Type:** FilteringCollection (Read Only)
500
-
501
- The collection of ReturnItems associated with this order.
502
-
503
- Order post-processing APIs (gillian) are now inactive by default and will throw
504
- an exception if accessed. Activation needs preliminary approval by Product Management.
505
- Please contact support in this case. Existing customers using these APIs are not
506
- affected by this change and can use the APIs until further notice.
507
-
508
- ### returns
509
-
510
- **Type:** FilteringCollection (Read Only)
511
-
512
- The collection of Returns associated with this order.
513
-
514
- Order post-processing APIs (gillian) are now inactive by default and will throw
515
- an exception if accessed. Activation needs preliminary approval by Product Management.
516
- Please contact support in this case. Existing customers using these APIs are not
517
- affected by this change and can use the APIs until further notice.
518
-
519
- ### shippingOrderItems
520
-
521
- **Type:** FilteringCollection (Read Only)
522
-
523
- The collection of ShippingOrderItems associated with this order.
524
-
525
- Order post-processing APIs (gillian) are now inactive by default and will throw
526
- an exception if accessed. Activation needs preliminary approval by Product Management.
527
- Please contact support in this case. Existing customers using these APIs are not
528
- affected by this change and can use the APIs until further notice.
529
-
530
- ### shippingOrders
531
-
532
- **Type:** FilteringCollection (Read Only)
533
-
534
- The collection of ShippingOrders associated with this order.
535
-
536
- Order post-processing APIs (gillian) are now inactive by default and will throw
537
- an exception if accessed. Activation needs preliminary approval by Product Management.
538
- Please contact support in this case. Existing customers using these APIs are not
539
- affected by this change and can use the APIs until further notice.
540
-
541
- ### shippingStatus
542
-
543
- **Type:** EnumValue
544
-
545
- The order shipping status.
546
- Possible values are SHIPPING_STATUS_NOTSHIPPED,
547
- SHIPPING_STATUS_PARTSHIPPED or SHIPPING_STATUS_SHIPPED.
548
-
549
- ### sourceCode
550
-
551
- **Type:** String (Read Only)
552
-
553
- The source code stored with the order or null if no source code is attached to the order.
554
-
555
- ### sourceCodeGroup
556
-
557
- **Type:** SourceCodeGroup (Read Only)
558
-
559
- The source code group attached to the order or null if no source code group is attached to
560
- the order.
561
-
562
- ### sourceCodeGroupID
563
-
564
- **Type:** String (Read Only)
565
-
566
- The source code group id stored with the order or null if no source code group is attached
567
- to the order.
568
-
569
- ### status
570
-
571
- **Type:** EnumValue
572
-
573
- The status of the order.
574
- Possible values are:
575
-
576
- ORDER_STATUS_CREATED
577
- ORDER_STATUS_NEW
578
- ORDER_STATUS_OPEN
579
- ORDER_STATUS_COMPLETED
580
- ORDER_STATUS_CANCELLED
581
- ORDER_STATUS_FAILED
582
- ORDER_STATUS_REPLACED
583
-
584
-
585
- The order status usually changes when a process action is initiated. Most status changes have an action which
586
- needs to executed in order to end having the order in a specific order status. When an order is created with e.g.
587
- OrderMgr.createOrder(Basket) the order status will be ORDER_STATUS_CREATED. The usual
588
- flow is that payment authorization will be added to the order. Once the order is considered as valid (payed,
589
- fraud checked, ...) the order gets placed. This can be done by calling
590
- OrderMgr.placeOrder(Order). The result of placing an order will be status
591
- ORDER_STATUS_OPEN (from a process standpoint ORDER_STATUS_NEW which has the same meaning).
592
- Status ORDER_STATUS_REPLACED is related to functionality
593
- BasketMgr.createBasketFromOrder(Order). ORDER_STATUS_COMPLETED has no meaning by
594
- default but can be used by custom implementations but is a synonym for NEW/OPEN. Below you will find the most important status changes:
595
-
596
-
597
-
598
- Status beforeActionStatus afterBusiness meaning
599
- -OrderMgr.createOrder(Basket)CREATEDOrder was created from a basket.
600
- CREATEDOrderMgr.placeOrder(Order)OPEN/NEWOrder was considered as valid. Order can now be exported to 3rd party systems.
601
- CREATEDOrderMgr.failOrder(Order)FAILEDOrder was considered not valid. E.g. payment authorization was wrong or fraud check was not successful.
602
- OPEN/NEWOrderMgr.cancelOrder(Order)CANCELLEDOrder was cancelled.
603
- CANCELLEDOrderMgr.undoCancelOrder(Order)OPEN/NEWOrder was cancelled by mistake and this needs to be undone.
604
- FAILEDOrderMgr.undoFailOrder(Order)CREATEDOrder was failed by mistake and this needs to be undone.
605
-
606
- Every status change will trigger a change in the order journal which is the base for GMV calculations.
607
-
608
- ### taxRoundedAtGroup
609
-
610
- **Type:** boolean (Read Only)
611
-
612
- Use this method to check if the Order was created with grouped taxation calculation.
613
-
614
- If the tax is rounded on group level, the tax is applied to the summed-up tax basis for each tax rate.
615
-
616
- ## Constructor Summary
617
-
618
- ## Method Summary
619
-
620
- ### createAppeasement
621
-
622
- **Signature:** `createAppeasement(appeasementNumber : String) : Appeasement`
623
-
624
- Creates a new Appeasement associated with this order.
625
-
626
- ### createAppeasement
627
-
628
- **Signature:** `createAppeasement() : Appeasement`
629
-
630
- Creates a new Appeasement associated with this order.
631
-
632
- ### createReturnCase
633
-
634
- **Signature:** `createReturnCase(returnCaseNumber : String, isRMA : boolean) : ReturnCase`
635
-
636
- Creates a new ReturnCase associated with this order specifying whether the ReturnCase is an RMA (return merchandise authorization).
637
-
638
- ### createReturnCase
639
-
640
- **Signature:** `createReturnCase(isRMA : boolean) : ReturnCase`
641
-
642
- Creates a new ReturnCase associated with this order specifying whether the ReturnCase is an RMA (return merchandise authorization).
643
-
644
- ### createServiceItem
645
-
646
- **Signature:** `createServiceItem(ID : String, status : String) : OrderItem`
647
-
648
- Returns the order item with the given status which wraps a new service item which is created and added to the order.
649
-
650
- ### createShippingOrder
651
-
652
- **Signature:** `createShippingOrder() : ShippingOrder`
653
-
654
- Creates a new ShippingOrder for this order.
655
-
656
- ### createShippingOrder
657
-
658
- **Signature:** `createShippingOrder(shippingOrderNumber : String) : ShippingOrder`
659
-
660
- Creates a new ShippingOrder for this order.
661
-
662
- ### getAffiliatePartnerID
663
-
664
- **Signature:** `getAffiliatePartnerID() : String`
665
-
666
- Returns the affiliate partner ID value, or null.
667
-
668
- ### getAffiliatePartnerName
669
-
670
- **Signature:** `getAffiliatePartnerName() : String`
671
-
672
- Returns the affiliate partner name value, or null.
673
-
674
- ### getAppeasement
675
-
676
- **Signature:** `getAppeasement(appeasementNumber : String) : Appeasement`
677
-
678
- Returns the Appeasement associated with this order with the given appeasementNumber.
679
-
680
- ### getAppeasementItem
681
-
682
- **Signature:** `getAppeasementItem(appeasementItemID : String) : AppeasementItem`
683
-
684
- Returns the AppeasementItem associated with this Order with the given appeasementItemID.
685
-
686
- ### getAppeasementItems
687
-
688
- **Signature:** `getAppeasementItems() : FilteringCollection`
689
-
690
- Returns the collection of AppeasementItems associated with this order.
691
-
692
- ### getAppeasements
693
-
694
- **Signature:** `getAppeasements() : FilteringCollection`
695
-
696
- Returns the collection of Appeasements associated with this order.
697
-
698
- ### getCancelCode
699
-
700
- **Signature:** `getCancelCode() : EnumValue`
701
-
702
- If this order was cancelled, returns the value of the cancel code or null.
703
-
704
- ### getCancelDescription
705
-
706
- **Signature:** `getCancelDescription() : String`
707
-
708
- If this order was cancelled, returns the text describing why the order was cancelled or null.
709
-
710
- ### getCapturedAmount
711
-
712
- **Signature:** `getCapturedAmount() : Money`
713
-
714
- Returns the sum of the captured amounts.
715
-
716
- ### getConfirmationStatus
717
-
718
- **Signature:** `getConfirmationStatus() : EnumValue`
719
-
720
- Returns the confirmation status of the order. Possible values are CONFIRMATION_STATUS_NOTCONFIRMED and CONFIRMATION_STATUS_CONFIRMED.
721
-
722
- ### getCreatedBy
723
-
724
- **Signature:** `getCreatedBy() : String`
725
-
726
- Returns the name of the user who has created the order.
727
-
728
- ### getCurrentOrder
729
-
730
- **Signature:** `getCurrentOrder() : Order`
731
-
732
- Returns the current order.
733
-
734
- ### getCurrentOrderNo
735
-
736
- **Signature:** `getCurrentOrderNo() : String`
737
-
738
- Returns the order number of the current order.
739
-
740
- ### getCustomerLocaleID
741
-
742
- **Signature:** `getCustomerLocaleID() : String`
743
-
744
- Returns the ID of the locale that was in effect when the order was placed.
745
-
746
- ### getCustomerOrderReference
747
-
748
- **Signature:** `getCustomerOrderReference() : String`
749
-
750
- Returns the customer-specific reference information for the order, or null.
751
-
752
- ### getExportAfter
753
-
754
- **Signature:** `getExportAfter() : Date`
755
-
756
- Returns a date after which an order can be exported.
757
-
758
- ### getExportStatus
759
-
760
- **Signature:** `getExportStatus() : EnumValue`
761
-
762
- Returns the export status of the order. Possible values are: EXPORT_STATUS_NOTEXPORTED, EXPORT_STATUS_EXPORTED, EXPORT_STATUS_READY, and EXPORT_STATUS_FAILED.
763
-
764
- ### getExternalOrderNo
765
-
766
- **Signature:** `getExternalOrderNo() : String`
767
-
768
- Returns the value of an external order number associated with this order, or null.
769
-
770
- ### getExternalOrderStatus
771
-
772
- **Signature:** `getExternalOrderStatus() : String`
773
-
774
- Returns the status of an external order associated with this order, or null.
775
-
776
- ### getExternalOrderText
777
-
778
- **Signature:** `getExternalOrderText() : String`
779
-
780
- Returns the text describing the external order, or null.
781
-
782
- ### getGlobalPartyID
783
-
784
- **Signature:** `getGlobalPartyID() : String`
785
-
786
- The Global Party ID reconciles customer identity across multiple systems.
787
-
788
- ### getInvoice
789
-
790
- **Signature:** `getInvoice(invoiceNumber : String) : Invoice`
791
-
792
- Returns the Invoice associated with this order with the given invoiceNumber.
793
-
794
- ### getInvoiceItem
795
-
796
- **Signature:** `getInvoiceItem(invoiceItemID : String) : InvoiceItem`
797
-
798
- Returns the InvoiceItem associated with this order with the given ID.
799
-
800
- ### getInvoiceItems
801
-
802
- **Signature:** `getInvoiceItems() : FilteringCollection`
803
-
804
- Returns the collection of InvoiceItems associated with this order.
805
-
806
- ### getInvoiceNo
807
-
808
- **Signature:** `getInvoiceNo() : String`
809
-
810
- Returns the invoice number for this Order.
811
-
812
- ### getInvoices
813
-
814
- **Signature:** `getInvoices() : FilteringCollection`
815
-
816
- Returns the collection of Invoices associated with this order.
817
-
818
- ### getOrderExportXML
819
-
820
- **Signature:** `getOrderExportXML() : String`
821
-
822
- Returns the order export XML as String object.
823
-
824
- ### getOrderExportXML
825
-
826
- **Signature:** `getOrderExportXML(encryptionAlgorithm : String, encryptionKey : String) : String`
827
-
828
- Returns the order export XML as String object, with payment instrument data re-encrypted using the given encryption algorithm and key.
829
-
830
- ### getOrderExportXML
831
-
832
- **Signature:** `getOrderExportXML(encryptionAlgorithm : String, encryptionKey : String, encryptUsingEKID : boolean) : String`
833
-
834
- Returns the order export XML as String object, with payment instrument data re-encrypted using the given encryption algorithm and key.
835
-
836
- ### getOrderExportXML
837
-
838
- **Signature:** `getOrderExportXML(encryptionAlgorithm : String, encryptionKey : String) : String`
839
-
840
- Returns the order export XML as String object, with payment instrument data re-encrypted using the given encryption algorithm and key.
841
-
842
- ### getOrderItem
843
-
844
- **Signature:** `getOrderItem(itemID : String) : OrderItem`
845
-
846
- Returns the OrderItem for the itemID.
847
-
848
- ### getOrderNo
849
-
850
- **Signature:** `getOrderNo() : String`
851
-
852
- Returns the order number for this order.
853
-
854
- ### getOrderToken
855
-
856
- **Signature:** `getOrderToken() : String`
857
-
858
- Returns the token for this order.
859
-
860
- ### getOriginalOrder
861
-
862
- **Signature:** `getOriginalOrder() : Order`
863
-
864
- Returns the original order associated with this order.
865
-
866
- ### getOriginalOrderNo
867
-
868
- **Signature:** `getOriginalOrderNo() : String`
869
-
870
- Returns the order number of the original order associated with this order.
871
-
872
- ### getPaymentStatus
873
-
874
- **Signature:** `getPaymentStatus() : EnumValue`
875
-
876
- Returns the order payment status value. Possible values are PAYMENT_STATUS_NOTPAID, PAYMENT_STATUS_PARTPAID or PAYMENT_STATUS_PAID.
877
-
878
- ### getPaymentTransaction
879
-
880
- **Signature:** `getPaymentTransaction() : PaymentTransaction`
881
-
882
- Returns the payment transaction associated with this order.
883
-
884
- ### getRefundedAmount
885
-
886
- **Signature:** `getRefundedAmount() : Money`
887
-
888
- Returns the sum of the refunded amounts.
889
-
890
- ### getRemoteHost
891
-
892
- **Signature:** `getRemoteHost() : String`
893
-
894
- Returns the IP address of the remote host from which the order was created.
895
-
896
- ### getReplaceCode
897
-
898
- **Signature:** `getReplaceCode() : EnumValue`
899
-
900
- If this order was replaced by another order, returns the value of the replace code.
901
-
902
- ### getReplaceDescription
903
-
904
- **Signature:** `getReplaceDescription() : String`
905
-
906
- If this order was replaced by another order, returns the value of the replace description.
907
-
908
- ### getReplacedOrder
909
-
910
- **Signature:** `getReplacedOrder() : Order`
911
-
912
- Returns the order that this order replaced or null.
913
-
914
- ### getReplacedOrderNo
915
-
916
- **Signature:** `getReplacedOrderNo() : String`
917
-
918
- Returns the order number that this order replaced or null if this order did not replace an order.
919
-
920
- ### getReplacementOrder
921
-
922
- **Signature:** `getReplacementOrder() : Order`
923
-
924
- Returns the order that replaced this order, or null.
925
-
926
- ### getReplacementOrderNo
927
-
928
- **Signature:** `getReplacementOrderNo() : String`
929
-
930
- If this order was replaced by another order, returns the order number that replaced this order.
931
-
932
- ### getReturn
933
-
934
- **Signature:** `getReturn(returnNumber : String) : Return`
935
-
936
- Returns the Return associated with this order with the given returnNumber.
937
-
938
- ### getReturnCase
939
-
940
- **Signature:** `getReturnCase(returnCaseNumber : String) : ReturnCase`
941
-
942
- Returns the ReturnCase associated with this order with the given returnCaseNumber.
943
-
944
- ### getReturnCaseItem
945
-
946
- **Signature:** `getReturnCaseItem(returnCaseItemID : String) : ReturnCaseItem`
947
-
948
- Returns the ReturnCaseItem associated with this order with the given returnCaseItemID.
949
-
950
- ### getReturnCaseItems
951
-
952
- **Signature:** `getReturnCaseItems() : FilteringCollection`
953
-
954
- Returns the collection of ReturnCaseItems associated with this order.
955
-
956
- ### getReturnCases
957
-
958
- **Signature:** `getReturnCases() : FilteringCollection`
959
-
960
- Returns the collection of ReturnCases associated with this order.
961
-
962
- ### getReturnItem
963
-
964
- **Signature:** `getReturnItem(returnItemID : String) : ReturnItem`
965
-
966
- Returns the ReturnItem associated with this order with the given ID.
967
-
968
- ### getReturnItems
969
-
970
- **Signature:** `getReturnItems() : FilteringCollection`
971
-
972
- Returns the collection of ReturnItems associated with this order.
973
-
974
- ### getReturns
975
-
976
- **Signature:** `getReturns() : FilteringCollection`
977
-
978
- Returns the collection of Returns associated with this order.
979
-
980
- ### getShippingOrder
981
-
982
- **Signature:** `getShippingOrder(shippingOrderNumber : String) : ShippingOrder`
983
-
984
- Returns the ShippingOrder associated with this order with the given shippingOrderNumber.
985
-
986
- ### getShippingOrderItem
987
-
988
- **Signature:** `getShippingOrderItem(shippingOrderItemID : String) : ShippingOrderItem`
989
-
990
- Returns the ShippingOrderItem associated with this order with the given shippingOrderItemID.
991
-
992
- ### getShippingOrderItems
993
-
994
- **Signature:** `getShippingOrderItems() : FilteringCollection`
995
-
996
- Returns the collection of ShippingOrderItems associated with this order.
997
-
998
- ### getShippingOrders
999
-
1000
- **Signature:** `getShippingOrders() : FilteringCollection`
1001
-
1002
- Returns the collection of ShippingOrders associated with this order.
1003
-
1004
- ### getShippingStatus
1005
-
1006
- **Signature:** `getShippingStatus() : EnumValue`
1007
-
1008
- Returns the order shipping status. Possible values are SHIPPING_STATUS_NOTSHIPPED, SHIPPING_STATUS_PARTSHIPPED or SHIPPING_STATUS_SHIPPED.
1009
-
1010
- ### getSourceCode
1011
-
1012
- **Signature:** `getSourceCode() : String`
1013
-
1014
- Returns the source code stored with the order or null if no source code is attached to the order.
1015
-
1016
- ### getSourceCodeGroup
1017
-
1018
- **Signature:** `getSourceCodeGroup() : SourceCodeGroup`
1019
-
1020
- Returns the source code group attached to the order or null if no source code group is attached to the order.
1021
-
1022
- ### getSourceCodeGroupID
1023
-
1024
- **Signature:** `getSourceCodeGroupID() : String`
1025
-
1026
- Returns the source code group id stored with the order or null if no source code group is attached to the order.
1027
-
1028
- ### getStatus
1029
-
1030
- **Signature:** `getStatus() : EnumValue`
1031
-
1032
- Returns the status of the order. Possible values are: ORDER_STATUS_CREATED ORDER_STATUS_NEW ORDER_STATUS_OPEN ORDER_STATUS_COMPLETED ORDER_STATUS_CANCELLED ORDER_STATUS_FAILED ORDER_STATUS_REPLACED
1033
-
1034
- ### isImported
1035
-
1036
- **Signature:** `isImported() : boolean`
1037
-
1038
- Returns true, if the order is imported and false otherwise.
1039
-
1040
- ### isTaxRoundedAtGroup
1041
-
1042
- **Signature:** `isTaxRoundedAtGroup() : boolean`
1043
-
1044
- Use this method to check if the Order was created with grouped taxation calculation.
1045
-
1046
- ### reauthorize
1047
-
1048
- **Signature:** `reauthorize() : Status`
1049
-
1050
- Ensures that the order is authorized.
1051
-
1052
- ### removeRemoteHost
1053
-
1054
- **Signature:** `removeRemoteHost() : void`
1055
-
1056
- Removes the IP address of the remote host if stored.
1057
-
1058
- ### setAffiliatePartnerID
1059
-
1060
- **Signature:** `setAffiliatePartnerID(affiliatePartnerID : String) : void`
1061
-
1062
- Sets the affiliate partner ID value.
1063
-
1064
- ### setAffiliatePartnerName
1065
-
1066
- **Signature:** `setAffiliatePartnerName(affiliatePartnerName : String) : void`
1067
-
1068
- Sets the affiliate partner name value.
1069
-
1070
- ### setCancelCode
1071
-
1072
- **Signature:** `setCancelCode(cancelCode : String) : void`
1073
-
1074
- Sets the cancel code value.
1075
-
1076
- ### setCancelDescription
1077
-
1078
- **Signature:** `setCancelDescription(cancelDescription : String) : void`
1079
-
1080
- Sets the description as to why the order was cancelled.
1081
-
1082
- ### setConfirmationStatus
1083
-
1084
- **Signature:** `setConfirmationStatus(status : Number) : void`
1085
-
1086
- Sets the confirmation status value. Possible values are CONFIRMATION_STATUS_NOTCONFIRMED or CONFIRMATION_STATUS_CONFIRMED.
1087
-
1088
- ### setCustomer
1089
-
1090
- **Signature:** `setCustomer(customer : Customer) : void`
1091
-
1092
- This method is used to associate the order object with the specified customer object.
1093
-
1094
- ### setCustomerNo
1095
-
1096
- **Signature:** `setCustomerNo(customerNo : String) : void`
1097
-
1098
- Sets the customer number associated with this order.
1099
-
1100
- ### setCustomerOrderReference
1101
-
1102
- **Signature:** `setCustomerOrderReference(reference : String) : void`
1103
-
1104
- Sets the customer-specific reference information for the order.
1105
-
1106
- ### setExportAfter
1107
-
1108
- **Signature:** `setExportAfter(date : Date) : void`
1109
-
1110
- Sets the date after which an order can be exported.
1111
-
1112
- ### setExportStatus
1113
-
1114
- **Signature:** `setExportStatus(status : Number) : void`
1115
-
1116
- Sets the export status of the order. Possible values are: EXPORT_STATUS_NOTEXPORTED, EXPORT_STATUS_EXPORTED, EXPORT_STATUS_READY, and EXPORT_STATUS_FAILED.
1117
-
1118
- ### setExternalOrderNo
1119
-
1120
- **Signature:** `setExternalOrderNo(externalOrderNo : String) : void`
1121
-
1122
- Sets the value of an external order number associated with this order
1123
-
1124
- ### setExternalOrderStatus
1125
-
1126
- **Signature:** `setExternalOrderStatus(status : String) : void`
1127
-
1128
- Sets the status of an external order associated with this order
1129
-
1130
- ### setExternalOrderText
1131
-
1132
- **Signature:** `setExternalOrderText(text : String) : void`
1133
-
1134
- Sets the text describing the external order.
1135
-
1136
- ### setInvoiceNo
1137
-
1138
- **Signature:** `setInvoiceNo(invoiceNumber : String) : void`
1139
-
1140
- Sets the invoice number for this Order.
1141
-
1142
- ### setOrderStatus
1143
-
1144
- **Signature:** `setOrderStatus(status : Number) : void`
1145
-
1146
- Sets the order status.
1147
-
1148
- ### setPaymentStatus
1149
-
1150
- **Signature:** `setPaymentStatus(status : Number) : void`
1151
-
1152
- Sets the order payment status. Possible values are PAYMENT_STATUS_NOTPAID, PAYMENT_STATUS_PARTPAID or PAYMENT_STATUS_PAID.
1153
-
1154
- ### setReplaceCode
1155
-
1156
- **Signature:** `setReplaceCode(replaceCode : String) : void`
1157
-
1158
- Sets the value of the replace code.
1159
-
1160
- ### setReplaceDescription
1161
-
1162
- **Signature:** `setReplaceDescription(replaceDescription : String) : void`
1163
-
1164
- Sets the value of the replace description.
1165
-
1166
- ### setShippingStatus
1167
-
1168
- **Signature:** `setShippingStatus(status : Number) : void`
1169
-
1170
- Sets the order shipping status value. Possible values are SHIPPING_STATUS_NOTSHIPPED, SHIPPING_STATUS_PARTSHIPPED or SHIPPING_STATUS_SHIPPED.
1171
-
1172
- ### setStatus
1173
-
1174
- **Signature:** `setStatus(status : Number) : void`
1175
-
1176
- Sets the status of the order.
1177
-
1178
- ### trackOrderChange
1179
-
1180
- **Signature:** `trackOrderChange(text : String) : Note`
1181
-
1182
- Tracks an order change.
1183
-
1184
- ## Method Detail
1185
-
1186
- ## Method Details
1187
-
1188
- ### createAppeasement
1189
-
1190
- **Signature:** `createAppeasement(appeasementNumber : String) : Appeasement`
1191
-
1192
- **Description:** Creates a new Appeasement associated with this order. An appeasementNumber must be specified. If an Appeasement already exists for the appeasementNumber, the method fails with an exception. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1193
-
1194
- **Parameters:**
1195
-
1196
- - `appeasementNumber`: the appeasementNumber to be assigned to the newly created appeasement
1197
-
1198
- **Returns:**
1199
-
1200
- the created appeasement
1201
-
1202
- **Throws:**
1203
-
1204
- IllegalArgumentException - if an Appeasement already exists with the number.
1205
-
1206
- ---
1207
-
1208
- ### createAppeasement
1209
-
1210
- **Signature:** `createAppeasement() : Appeasement`
1211
-
1212
- **Description:** Creates a new Appeasement associated with this order. The new Appeasement will have an appeasementNumber based on the getOrderNo(). Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1213
-
1214
- **Returns:**
1215
-
1216
- the created appeasement
1217
-
1218
- ---
1219
-
1220
- ### createReturnCase
1221
-
1222
- **Signature:** `createReturnCase(returnCaseNumber : String, isRMA : boolean) : ReturnCase`
1223
-
1224
- **Description:** Creates a new ReturnCase associated with this order specifying whether the ReturnCase is an RMA (return merchandise authorization). A returnCaseNumber must be specified. If a ReturnCase already exists for the returnCaseNumber, the method fails with an exception. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1225
-
1226
- **Parameters:**
1227
-
1228
- - `returnCaseNumber`: returnCaseNumber to use
1229
- - `isRMA`: whether the new ReturnCase is an RMA (return merchandise authorization)
1230
-
1231
- **Returns:**
1232
-
1233
- null or the ReturnCase associated with the given returnCaseNumber
1234
-
1235
- **Throws:**
1236
-
1237
- IllegalArgumentException - if a ReturnCase already exists with the number.
1238
-
1239
- ---
1240
-
1241
- ### createReturnCase
1242
-
1243
- **Signature:** `createReturnCase(isRMA : boolean) : ReturnCase`
1244
-
1245
- **Description:** Creates a new ReturnCase associated with this order specifying whether the ReturnCase is an RMA (return merchandise authorization). The new ReturnCase will have a returnCaseNumber based on the getOrderNo(), e.g. for an order-no 1234 the return cases will have the numbers 1234#RC1, 1234#RC2, 1234#RC3... Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1246
-
1247
- **Parameters:**
1248
-
1249
- - `isRMA`: whether the new ReturnCase is an RMA (return merchandise authorization)
1250
-
1251
- **Returns:**
1252
-
1253
- the created ReturnCase
1254
-
1255
- ---
1256
-
1257
- ### createServiceItem
1258
-
1259
- **Signature:** `createServiceItem(ID : String, status : String) : OrderItem`
1260
-
1261
- **Description:** Returns the order item with the given status which wraps a new service item which is created and added to the order.
1262
-
1263
- **Parameters:**
1264
-
1265
- - `ID`: the ID of the new service item. This ID will be returned when ShippingLineItem.getID() is called.
1266
- - `status`: the status of the order item, use one of OrderItem.STATUS_NEW OrderItem.STATUS_OPEN OrderItem.STATUS_SHIPPED Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1267
-
1268
- **Returns:**
1269
-
1270
- the created order item
1271
-
1272
- ---
1273
-
1274
- ### createShippingOrder
1275
-
1276
- **Signature:** `createShippingOrder() : ShippingOrder`
1277
-
1278
- **Description:** Creates a new ShippingOrder for this order. Generates a default shipping order number. Use createShippingOrder(String) for a defined shipping order number. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1279
-
1280
- **Returns:**
1281
-
1282
- the created shipping order
1283
-
1284
- **See Also:**
1285
-
1286
- ShippingOrder
1287
-
1288
- ---
1289
-
1290
- ### createShippingOrder
1291
-
1292
- **Signature:** `createShippingOrder(shippingOrderNumber : String) : ShippingOrder`
1293
-
1294
- **Description:** Creates a new ShippingOrder for this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1295
-
1296
- **Parameters:**
1297
-
1298
- - `shippingOrderNumber`: the document number to be used
1299
-
1300
- **Returns:**
1301
-
1302
- the created shipping order
1303
-
1304
- **See Also:**
1305
-
1306
- ShippingOrder
1307
-
1308
- ---
1309
-
1310
- ### getAffiliatePartnerID
1311
-
1312
- **Signature:** `getAffiliatePartnerID() : String`
1313
-
1314
- **Description:** Returns the affiliate partner ID value, or null.
1315
-
1316
- **Returns:**
1317
-
1318
- the affiliate partner ID value, or null.
1319
-
1320
- ---
1321
-
1322
- ### getAffiliatePartnerName
1323
-
1324
- **Signature:** `getAffiliatePartnerName() : String`
1325
-
1326
- **Description:** Returns the affiliate partner name value, or null.
1327
-
1328
- **Returns:**
1329
-
1330
- the affiliate partner name value, or null.
1331
-
1332
- ---
1333
-
1334
- ### getAppeasement
1335
-
1336
- **Signature:** `getAppeasement(appeasementNumber : String) : Appeasement`
1337
-
1338
- **Description:** Returns the Appeasement associated with this order with the given appeasementNumber. The method returns null if no instance can be found.
1339
-
1340
- **Parameters:**
1341
-
1342
- - `appeasementNumber`: the appeasement number
1343
-
1344
- **Returns:**
1345
-
1346
- the Appeasement associated with the given appeasementNumber
1347
-
1348
- ---
1349
-
1350
- ### getAppeasementItem
1351
-
1352
- **Signature:** `getAppeasementItem(appeasementItemID : String) : AppeasementItem`
1353
-
1354
- **Description:** Returns the AppeasementItem associated with this Order with the given appeasementItemID. The method returns null if no instance can be found.
1355
-
1356
- **Parameters:**
1357
-
1358
- - `appeasementItemID`: the ID
1359
-
1360
- **Returns:**
1361
-
1362
- the AppeasementItem associated with the given appeasementItemID.
1363
-
1364
- ---
1365
-
1366
- ### getAppeasementItems
1367
-
1368
- **Signature:** `getAppeasementItems() : FilteringCollection`
1369
-
1370
- **Description:** Returns the collection of AppeasementItems associated with this order.
1371
-
1372
- **Returns:**
1373
-
1374
- the appeasement items belonging to this order
1375
-
1376
- ---
1377
-
1378
- ### getAppeasements
1379
-
1380
- **Signature:** `getAppeasements() : FilteringCollection`
1381
-
1382
- **Description:** Returns the collection of Appeasements associated with this order.
1383
-
1384
- **Returns:**
1385
-
1386
- the appeasements associated with this order
1387
-
1388
- ---
1389
-
1390
- ### getCancelCode
1391
-
1392
- **Signature:** `getCancelCode() : EnumValue`
1393
-
1394
- **Description:** If this order was cancelled, returns the value of the cancel code or null.
1395
-
1396
- **Returns:**
1397
-
1398
- the value of the cancel code.
1399
-
1400
- ---
1401
-
1402
- ### getCancelDescription
1403
-
1404
- **Signature:** `getCancelDescription() : String`
1405
-
1406
- **Description:** If this order was cancelled, returns the text describing why the order was cancelled or null.
1407
-
1408
- **Returns:**
1409
-
1410
- the description as to why the order was cancelled or null.
1411
-
1412
- ---
1413
-
1414
- ### getCapturedAmount
1415
-
1416
- **Signature:** `getCapturedAmount() : Money`
1417
-
1418
- **Description:** Returns the sum of the captured amounts. The captured amounts are calculated on the fly. Associate a payment capture for an PaymentInstrument with an Invoice using Invoice.addCaptureTransaction(OrderPaymentInstrument, Money).
1419
-
1420
- **Returns:**
1421
-
1422
- sum of captured amounts
1423
-
1424
- ---
1425
-
1426
- ### getConfirmationStatus
1427
-
1428
- **Signature:** `getConfirmationStatus() : EnumValue`
1429
-
1430
- **Description:** Returns the confirmation status of the order. Possible values are CONFIRMATION_STATUS_NOTCONFIRMED and CONFIRMATION_STATUS_CONFIRMED.
1431
-
1432
- **Returns:**
1433
-
1434
- Order confirmation status
1435
-
1436
- ---
1437
-
1438
- ### getCreatedBy
1439
-
1440
- **Signature:** `getCreatedBy() : String`
1441
-
1442
- **Description:** Returns the name of the user who has created the order. If an agent user has created the order, the agent user's name is returned. Otherwise "Customer" is returned.
1443
-
1444
- **Returns:**
1445
-
1446
- the name of the user who created the order.
1447
-
1448
- ---
1449
-
1450
- ### getCurrentOrder
1451
-
1452
- **Signature:** `getCurrentOrder() : Order`
1453
-
1454
- **Description:** Returns the current order. The current order represents the most recent order in a chain of orders. For example, if Order1 was replaced by Order2, Order2 is the current representation of the order and Order1 is the original representation of the order. If you replace Order2 with Order3, Order 3 is now the current order and Order1 is still the original representation of the order. If this order has not been replaced, this method returns this order because this order is the current order.
1455
-
1456
- **Returns:**
1457
-
1458
- the current order.
1459
-
1460
- **See Also:**
1461
-
1462
- getOriginalOrderNo()
1463
- getOriginalOrder()
1464
- getReplacedOrderNo()
1465
- getReplacedOrder()
1466
- getReplacementOrderNo()
1467
- getReplacementOrder()
1468
-
1469
- ---
1470
-
1471
- ### getCurrentOrderNo
1472
-
1473
- **Signature:** `getCurrentOrderNo() : String`
1474
-
1475
- **Description:** Returns the order number of the current order. The current order represents the most recent order in a chain of orders. For example, if Order1 was replaced by Order2, Order2 is the current representation of the order and Order1 is the original representation of the order. If you replace Order2 with Order3, Order 3 is now the current order and Order1 is still the original representation of the order. If this order has not been replaced, calling this method returns the same value as the getOrderNo() method because this order is the current order.
1476
-
1477
- **Returns:**
1478
-
1479
- the order number of the current order
1480
-
1481
- **See Also:**
1482
-
1483
- getOriginalOrderNo()
1484
- getOriginalOrder()
1485
- getReplacedOrderNo()
1486
- getReplacedOrder()
1487
- getReplacementOrderNo()
1488
- getReplacementOrder()
1489
-
1490
- ---
1491
-
1492
- ### getCustomerLocaleID
1493
-
1494
- **Signature:** `getCustomerLocaleID() : String`
1495
-
1496
- **Description:** Returns the ID of the locale that was in effect when the order was placed. This is the customer's locale.
1497
-
1498
- **Returns:**
1499
-
1500
- the ID of the locale associated with this order, or null.
1501
-
1502
- ---
1503
-
1504
- ### getCustomerOrderReference
1505
-
1506
- **Signature:** `getCustomerOrderReference() : String`
1507
-
1508
- **Description:** Returns the customer-specific reference information for the order, or null.
1509
-
1510
- **Returns:**
1511
-
1512
- the customer-specific reference information for the order, or null.
1513
-
1514
- ---
1515
-
1516
- ### getExportAfter
1517
-
1518
- **Signature:** `getExportAfter() : Date`
1519
-
1520
- **Description:** Returns a date after which an order can be exported.
1521
-
1522
- **Returns:**
1523
-
1524
- a date after which an order can be exported.
1525
-
1526
- ---
1527
-
1528
- ### getExportStatus
1529
-
1530
- **Signature:** `getExportStatus() : EnumValue`
1531
-
1532
- **Description:** Returns the export status of the order. Possible values are: EXPORT_STATUS_NOTEXPORTED, EXPORT_STATUS_EXPORTED, EXPORT_STATUS_READY, and EXPORT_STATUS_FAILED.
1533
-
1534
- **Returns:**
1535
-
1536
- Order export status
1537
-
1538
- ---
1539
-
1540
- ### getExternalOrderNo
1541
-
1542
- **Signature:** `getExternalOrderNo() : String`
1543
-
1544
- **Description:** Returns the value of an external order number associated with this order, or null.
1545
-
1546
- **Returns:**
1547
-
1548
- the value of an external order number associated with this order, or null.
1549
-
1550
- ---
1551
-
1552
- ### getExternalOrderStatus
1553
-
1554
- **Signature:** `getExternalOrderStatus() : String`
1555
-
1556
- **Description:** Returns the status of an external order associated with this order, or null.
1557
-
1558
- **Returns:**
1559
-
1560
- the status of an external order associated with this order, or null.
1561
-
1562
- ---
1563
-
1564
- ### getExternalOrderText
1565
-
1566
- **Signature:** `getExternalOrderText() : String`
1567
-
1568
- **Description:** Returns the text describing the external order, or null.
1569
-
1570
- **Returns:**
1571
-
1572
- the text describing the external order, or null.
1573
-
1574
- ---
1575
-
1576
- ### getGlobalPartyID
1577
-
1578
- **Signature:** `getGlobalPartyID() : String`
1579
-
1580
- **Description:** The Global Party ID reconciles customer identity across multiple systems. For example, as part of the Service for Commerce experience, service agents can find information for customers who have never called into the call center, but have created a profile on the website. Service agents can find guest order data from B2C Commerce and easily create accounts for customers. Customer 360 Data Manager matches records from multiple data sources to determine all the records associated with a specific customer.
1581
-
1582
- **Returns:**
1583
-
1584
- the Global Party ID associated with this order, or null.
1585
-
1586
- ---
1587
-
1588
- ### getInvoice
1589
-
1590
- **Signature:** `getInvoice(invoiceNumber : String) : Invoice`
1591
-
1592
- **Description:** Returns the Invoice associated with this order with the given invoiceNumber. The method returns null if no instance can be found. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1593
-
1594
- **Parameters:**
1595
-
1596
- - `invoiceNumber`: the invoice number
1597
-
1598
- **Returns:**
1599
-
1600
- the invoice associated with the given invoiceNumber
1601
-
1602
- ---
1603
-
1604
- ### getInvoiceItem
1605
-
1606
- **Signature:** `getInvoiceItem(invoiceItemID : String) : InvoiceItem`
1607
-
1608
- **Description:** Returns the InvoiceItem associated with this order with the given ID. The method returns null if no instance can be found. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1609
-
1610
- **Parameters:**
1611
-
1612
- - `invoiceItemID`: the item ID
1613
-
1614
- **Returns:**
1615
-
1616
- the invoice item associated with the given ID
1617
-
1618
- ---
1619
-
1620
- ### getInvoiceItems
1621
-
1622
- **Signature:** `getInvoiceItems() : FilteringCollection`
1623
-
1624
- **Description:** Returns the collection of InvoiceItems associated with this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1625
-
1626
- **Returns:**
1627
-
1628
- invoice items belonging to this order
1629
-
1630
- ---
1631
-
1632
- ### getInvoiceNo
1633
-
1634
- **Signature:** `getInvoiceNo() : String`
1635
-
1636
- **Description:** Returns the invoice number for this Order. When an order is placed (e.g. with OrderMgr.placeOrder(Order)) invoice number will be filled using a sequence. Before order was placed null will be returned unless it was set with setInvoiceNo(String).
1637
-
1638
- **Returns:**
1639
-
1640
- the invoice number for this Order.
1641
-
1642
- ---
1643
-
1644
- ### getInvoices
1645
-
1646
- **Signature:** `getInvoices() : FilteringCollection`
1647
-
1648
- **Description:** Returns the collection of Invoices associated with this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
1649
-
1650
- **Returns:**
1651
-
1652
- invoices belonging to this order
1653
-
1654
- ---
1655
-
1656
- ### getOrderExportXML
1657
-
1658
- **Signature:** `getOrderExportXML() : String`
1659
-
1660
- **Description:** Returns the order export XML as String object. NOTE: This method will return payment instrument data masked. If payment instrument re-encryption is needed please use getOrderExportXML(String, String) instead. Example: var orderXMLAsString : String = order.getOrderExportXML(); var orderXML : XML = new XML(orderXMLAsString);
1661
-
1662
- **Returns:**
1663
-
1664
- the order export XML
1665
-
1666
- **Throws:**
1667
-
1668
- IllegalStateException - If the method is called in a transaction with changes.
1669
- IllegalStateException - If the order is not placed. This method can be called for placed orders only.
1670
- IllegalStateException - If the order export XML could not be generated.
1671
-
1672
- ---
1673
-
1674
- ### getOrderExportXML
1675
-
1676
- **Signature:** `getOrderExportXML(encryptionAlgorithm : String, encryptionKey : String) : String`
1677
-
1678
- **Description:** Returns the order export XML as String object, with payment instrument data re-encrypted using the given encryption algorithm and key. NOTE: If no encryption is needed or desired please always use getOrderExportXML() instead, which returns the payment instrument data masked. Do not pass in any null arguments! Example: var orderXMLAsString : String = order.getOrderExportXML( "RSA/ECB/PKCS1Padding", "[key]" ); var orderXML : XML = new XML( orderXMLAsString );
1679
-
1680
- **API Versioned:**
1681
-
1682
- No longer available as of version 22.7. undefined behaviour for invalid arguments (e.g. null)
1683
-
1684
- **Parameters:**
1685
-
1686
- - `encryptionAlgorithm`: The encryption algorithm to be used for the re-encryption of the payment instrument data (credit card number, bank account number, bank account driver's license number). Must be a valid, non-null algorithm. Currently, only ENCRYPTION_ALGORITHM_RSA_ECB_PKCS1PADDING is supported, but this will be fixed and support for ENCRYPTION_ALGORITHM_RSA_ECB_OAEPWITHSHA56ANDMGF1PADDING will be added soon.
1687
- - `encryptionKey`: The Base64 encoded form of the public key to be used for the re-encryption of the payment instrument data. Must be a valid, non-blank key.
1688
-
1689
- **Returns:**
1690
-
1691
- the order export XML
1692
-
1693
- **Throws:**
1694
-
1695
- IllegalStateException - If the method is called in a transaction with changes.
1696
- IllegalStateException - If the order is not placed. This method can be called for placed orders only.
1697
- IllegalStateException - If the order export XML could not be generated.
1698
-
1699
- ---
1700
-
1701
- ### getOrderExportXML
1702
-
1703
- **Signature:** `getOrderExportXML(encryptionAlgorithm : String, encryptionKey : String, encryptUsingEKID : boolean) : String`
1704
-
1705
- **Description:** Returns the order export XML as String object, with payment instrument data re-encrypted using the given encryption algorithm and key. NOTE: If no encryption is needed or desired please always use getOrderExportXML() instead, which returns the payment instrument data masked. Do not pass in any null arguments! Example: var orderXMLAsString : String = order.getOrderExportXML( "RSA/ECB/PKCS1Padding", "[key]", false ); var orderXML : XML = new XML( orderXMLAsString );
1706
-
1707
- **API Versioned:**
1708
-
1709
- No longer available as of version 22.7. undefined behaviour for invalid arguments (e.g. null)
1710
-
1711
- **Deprecated:**
1712
-
1713
- This method will be removed soon. Please use the following methods instead: getOrderExportXML() – if payment instrument data should be masked getOrderExportXML(String, String) – if payment instrument data should be re-encrypted
1714
-
1715
- **Parameters:**
1716
-
1717
- - `encryptionAlgorithm`: The encryption algorithm to be used for the re-encryption of the payment instrument data (credit card number, bank account number, bank account driver's license number). Must be a valid, non-null algorithm. Currently, only ENCRYPTION_ALGORITHM_RSA_ECB_PKCS1PADDING is supported, but this will be fixed and support for ENCRYPTION_ALGORITHM_RSA_ECB_OAEPWITHSHA56ANDMGF1PADDING will be added soon.
1718
- - `encryptionKey`: The Base64 encoded form of the public key to be used for the re-encryption of the payment instrument data. Must be a valid, non-blank key.
1719
- - `encryptUsingEKID`: ignored
1720
-
1721
- **Returns:**
1722
-
1723
- the order export XML
1724
-
1725
- **Throws:**
1726
-
1727
- IllegalStateException - If the method is called in a transaction with changes.
1728
- IllegalStateException - If the order is not placed. This method can be called for placed orders only.
1729
- IllegalStateException - If the order export XML could not be generated.
1730
-
1731
- ---
1732
-
1733
- ### getOrderExportXML
1734
-
1735
- **Signature:** `getOrderExportXML(encryptionAlgorithm : String, encryptionKey : String) : String`
1736
-
1737
- **Description:** Returns the order export XML as String object, with payment instrument data re-encrypted using the given encryption algorithm and key. NOTE: If no encryption is needed or desired please always use getOrderExportXML() instead, which returns the payment instrument data masked. Example: var orderXMLAsString : String = order.getOrderExportXML( "RSA/ECB/PKCS1Padding", "[key]" ); var orderXML : XML = new XML( orderXMLAsString );
1738
-
1739
- **API Versioned:**
1740
-
1741
- From version 22.7. strict encryption argument checks; no null or otherwise invalid values allowed
1742
-
1743
- **Parameters:**
1744
-
1745
- - `encryptionAlgorithm`: The encryption algorithm used for the re-encryption of the payment instrument data (credit card number, bank account number, bank account driver's license number). Must be one of the following: ENCRYPTION_ALGORITHM_RSA_ECB_OAEPWITHSHA56ANDMGF1PADDING – The current and preferred algorithm. ENCRYPTION_ALGORITHM_RSA_ECB_PKCS1PADDING – This algorithm is outdated/deprecated and will be removed in a future release. Please do not use anymore.
1746
- - `encryptionKey`: The Base64 encoded form of the public key used for the re-encryption of the payment instrument data. Must be a valid, non-blank key.
1747
-
1748
- **Returns:**
1749
-
1750
- the order export XML
1751
-
1752
- **Throws:**
1753
-
1754
- IllegalArgumentException - If encryptionAlgorithm is not a valid known algorithm.
1755
- IllegalArgumentException - If encryptionKey is a blank string.
1756
- IllegalStateException - If the method is called in a transaction with changes.
1757
- IllegalStateException - If the order is not placed. This method can be called for placed orders only.
1758
- IllegalStateException - If the order export XML could not be generated.
1759
-
1760
- ---
1761
-
1762
- ### getOrderItem
1763
-
1764
- **Signature:** `getOrderItem(itemID : String) : OrderItem`
1765
-
1766
- **Description:** Returns the OrderItem for the itemID. An OrderItem will only exist for ProductLineItems or ShippingLineItems which belong to the order. The method fails with an exception if no instance can be found.
1767
-
1768
- **Parameters:**
1769
-
1770
- - `itemID`: the itemID
1771
-
1772
- **Returns:**
1773
-
1774
- the order item for itemID
1775
-
1776
- **See Also:**
1777
-
1778
- ProductLineItem.getOrderItem()
1779
- ShippingLineItem.getOrderItem()
1780
-
1781
- **Throws:**
1782
-
1783
- IllegalArgumentException - if no instance is found
1784
-
1785
- ---
1786
-
1787
- ### getOrderNo
1788
-
1789
- **Signature:** `getOrderNo() : String`
1790
-
1791
- **Description:** Returns the order number for this order.
1792
-
1793
- **Returns:**
1794
-
1795
- the order number for this order.
1796
-
1797
- ---
1798
-
1799
- ### getOrderToken
1800
-
1801
- **Signature:** `getOrderToken() : String`
1802
-
1803
- **Description:** Returns the token for this order. The order token is a string (length 32 bytes) associated with this one order. The order token is random. It reduces the capability of malicious users to access an order through guessing. Order token can be used to further validate order ownership, but should never be used to solely validate ownership. In addition, the storefront should ensure authentication and authorization. See the Security Best Practices for Developers for details.
1804
-
1805
- **Returns:**
1806
-
1807
- the token for this order.
1808
-
1809
- ---
1810
-
1811
- ### getOriginalOrder
1812
-
1813
- **Signature:** `getOriginalOrder() : Order`
1814
-
1815
- **Description:** Returns the original order associated with this order. The original order represents an order that was the first ancestor in a chain of orders. For example, if Order1 was replaced by Order2, Order2 is the current representation of the order and Order1 is the original representation of the order. If you replace Order2 with Order3, Order1 is still the original representation of the order. If this order is the first ancestor, this method returns this order.
1816
-
1817
- **Returns:**
1818
-
1819
- the order number of the original order associated with this order.
1820
-
1821
- **See Also:**
1822
-
1823
- getCurrentOrderNo()
1824
- getCurrentOrder()
1825
- getReplacedOrderNo()
1826
- getReplacedOrder()
1827
- getReplacementOrderNo()
1828
- getReplacementOrder()
1829
-
1830
- ---
1831
-
1832
- ### getOriginalOrderNo
1833
-
1834
- **Signature:** `getOriginalOrderNo() : String`
1835
-
1836
- **Description:** Returns the order number of the original order associated with this order. The original order represents an order that was the first ancestor in a chain of orders. For example, if Order1 was replaced by Order2, Order2 is the current representation of the order and Order1 is the original representation of the order. If you replace Order2 with Order3, Order1 is still the original representation of the order. If this order is the first ancestor, this method returns the value of getOrderNo().
1837
-
1838
- **Returns:**
1839
-
1840
- the order number of the original order associated with this order.
1841
-
1842
- **See Also:**
1843
-
1844
- getCurrentOrderNo()
1845
- getCurrentOrder()
1846
- getReplacedOrderNo()
1847
- getReplacedOrder()
1848
- getReplacementOrderNo()
1849
- getReplacementOrder()
1850
-
1851
- ---
1852
-
1853
- ### getPaymentStatus
1854
-
1855
- **Signature:** `getPaymentStatus() : EnumValue`
1856
-
1857
- **Description:** Returns the order payment status value. Possible values are PAYMENT_STATUS_NOTPAID, PAYMENT_STATUS_PARTPAID or PAYMENT_STATUS_PAID.
1858
-
1859
- **Returns:**
1860
-
1861
- Order payment status
1862
-
1863
- ---
1864
-
1865
- ### getPaymentTransaction
1866
-
1867
- **Signature:** `getPaymentTransaction() : PaymentTransaction`
1868
-
1869
- **Description:** Returns the payment transaction associated with this order. It is possible that there are multiple payment transactions associated with the order. In this case, this method returns the transaction associated with the first PaymentInstrument returned by getPaymentInstruments().
1870
-
1871
- **Deprecated:**
1872
-
1873
- Use LineItemCtnr.getPaymentInstruments() to get the list of PaymentInstrument instances and then use getPaymentTransaction() method on each PaymentInstrument to access the individual transactions.
1874
-
1875
- **Returns:**
1876
-
1877
- the payment transaction or null if there is no transaction.
1878
-
1879
- ---
1880
-
1881
- ### getRefundedAmount
1882
-
1883
- **Signature:** `getRefundedAmount() : Money`
1884
-
1885
- **Description:** Returns the sum of the refunded amounts. The refunded amounts are calculated on the fly. Associate a payment refund for an PaymentInstrument with an Invoice using Invoice.addRefundTransaction(OrderPaymentInstrument, Money).
1886
-
1887
- **Returns:**
1888
-
1889
- sum of refunded amounts
1890
-
1891
- ---
1892
-
1893
- ### getRemoteHost
1894
-
1895
- **Signature:** `getRemoteHost() : String`
1896
-
1897
- **Description:** Returns the IP address of the remote host from which the order was created. If the IP address was not captured for the order because order IP logging was disabled at the time the order was created, null will be returned.
1898
-
1899
- **Returns:**
1900
-
1901
- The IP address of the remote host captured for the order or null
1902
-
1903
- ---
1904
-
1905
- ### getReplaceCode
1906
-
1907
- **Signature:** `getReplaceCode() : EnumValue`
1908
-
1909
- **Description:** If this order was replaced by another order, returns the value of the replace code. Otherwise. returns null.
1910
-
1911
- **Returns:**
1912
-
1913
- the replace code
1914
-
1915
- ---
1916
-
1917
- ### getReplaceDescription
1918
-
1919
- **Signature:** `getReplaceDescription() : String`
1920
-
1921
- **Description:** If this order was replaced by another order, returns the value of the replace description. Otherwise returns null.
1922
-
1923
- **Returns:**
1924
-
1925
- the value of the replace code or null.
1926
-
1927
- ---
1928
-
1929
- ### getReplacedOrder
1930
-
1931
- **Signature:** `getReplacedOrder() : Order`
1932
-
1933
- **Description:** Returns the order that this order replaced or null. For example, if you have three orders where Order1 was replaced by Order2 and Order2 was replaced by Order3, calling this method on Order3 will return Order2. Similarly, calling this method on Order1 will return null as Order1 was the original order.
1934
-
1935
- **Returns:**
1936
-
1937
- the order that replaced this order, or null.
1938
-
1939
- **See Also:**
1940
-
1941
- getCurrentOrderNo()
1942
- getCurrentOrder()
1943
- getOriginalOrderNo()
1944
- getOriginalOrder()
1945
- getReplacementOrderNo()
1946
- getReplacementOrder()
1947
-
1948
- ---
1949
-
1950
- ### getReplacedOrderNo
1951
-
1952
- **Signature:** `getReplacedOrderNo() : String`
1953
-
1954
- **Description:** Returns the order number that this order replaced or null if this order did not replace an order. For example, if you have three orders where Order1 was replaced by Order2 and Order2 was replaced by Order3, calling this method on Order3 will return the order number for Order2. Similarly, calling this method on Order1 will return null as Order1 was the original order.
1955
-
1956
- **Returns:**
1957
-
1958
- the order number of the order that this order replaced or null.
1959
-
1960
- **See Also:**
1961
-
1962
- getCurrentOrderNo()
1963
- getCurrentOrder()
1964
- getOriginalOrderNo()
1965
- getOriginalOrder()
1966
- getReplacementOrderNo()
1967
- getReplacementOrder()
1968
-
1969
- ---
1970
-
1971
- ### getReplacementOrder
1972
-
1973
- **Signature:** `getReplacementOrder() : Order`
1974
-
1975
- **Description:** Returns the order that replaced this order, or null.
1976
-
1977
- **Returns:**
1978
-
1979
- the order that replaced this order, or null.
1980
-
1981
- **See Also:**
1982
-
1983
- getCurrentOrderNo()
1984
- getCurrentOrder()
1985
- getOriginalOrderNo()
1986
- getOriginalOrder()
1987
- getReplacedOrderNo()
1988
- getReplacedOrder()
1989
-
1990
- ---
1991
-
1992
- ### getReplacementOrderNo
1993
-
1994
- **Signature:** `getReplacementOrderNo() : String`
1995
-
1996
- **Description:** If this order was replaced by another order, returns the order number that replaced this order. Otherwise returns null.
1997
-
1998
- **Returns:**
1999
-
2000
- the order that replaced this order, or null.
2001
-
2002
- **See Also:**
2003
-
2004
- getCurrentOrderNo()
2005
- getCurrentOrder()
2006
- getOriginalOrderNo()
2007
- getOriginalOrder()
2008
- getReplacedOrderNo()
2009
- getReplacedOrder()
2010
-
2011
- ---
2012
-
2013
- ### getReturn
2014
-
2015
- **Signature:** `getReturn(returnNumber : String) : Return`
2016
-
2017
- **Description:** Returns the Return associated with this order with the given returnNumber. The method returns null if no instance can be found. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2018
-
2019
- **Parameters:**
2020
-
2021
- - `returnNumber`: the return number
2022
-
2023
- **Returns:**
2024
-
2025
- the return associated with the given returnNumber
2026
-
2027
- ---
2028
-
2029
- ### getReturnCase
2030
-
2031
- **Signature:** `getReturnCase(returnCaseNumber : String) : ReturnCase`
2032
-
2033
- **Description:** Returns the ReturnCase associated with this order with the given returnCaseNumber. The method returns null if no instance can be found. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2034
-
2035
- **Parameters:**
2036
-
2037
- - `returnCaseNumber`: the return case number
2038
-
2039
- **Returns:**
2040
-
2041
- the return case associated with the given returnCaseNumber
2042
-
2043
- ---
2044
-
2045
- ### getReturnCaseItem
2046
-
2047
- **Signature:** `getReturnCaseItem(returnCaseItemID : String) : ReturnCaseItem`
2048
-
2049
- **Description:** Returns the ReturnCaseItem associated with this order with the given returnCaseItemID. The method returns null if no instance can be found. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2050
-
2051
- **Parameters:**
2052
-
2053
- - `returnCaseItemID`: the ID
2054
-
2055
- **Returns:**
2056
-
2057
- the return case item associated with the given returnCaseItemID
2058
-
2059
- ---
2060
-
2061
- ### getReturnCaseItems
2062
-
2063
- **Signature:** `getReturnCaseItems() : FilteringCollection`
2064
-
2065
- **Description:** Returns the collection of ReturnCaseItems associated with this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2066
-
2067
- **Returns:**
2068
-
2069
- return case items belonging to this order
2070
-
2071
- ---
2072
-
2073
- ### getReturnCases
2074
-
2075
- **Signature:** `getReturnCases() : FilteringCollection`
2076
-
2077
- **Description:** Returns the collection of ReturnCases associated with this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2078
-
2079
- **Returns:**
2080
-
2081
- return cases belonging to this order
2082
-
2083
- ---
2084
-
2085
- ### getReturnItem
2086
-
2087
- **Signature:** `getReturnItem(returnItemID : String) : ReturnItem`
2088
-
2089
- **Description:** Returns the ReturnItem associated with this order with the given ID. The method returns null if no instance can be found. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2090
-
2091
- **Parameters:**
2092
-
2093
- - `returnItemID`: the ID
2094
-
2095
- **Returns:**
2096
-
2097
- the return item associated with the given returnItemID
2098
-
2099
- ---
2100
-
2101
- ### getReturnItems
2102
-
2103
- **Signature:** `getReturnItems() : FilteringCollection`
2104
-
2105
- **Description:** Returns the collection of ReturnItems associated with this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2106
-
2107
- **Returns:**
2108
-
2109
- return items belonging to this order
2110
-
2111
- ---
2112
-
2113
- ### getReturns
2114
-
2115
- **Signature:** `getReturns() : FilteringCollection`
2116
-
2117
- **Description:** Returns the collection of Returns associated with this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2118
-
2119
- **Returns:**
2120
-
2121
- returns belonging to this order
2122
-
2123
- ---
2124
-
2125
- ### getShippingOrder
2126
-
2127
- **Signature:** `getShippingOrder(shippingOrderNumber : String) : ShippingOrder`
2128
-
2129
- **Description:** Returns the ShippingOrder associated with this order with the given shippingOrderNumber. The method returns null if no instance can be found. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2130
-
2131
- **Parameters:**
2132
-
2133
- - `shippingOrderNumber`: the shipping order number
2134
-
2135
- **Returns:**
2136
-
2137
- the shipping order associated with the given shippingOrderNumber
2138
-
2139
- ---
2140
-
2141
- ### getShippingOrderItem
2142
-
2143
- **Signature:** `getShippingOrderItem(shippingOrderItemID : String) : ShippingOrderItem`
2144
-
2145
- **Description:** Returns the ShippingOrderItem associated with this order with the given shippingOrderItemID. The method returns null if no instance can be found. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2146
-
2147
- **Parameters:**
2148
-
2149
- - `shippingOrderItemID`: the ID
2150
-
2151
- **Returns:**
2152
-
2153
- the shipping order item associated with the given shippingOrderItemID
2154
-
2155
- ---
2156
-
2157
- ### getShippingOrderItems
2158
-
2159
- **Signature:** `getShippingOrderItems() : FilteringCollection`
2160
-
2161
- **Description:** Returns the collection of ShippingOrderItems associated with this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2162
-
2163
- **Returns:**
2164
-
2165
- shipping order items belonging to this order
2166
-
2167
- ---
2168
-
2169
- ### getShippingOrders
2170
-
2171
- **Signature:** `getShippingOrders() : FilteringCollection`
2172
-
2173
- **Description:** Returns the collection of ShippingOrders associated with this order. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2174
-
2175
- **Returns:**
2176
-
2177
- shipping orders belonging to this order
2178
-
2179
- ---
2180
-
2181
- ### getShippingStatus
2182
-
2183
- **Signature:** `getShippingStatus() : EnumValue`
2184
-
2185
- **Description:** Returns the order shipping status. Possible values are SHIPPING_STATUS_NOTSHIPPED, SHIPPING_STATUS_PARTSHIPPED or SHIPPING_STATUS_SHIPPED.
2186
-
2187
- **Returns:**
2188
-
2189
- Order shipping status
2190
-
2191
- ---
2192
-
2193
- ### getSourceCode
2194
-
2195
- **Signature:** `getSourceCode() : String`
2196
-
2197
- **Description:** Returns the source code stored with the order or null if no source code is attached to the order.
2198
-
2199
- **Returns:**
2200
-
2201
- the source code stored with the order or null if no source code is attached to the order.
2202
-
2203
- ---
2204
-
2205
- ### getSourceCodeGroup
2206
-
2207
- **Signature:** `getSourceCodeGroup() : SourceCodeGroup`
2208
-
2209
- **Description:** Returns the source code group attached to the order or null if no source code group is attached to the order.
2210
-
2211
- **Returns:**
2212
-
2213
- the source code group attached to the order or null if no source code group is attached to the order.
2214
-
2215
- ---
2216
-
2217
- ### getSourceCodeGroupID
2218
-
2219
- **Signature:** `getSourceCodeGroupID() : String`
2220
-
2221
- **Description:** Returns the source code group id stored with the order or null if no source code group is attached to the order.
2222
-
2223
- **Returns:**
2224
-
2225
- the source code group id stored with the order or null if no source code group is attached to the order.
2226
-
2227
- ---
2228
-
2229
- ### getStatus
2230
-
2231
- **Signature:** `getStatus() : EnumValue`
2232
-
2233
- **Description:** Returns the status of the order. Possible values are: ORDER_STATUS_CREATED ORDER_STATUS_NEW ORDER_STATUS_OPEN ORDER_STATUS_COMPLETED ORDER_STATUS_CANCELLED ORDER_STATUS_FAILED ORDER_STATUS_REPLACED The order status usually changes when a process action is initiated. Most status changes have an action which needs to executed in order to end having the order in a specific order status. When an order is created with e.g. OrderMgr.createOrder(Basket) the order status will be ORDER_STATUS_CREATED. The usual flow is that payment authorization will be added to the order. Once the order is considered as valid (payed, fraud checked, ...) the order gets placed. This can be done by calling OrderMgr.placeOrder(Order). The result of placing an order will be status ORDER_STATUS_OPEN (from a process standpoint ORDER_STATUS_NEW which has the same meaning). Status ORDER_STATUS_REPLACED is related to functionality BasketMgr.createBasketFromOrder(Order). ORDER_STATUS_COMPLETED has no meaning by default but can be used by custom implementations but is a synonym for NEW/OPEN. Below you will find the most important status changes: Status beforeActionStatus afterBusiness meaning -OrderMgr.createOrder(Basket)CREATEDOrder was created from a basket. CREATEDOrderMgr.placeOrder(Order)OPEN/NEWOrder was considered as valid. Order can now be exported to 3rd party systems. CREATEDOrderMgr.failOrder(Order)FAILEDOrder was considered not valid. E.g. payment authorization was wrong or fraud check was not successful. OPEN/NEWOrderMgr.cancelOrder(Order)CANCELLEDOrder was cancelled. CANCELLEDOrderMgr.undoCancelOrder(Order)OPEN/NEWOrder was cancelled by mistake and this needs to be undone. FAILEDOrderMgr.undoFailOrder(Order)CREATEDOrder was failed by mistake and this needs to be undone. Every status change will trigger a change in the order journal which is the base for GMV calculations.
2234
-
2235
- **Returns:**
2236
-
2237
- Status of the order.
2238
-
2239
- **See Also:**
2240
-
2241
- LineItemCtnr
2242
-
2243
- ---
2244
-
2245
- ### isImported
2246
-
2247
- **Signature:** `isImported() : boolean`
2248
-
2249
- **Description:** Returns true, if the order is imported and false otherwise.
2250
-
2251
- **Returns:**
2252
-
2253
- true, if the order was imported, false otherwise.
2254
-
2255
- ---
2256
-
2257
- ### isTaxRoundedAtGroup
2258
-
2259
- **Signature:** `isTaxRoundedAtGroup() : boolean`
2260
-
2261
- **Description:** Use this method to check if the Order was created with grouped taxation calculation. If the tax is rounded on group level, the tax is applied to the summed-up tax basis for each tax rate.
2262
-
2263
- **Returns:**
2264
-
2265
- true if the Order was created with grouped taxation
2266
-
2267
- ---
2268
-
2269
- ### reauthorize
2270
-
2271
- **Signature:** `reauthorize() : Status`
2272
-
2273
- **Description:** Ensures that the order is authorized. Checks if the order is authorized by calling the hook PaymentHooks.validateAuthorization(Order). If the authorization is not valid it reauthorizes the order by calling the PaymentHooks.reauthorize(Order).
2274
-
2275
- **Returns:**
2276
-
2277
- the status of the operation, will be Status.OK if the order is authorized after this call
2278
-
2279
- ---
2280
-
2281
- ### removeRemoteHost
2282
-
2283
- **Signature:** `removeRemoteHost() : void`
2284
-
2285
- **Description:** Removes the IP address of the remote host if stored. If IP logging was enabled during order creation the IP address of the customer will be stored and can be retrieved using getRemoteHost().
2286
-
2287
- **See Also:**
2288
-
2289
- getRemoteHost()
2290
-
2291
- ---
2292
-
2293
- ### setAffiliatePartnerID
2294
-
2295
- **Signature:** `setAffiliatePartnerID(affiliatePartnerID : String) : void`
2296
-
2297
- **Description:** Sets the affiliate partner ID value.
2298
-
2299
- **Parameters:**
2300
-
2301
- - `affiliatePartnerID`: the affiliate partner ID value.
2302
-
2303
- ---
2304
-
2305
- ### setAffiliatePartnerName
2306
-
2307
- **Signature:** `setAffiliatePartnerName(affiliatePartnerName : String) : void`
2308
-
2309
- **Description:** Sets the affiliate partner name value.
2310
-
2311
- **Parameters:**
2312
-
2313
- - `affiliatePartnerName`: the affiliate partner name value.
2314
-
2315
- ---
2316
-
2317
- ### setCancelCode
2318
-
2319
- **Signature:** `setCancelCode(cancelCode : String) : void`
2320
-
2321
- **Description:** Sets the cancel code value.
2322
-
2323
- **Parameters:**
2324
-
2325
- - `cancelCode`: the cancel code value.
2326
-
2327
- ---
2328
-
2329
- ### setCancelDescription
2330
-
2331
- **Signature:** `setCancelDescription(cancelDescription : String) : void`
2332
-
2333
- **Description:** Sets the description as to why the order was cancelled.
2334
-
2335
- **Parameters:**
2336
-
2337
- - `cancelDescription`: the description for why the order was cancelled.
2338
-
2339
- ---
2340
-
2341
- ### setConfirmationStatus
2342
-
2343
- **Signature:** `setConfirmationStatus(status : Number) : void`
2344
-
2345
- **Description:** Sets the confirmation status value. Possible values are CONFIRMATION_STATUS_NOTCONFIRMED or CONFIRMATION_STATUS_CONFIRMED.
2346
-
2347
- **Parameters:**
2348
-
2349
- - `status`: Order confirmation status
2350
-
2351
- ---
2352
-
2353
- ### setCustomer
2354
-
2355
- **Signature:** `setCustomer(customer : Customer) : void`
2356
-
2357
- **Description:** This method is used to associate the order object with the specified customer object. If the customer object represents a registered customer, the order will be assigned to this registered customer and the order's customer number (LineItemCtnr.getCustomerNo()) will be updated. If the customer object represents an unregistered (anonymous) customer, the order will become an anonymous order and the order's customer number will be set to null.
2358
-
2359
- **Parameters:**
2360
-
2361
- - `customer`: The customer to be associated with the order.
2362
-
2363
- **Throws:**
2364
-
2365
- NullArgumentException - If specified customer is null.
2366
-
2367
- ---
2368
-
2369
- ### setCustomerNo
2370
-
2371
- **Signature:** `setCustomerNo(customerNo : String) : void`
2372
-
2373
- **Description:** Sets the customer number associated with this order. Note it is recommended to use (setCustomer(Customer)) instead of this method. This method only sets the customer number and should be used with care as it does not re-link the order with a customer profile object which can lead to an inconsistency! Ensure that the customer number used is not already taken by a different customer profile.
2374
-
2375
- **Parameters:**
2376
-
2377
- - `customerNo`: the customer number associated with this order.
2378
-
2379
- ---
2380
-
2381
- ### setCustomerOrderReference
2382
-
2383
- **Signature:** `setCustomerOrderReference(reference : String) : void`
2384
-
2385
- **Description:** Sets the customer-specific reference information for the order.
2386
-
2387
- **Parameters:**
2388
-
2389
- - `reference`: the customer-specific reference information for the order.
2390
-
2391
- ---
2392
-
2393
- ### setExportAfter
2394
-
2395
- **Signature:** `setExportAfter(date : Date) : void`
2396
-
2397
- **Description:** Sets the date after which an order can be exported.
2398
-
2399
- **Parameters:**
2400
-
2401
- - `date`: the date after which an order can be exported.
2402
-
2403
- ---
2404
-
2405
- ### setExportStatus
2406
-
2407
- **Signature:** `setExportStatus(status : Number) : void`
2408
-
2409
- **Description:** Sets the export status of the order. Possible values are: EXPORT_STATUS_NOTEXPORTED, EXPORT_STATUS_EXPORTED, EXPORT_STATUS_READY, and EXPORT_STATUS_FAILED. Setting the status to EXPORT_STATUS_EXPORTED will also trigger the finalization of on order inventory transactions for this order meaning that all inventory transactions with type on order will be moved into final inventory transactions. This is only relevant when On Order Inventory is turned on for the inventory list ordered products are in. In case of an exception the current transaction is marked as rollback only.
2410
-
2411
- **Parameters:**
2412
-
2413
- - `status`: Order export status
2414
-
2415
- ---
2416
-
2417
- ### setExternalOrderNo
2418
-
2419
- **Signature:** `setExternalOrderNo(externalOrderNo : String) : void`
2420
-
2421
- **Description:** Sets the value of an external order number associated with this order
2422
-
2423
- **Parameters:**
2424
-
2425
- - `externalOrderNo`: the value of an external order number associated with this order.
2426
-
2427
- ---
2428
-
2429
- ### setExternalOrderStatus
2430
-
2431
- **Signature:** `setExternalOrderStatus(status : String) : void`
2432
-
2433
- **Description:** Sets the status of an external order associated with this order
2434
-
2435
- **Parameters:**
2436
-
2437
- - `status`: the status of the external order.
2438
-
2439
- ---
2440
-
2441
- ### setExternalOrderText
2442
-
2443
- **Signature:** `setExternalOrderText(text : String) : void`
2444
-
2445
- **Description:** Sets the text describing the external order.
2446
-
2447
- **Parameters:**
2448
-
2449
- - `text`: the text describing the external order.
2450
-
2451
- ---
2452
-
2453
- ### setInvoiceNo
2454
-
2455
- **Signature:** `setInvoiceNo(invoiceNumber : String) : void`
2456
-
2457
- **Description:** Sets the invoice number for this Order. Notice that this value might be overwritten during order placement (e.g. with OrderMgr.placeOrder(Order)).
2458
-
2459
- **Parameters:**
2460
-
2461
- - `invoiceNumber`: the invoice number for this Order.
2462
-
2463
- **See Also:**
2464
-
2465
- getInvoiceNo()
2466
-
2467
- ---
2468
-
2469
- ### setOrderStatus
2470
-
2471
- **Signature:** `setOrderStatus(status : Number) : void`
2472
-
2473
- **Description:** Sets the order status. Use this method when using Order Post Processing such as the creation of shipping orders. The only supported values are ORDER_STATUS_OPEN, ORDER_STATUS_CANCELLED. Setting the status will adjust the order item status when applicable (item status not SHIPPED or CANCELLED). Note that the order status and the status of the items are directly related and dependent on one another. See OrderItem.setStatus(String) for more information about possible status transitions. Warning: This method will not undo coupon redemptions upon cancellation of an order. Re-opening such an order later with OrderMgr.undoCancelOrder(Order) or OrderItem.setStatus(String) with ORDER_STATUS_OPEN will result in an additional application of the same coupon code which in turn might fail. Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.
2474
-
2475
- **Deprecated:**
2476
-
2477
- use setStatus(Number) instead
2478
-
2479
- **Parameters:**
2480
-
2481
- - `status`: the status to be set, use one of: ORDER_STATUS_OPEN ORDER_STATUS_CANCELLED
2482
-
2483
- **Throws:**
2484
-
2485
- IllegalArgumentException - on attempt to set an unsupported status value
2486
-
2487
- ---
2488
-
2489
- ### setPaymentStatus
2490
-
2491
- **Signature:** `setPaymentStatus(status : Number) : void`
2492
-
2493
- **Description:** Sets the order payment status. Possible values are PAYMENT_STATUS_NOTPAID, PAYMENT_STATUS_PARTPAID or PAYMENT_STATUS_PAID.
2494
-
2495
- **Parameters:**
2496
-
2497
- - `status`: Order payment status
2498
-
2499
- ---
2500
-
2501
- ### setReplaceCode
2502
-
2503
- **Signature:** `setReplaceCode(replaceCode : String) : void`
2504
-
2505
- **Description:** Sets the value of the replace code.
2506
-
2507
- **Parameters:**
2508
-
2509
- - `replaceCode`: the value of the replace code.
2510
-
2511
- ---
2512
-
2513
- ### setReplaceDescription
2514
-
2515
- **Signature:** `setReplaceDescription(replaceDescription : String) : void`
2516
-
2517
- **Description:** Sets the value of the replace description.
2518
-
2519
- **Parameters:**
2520
-
2521
- - `replaceDescription`: the value of the replace description.
2522
-
2523
- ---
2524
-
2525
- ### setShippingStatus
2526
-
2527
- **Signature:** `setShippingStatus(status : Number) : void`
2528
-
2529
- **Description:** Sets the order shipping status value. Possible values are SHIPPING_STATUS_NOTSHIPPED, SHIPPING_STATUS_PARTSHIPPED or SHIPPING_STATUS_SHIPPED.
2530
-
2531
- **Parameters:**
2532
-
2533
- - `status`: Order shipping status
2534
-
2535
- ---
2536
-
2537
- ### setStatus
2538
-
2539
- **Signature:** `setStatus(status : Number) : void`
2540
-
2541
- **Description:** Sets the status of the order. Possible values are: ORDER_STATUS_NEW ORDER_STATUS_OPEN ORDER_STATUS_COMPLETED ORDER_STATUS_CANCELLED ORDER_STATUS_REPLACED This method does not support order statuses ORDER_STATUS_CREATED or ORDER_STATUS_FAILED. Please use OrderMgr.placeOrder(Order) or OrderMgr.failOrder(Order). Setting the order status to ORDER_STATUS_CANCELLED will have the same effect as calling OrderMgr.cancelOrder(Order). Setting a canceled order to ORDER_STATUS_NEW, ORDER_STATUS_OPEN or ORDER_STATUS_COMPLETED will have the same effect as calling OrderMgr.undoCancelOrder(Order). It is recommended to use the methods in OrderMgr directly to be able to do error processing with the return code.
2542
-
2543
- **Parameters:**
2544
-
2545
- - `status`: Order status
2546
-
2547
- **Throws:**
2548
-
2549
- IllegalArgumentException - on attempt to set status CREATED or FAILED, or status transition while cancel order or undo cancel order returns with an error code.
2550
-
2551
- ---
2552
-
2553
- ### trackOrderChange
2554
-
2555
- **Signature:** `trackOrderChange(text : String) : Note`
2556
-
2557
- **Description:** Tracks an order change. This adds a history entry to the order. Focus of history entries are changes through business logic, both custom and internal logic. Tracked order changes are read-only and can be accessed in the Business Manager order history. The following attributes of the created history entry are initialized: Note.getCreatedBy() gets the current user assigned Note.getCreationDate() gets the current date assigned This feature is intended to track important changes in custom order flow which should become visible in Business Manager's history tab. It is NOT intended as auditing feature for every change to an order. A warning will be produced after 600 notes are added to an order. The warning can be reviewed in Business Manager's Quota Status screen. Attempting to add a note to an order which already has 1000 notes results in an exception. Please bear in mind that internal changes, such as order status changes, also track changes. Avoid using this feature in recurring jobs which may re-process orders multiple times as the limit needs to be considered each time a change is tracked. The same limit on the number of notes added also applies when using method LineItemCtnr.addNote(String, String) to add notes.
2558
-
2559
- **Parameters:**
2560
-
2561
- - `text`: the text of the history entry
2562
-
2563
- **Returns:**
2564
-
2565
- the created history entry
2566
-
2567
- ---