@salesforce/b2c-cli 1.11.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +5512 -5207
- package/package.json +3 -3
|
@@ -0,0 +1,757 @@
|
|
|
1
|
+
import EncryptedObject = require('../customer/EncryptedObject');
|
|
2
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
3
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
4
|
+
import CertificateRef = require('../crypto/CertificateRef');
|
|
5
|
+
|
|
6
|
+
declare global {
|
|
7
|
+
module ICustomAttributes {
|
|
8
|
+
interface PaymentInstrument extends ICustomAttributes.EncryptedObject {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Base class for payment instrument either stored in the customers profile
|
|
15
|
+
* or related to an order. A payment instrument can be credit card
|
|
16
|
+
* or bank transfer. The object defines standard methods for credit card
|
|
17
|
+
* payment, and can be extended by attributes appropriate for other
|
|
18
|
+
* payment methods.
|
|
19
|
+
*
|
|
20
|
+
* Note: this class handles sensitive financial and card holder data.
|
|
21
|
+
* Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
|
|
22
|
+
*/
|
|
23
|
+
declare abstract class PaymentInstrument<T extends ICustomAttributes.PaymentInstrument = ICustomAttributes.PaymentInstrument> extends EncryptedObject<T> {
|
|
24
|
+
/**
|
|
25
|
+
* The outdated encryption algorithm "RSA/ECB/PKCS1Padding". Please do not use anymore!
|
|
26
|
+
* @deprecated Support for this algorithm will be removed in a future release. Please use
|
|
27
|
+
* ENCRYPTION_ALGORITHM_RSA_ECB_OAEPWITHSHA_256ANDMGF1PADDING instead.
|
|
28
|
+
*/
|
|
29
|
+
static readonly ENCRYPTION_ALGORITHM_RSA: string;
|
|
30
|
+
/**
|
|
31
|
+
* The encryption algorithm "RSA/ECB/OAEPWithSHA-256AndMGF1Padding".
|
|
32
|
+
*/
|
|
33
|
+
static readonly ENCRYPTION_ALGORITHM_RSA_ECB_OAEPWITHSHA_256ANDMGF1PADDING = "RSA/ECB/OAEPWithSHA-256AndMGF1Padding";
|
|
34
|
+
/**
|
|
35
|
+
* Represents a bank transfer type of payment.
|
|
36
|
+
*/
|
|
37
|
+
static readonly METHOD_BANK_TRANSFER: string;
|
|
38
|
+
/**
|
|
39
|
+
* Represents a 'bill me later' type of payment.
|
|
40
|
+
*/
|
|
41
|
+
static readonly METHOD_BML: string;
|
|
42
|
+
/**
|
|
43
|
+
* Represents a credit card type of payment.
|
|
44
|
+
*/
|
|
45
|
+
static readonly METHOD_CREDIT_CARD: string;
|
|
46
|
+
/**
|
|
47
|
+
* Represents an Android Pay payment.
|
|
48
|
+
*/
|
|
49
|
+
static readonly METHOD_DW_ANDROID_PAY: string;
|
|
50
|
+
/**
|
|
51
|
+
* Represents an Apple Pay payment.
|
|
52
|
+
*/
|
|
53
|
+
static readonly METHOD_DW_APPLE_PAY: string;
|
|
54
|
+
/**
|
|
55
|
+
* Represents a gift certificate.
|
|
56
|
+
*/
|
|
57
|
+
static readonly METHOD_GIFT_CERTIFICATE: string;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the driver's license number associated with the bank account if the
|
|
60
|
+
* calling context meets the following criteria:
|
|
61
|
+
*
|
|
62
|
+
* -
|
|
63
|
+
* If the instance is a CustomerPaymentInstrument, and
|
|
64
|
+
* we are in the context of a storefront request, and the current customer
|
|
65
|
+
* is registered and authenticated, and the payment instrument is associated
|
|
66
|
+
* to the profile of the current customer, and the current protocol is HTTPS
|
|
67
|
+
*
|
|
68
|
+
* -
|
|
69
|
+
* If the instance is a OrderPaymentInstrumentInfo, and we are in
|
|
70
|
+
* the context of a storefront request, and the current customer is identical
|
|
71
|
+
* to the customer related to the basket, and the current protocol is HTTPS
|
|
72
|
+
*
|
|
73
|
+
* -
|
|
74
|
+
* If the instance is a OrderPaymentInstrumentInfo, and we are in
|
|
75
|
+
* the context of a business manager request, and the current user has the
|
|
76
|
+
* permission MANAGE_ORDERS
|
|
77
|
+
*
|
|
78
|
+
* -
|
|
79
|
+
* If the instance is a OrderPaymentInstrumentInfo, and the account information
|
|
80
|
+
* has not been masked as a result of the data retention security policy
|
|
81
|
+
* for the site
|
|
82
|
+
*
|
|
83
|
+
* Otherwise, the method returns the masked driver's license number. If a basket is reopened with
|
|
84
|
+
* OrderMgr.failOrder, it always masks sensitive information
|
|
85
|
+
* because during order creation, basket payment information is permanently masked.
|
|
86
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
87
|
+
*/
|
|
88
|
+
bankAccountDriversLicense: string;
|
|
89
|
+
/**
|
|
90
|
+
* Returns the last 4 characters of the decrypted driver's license number of
|
|
91
|
+
* the bank account associated with this PaymentInstrument.
|
|
92
|
+
*
|
|
93
|
+
* If the number is empty or null
|
|
94
|
+
* it will be returned without an exception.
|
|
95
|
+
*/
|
|
96
|
+
readonly bankAccountDriversLicenseLastDigits: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* Returns the driver's license state code associated with a bank account payment instrument.
|
|
99
|
+
* Returns null for other payment methods.
|
|
100
|
+
*/
|
|
101
|
+
bankAccountDriversLicenseStateCode: string;
|
|
102
|
+
/**
|
|
103
|
+
* Returns the full name of the holder of a bank account payment instrument.
|
|
104
|
+
* Returns null for other payment methods.
|
|
105
|
+
*/
|
|
106
|
+
bankAccountHolder: string;
|
|
107
|
+
/**
|
|
108
|
+
* Returns the bank account number if the calling context meets
|
|
109
|
+
* the following criteria:
|
|
110
|
+
*
|
|
111
|
+
* -
|
|
112
|
+
* If the instance is a CustomerPaymentInstrument, and
|
|
113
|
+
* we are in the context of a storefront request, and the current customer
|
|
114
|
+
* is registered and authenticated, and the payment instrument is associated
|
|
115
|
+
* to the profile of the current customer, and the current protocol is HTTPS
|
|
116
|
+
*
|
|
117
|
+
* -
|
|
118
|
+
* If the instance is a OrderPaymentInstrumentInfo, and we are in
|
|
119
|
+
* the context of a storefront request, and the current customer is identical
|
|
120
|
+
* to the customer related to the basket, and the current protocol is HTTPS
|
|
121
|
+
*
|
|
122
|
+
* -
|
|
123
|
+
* If the instance is a OrderPaymentInstrumentInfo, and we are in
|
|
124
|
+
* the context of a business manager request, and the current user has the
|
|
125
|
+
* permission MANAGE_ORDERS
|
|
126
|
+
*
|
|
127
|
+
* -
|
|
128
|
+
* If the instance is a OrderPaymentInstrumentInfo, and the account information
|
|
129
|
+
* has not been masked as a result of the data retention security policy
|
|
130
|
+
* for the site
|
|
131
|
+
*
|
|
132
|
+
* Otherwise, the method returns the masked bank account number. If a basket is reopened with
|
|
133
|
+
* OrderMgr.failOrder, it always masks sensitive information
|
|
134
|
+
* because during order creation, basket payment information is permanently masked.
|
|
135
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
136
|
+
*/
|
|
137
|
+
bankAccountNumber: string;
|
|
138
|
+
/**
|
|
139
|
+
* Returns the last 4 characters of the decrypted bank account number.
|
|
140
|
+
*
|
|
141
|
+
* If the number is empty or null,
|
|
142
|
+
* it will be returned without an exception.
|
|
143
|
+
*/
|
|
144
|
+
readonly bankAccountNumberLastDigits: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Returns the bank routing number of a bank account payment instrument.
|
|
147
|
+
* Returns null for other payment methods.
|
|
148
|
+
*
|
|
149
|
+
* If account information has been masked due to the data retention security
|
|
150
|
+
* policy for the site, the return value is fully masked.
|
|
151
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
152
|
+
*/
|
|
153
|
+
bankRoutingNumber: string;
|
|
154
|
+
/**
|
|
155
|
+
* Returns the month of the year in which the credit card
|
|
156
|
+
* expires (1-12).
|
|
157
|
+
*/
|
|
158
|
+
creditCardExpirationMonth: number;
|
|
159
|
+
/**
|
|
160
|
+
* Returns the year in which the credit card
|
|
161
|
+
* expires, such as '2004'.
|
|
162
|
+
*/
|
|
163
|
+
creditCardExpirationYear: number;
|
|
164
|
+
/**
|
|
165
|
+
* Returns true if this payment instrument represents an expired credit
|
|
166
|
+
* card. This check is only logical if the credit card expiration month and
|
|
167
|
+
* year are set. If either of these attributes are not set, then this method
|
|
168
|
+
* always returns false.
|
|
169
|
+
*/
|
|
170
|
+
readonly creditCardExpired: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the name of the credit card owner.
|
|
173
|
+
*/
|
|
174
|
+
creditCardHolder: string;
|
|
175
|
+
/**
|
|
176
|
+
* Returns the credit card issue number. This attribute is only used by
|
|
177
|
+
* specific credit/debit card processors such as Solo and Switch in the UK.
|
|
178
|
+
*/
|
|
179
|
+
creditCardIssueNumber: string;
|
|
180
|
+
/**
|
|
181
|
+
* Returns the decrypted credit card number if the calling context meets
|
|
182
|
+
* the following criteria:
|
|
183
|
+
*
|
|
184
|
+
* -
|
|
185
|
+
* If the instance is a CustomerPaymentInstrument, and
|
|
186
|
+
* we are in the context of a storefront request, and the current customer
|
|
187
|
+
* is registered and authenticated, and the payment instrument is associated
|
|
188
|
+
* to the profile of the current customer, and the current protocol is HTTPS
|
|
189
|
+
*
|
|
190
|
+
* -
|
|
191
|
+
* If the instance is a OrderPaymentInstrument in the context of a storefront request, and
|
|
192
|
+
* the current authenticated customer is referenced by the basket or order, and
|
|
193
|
+
* the current protocol is HTTPS.
|
|
194
|
+
*
|
|
195
|
+
* -
|
|
196
|
+
* If the customer is anonymous, and the customer is referenced by the order, and the protocol is secure and
|
|
197
|
+
* the order status is CREATED.
|
|
198
|
+
*
|
|
199
|
+
* -
|
|
200
|
+
* If the instance is a OrderPaymentInstrument, and we are in
|
|
201
|
+
* the context of a business manager request, and the current user has the
|
|
202
|
+
* permission MANAGE_ORDERS
|
|
203
|
+
*
|
|
204
|
+
* -
|
|
205
|
+
* If the instance is a OrderPaymentInstrument, and the account information
|
|
206
|
+
* has not been masked as a result of the data retention security policy
|
|
207
|
+
* for the site
|
|
208
|
+
*
|
|
209
|
+
* Otherwise, the method returns the masked credit card number. If a basket is reopened with
|
|
210
|
+
* OrderMgr.failOrder, it always masks sensitive information
|
|
211
|
+
* because during order creation, basket payment information is permanently masked.
|
|
212
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
213
|
+
*/
|
|
214
|
+
creditCardNumber: string;
|
|
215
|
+
/**
|
|
216
|
+
* Returns the last 4 characters of the decrypted credit card number.
|
|
217
|
+
*
|
|
218
|
+
* If the number is empty or null
|
|
219
|
+
* it will be returned without an exception.
|
|
220
|
+
*/
|
|
221
|
+
readonly creditCardNumberLastDigits: string | null;
|
|
222
|
+
/**
|
|
223
|
+
* Secure credit card data can be replaced by a token by utilizing a
|
|
224
|
+
* tokenization provider, which securely stores the credit card data using
|
|
225
|
+
* the token as a key. The stored data can later reused by including the
|
|
226
|
+
* token in a request. In this way credit card processes such as
|
|
227
|
+
* authorization and capture can be implemented without being responsible
|
|
228
|
+
* for persisting the credit card data.
|
|
229
|
+
*/
|
|
230
|
+
creditCardToken: string;
|
|
231
|
+
/**
|
|
232
|
+
* Returns the type of the credit card.
|
|
233
|
+
*/
|
|
234
|
+
creditCardType: string;
|
|
235
|
+
/**
|
|
236
|
+
* Returns the month of the year in which the credit card became
|
|
237
|
+
* valid (1-12). This attribute is not used by all credit card types.
|
|
238
|
+
*/
|
|
239
|
+
creditCardValidFromMonth: number;
|
|
240
|
+
/**
|
|
241
|
+
* Returns the year in which the credit card became valid, such as '2001'.
|
|
242
|
+
* This attribute is not used by all credit card types.
|
|
243
|
+
*/
|
|
244
|
+
creditCardValidFromYear: number;
|
|
245
|
+
/**
|
|
246
|
+
* Returns the Gift Certificate code for this Payment Instrument.
|
|
247
|
+
*/
|
|
248
|
+
giftCertificateCode: string | null;
|
|
249
|
+
/**
|
|
250
|
+
* Returns the Gift Certificate ID for this Payment Instrument.
|
|
251
|
+
* @deprecated Use getGiftCertificateCode
|
|
252
|
+
*/
|
|
253
|
+
giftCertificateID: string | null;
|
|
254
|
+
/**
|
|
255
|
+
* Returns the decrypted driver's license number of the bank account with
|
|
256
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
257
|
+
*
|
|
258
|
+
* If the driver's license number is empty,
|
|
259
|
+
* it will be returned without an exception.
|
|
260
|
+
*/
|
|
261
|
+
readonly maskedBankAccountDriversLicense: string;
|
|
262
|
+
/**
|
|
263
|
+
* Returns the decrypted bank account number with
|
|
264
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
265
|
+
*
|
|
266
|
+
* If the number is empty (i.e. "" or null),
|
|
267
|
+
* it will be returned without an exception.
|
|
268
|
+
*/
|
|
269
|
+
readonly maskedBankAccountNumber: string | null;
|
|
270
|
+
/**
|
|
271
|
+
* Returns the decrypted credit card number with
|
|
272
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
273
|
+
*
|
|
274
|
+
* If the number is empty,
|
|
275
|
+
* it will be returned without an exception.
|
|
276
|
+
*/
|
|
277
|
+
readonly maskedCreditCardNumber: string;
|
|
278
|
+
/**
|
|
279
|
+
* Returns the masked gift certificate code with
|
|
280
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
281
|
+
*/
|
|
282
|
+
readonly maskedGiftCertificateCode: string;
|
|
283
|
+
/**
|
|
284
|
+
* Returns the identifier of the payment method represented by this
|
|
285
|
+
* payment instrument.
|
|
286
|
+
*/
|
|
287
|
+
readonly paymentMethod: string;
|
|
288
|
+
/**
|
|
289
|
+
* Returns `true` if the account information for this Payment Instrument
|
|
290
|
+
* has been permanently masked as a result of the data retention security policy
|
|
291
|
+
* for the site or a creditcard tokenization, and `false` otherwise.
|
|
292
|
+
*
|
|
293
|
+
* When account information is masked only the last 4 digits of the credit card
|
|
294
|
+
* or bank account number are recoverable. The bank account driver's license number
|
|
295
|
+
* and bank routing number are completely masked.
|
|
296
|
+
*/
|
|
297
|
+
readonly permanentlyMasked: boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Returns the driver's license number associated with the bank account if the
|
|
300
|
+
* calling context meets the following criteria:
|
|
301
|
+
*
|
|
302
|
+
* -
|
|
303
|
+
* If the instance is a CustomerPaymentInstrument, and
|
|
304
|
+
* we are in the context of a storefront request, and the current customer
|
|
305
|
+
* is registered and authenticated, and the payment instrument is associated
|
|
306
|
+
* to the profile of the current customer, and the current protocol is HTTPS
|
|
307
|
+
*
|
|
308
|
+
* -
|
|
309
|
+
* If the instance is a OrderPaymentInstrumentInfo, and we are in
|
|
310
|
+
* the context of a storefront request, and the current customer is identical
|
|
311
|
+
* to the customer related to the basket, and the current protocol is HTTPS
|
|
312
|
+
*
|
|
313
|
+
* -
|
|
314
|
+
* If the instance is a OrderPaymentInstrumentInfo, and we are in
|
|
315
|
+
* the context of a business manager request, and the current user has the
|
|
316
|
+
* permission MANAGE_ORDERS
|
|
317
|
+
*
|
|
318
|
+
* -
|
|
319
|
+
* If the instance is a OrderPaymentInstrumentInfo, and the account information
|
|
320
|
+
* has not been masked as a result of the data retention security policy
|
|
321
|
+
* for the site
|
|
322
|
+
*
|
|
323
|
+
* Otherwise, the method returns the masked driver's license number. If a basket is reopened with
|
|
324
|
+
* OrderMgr.failOrder, it always masks sensitive information
|
|
325
|
+
* because during order creation, basket payment information is permanently masked.
|
|
326
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
327
|
+
*/
|
|
328
|
+
getBankAccountDriversLicense(): string;
|
|
329
|
+
/**
|
|
330
|
+
* Returns the last 4 characters of the decrypted driver's license number of
|
|
331
|
+
* the bank account associated with this PaymentInstrument.
|
|
332
|
+
*
|
|
333
|
+
* If the number is empty or null
|
|
334
|
+
* it will be returned without an exception.
|
|
335
|
+
*/
|
|
336
|
+
getBankAccountDriversLicenseLastDigits(): string | null;
|
|
337
|
+
/**
|
|
338
|
+
* Returns the last specified number of characters of the decrypted driver's license number of
|
|
339
|
+
* the bank account associated with this PaymentInstrument.
|
|
340
|
+
*
|
|
341
|
+
* If the number is empty (i.e. "" or null),
|
|
342
|
+
* it will be returned without an exception.
|
|
343
|
+
*
|
|
344
|
+
* Note that `count` is limited to 4 in an unsecure environment,
|
|
345
|
+
* and if account information for this payment instrument has been masked
|
|
346
|
+
* due to the data retention security policy for the site.
|
|
347
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
348
|
+
*/
|
|
349
|
+
getBankAccountDriversLicenseLastDigits(count: number): string | null;
|
|
350
|
+
/**
|
|
351
|
+
* Returns the driver's license state code associated with a bank account payment instrument.
|
|
352
|
+
* Returns null for other payment methods.
|
|
353
|
+
*/
|
|
354
|
+
getBankAccountDriversLicenseStateCode(): string;
|
|
355
|
+
/**
|
|
356
|
+
* Returns the full name of the holder of a bank account payment instrument.
|
|
357
|
+
* Returns null for other payment methods.
|
|
358
|
+
*/
|
|
359
|
+
getBankAccountHolder(): string;
|
|
360
|
+
/**
|
|
361
|
+
* Returns the bank account number if the calling context meets
|
|
362
|
+
* the following criteria:
|
|
363
|
+
*
|
|
364
|
+
* -
|
|
365
|
+
* If the instance is a CustomerPaymentInstrument, and
|
|
366
|
+
* we are in the context of a storefront request, and the current customer
|
|
367
|
+
* is registered and authenticated, and the payment instrument is associated
|
|
368
|
+
* to the profile of the current customer, and the current protocol is HTTPS
|
|
369
|
+
*
|
|
370
|
+
* -
|
|
371
|
+
* If the instance is a OrderPaymentInstrumentInfo, and we are in
|
|
372
|
+
* the context of a storefront request, and the current customer is identical
|
|
373
|
+
* to the customer related to the basket, and the current protocol is HTTPS
|
|
374
|
+
*
|
|
375
|
+
* -
|
|
376
|
+
* If the instance is a OrderPaymentInstrumentInfo, and we are in
|
|
377
|
+
* the context of a business manager request, and the current user has the
|
|
378
|
+
* permission MANAGE_ORDERS
|
|
379
|
+
*
|
|
380
|
+
* -
|
|
381
|
+
* If the instance is a OrderPaymentInstrumentInfo, and the account information
|
|
382
|
+
* has not been masked as a result of the data retention security policy
|
|
383
|
+
* for the site
|
|
384
|
+
*
|
|
385
|
+
* Otherwise, the method returns the masked bank account number. If a basket is reopened with
|
|
386
|
+
* OrderMgr.failOrder, it always masks sensitive information
|
|
387
|
+
* because during order creation, basket payment information is permanently masked.
|
|
388
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
389
|
+
*/
|
|
390
|
+
getBankAccountNumber(): string;
|
|
391
|
+
/**
|
|
392
|
+
* Returns the last 4 characters of the decrypted bank account number.
|
|
393
|
+
*
|
|
394
|
+
* If the number is empty or null,
|
|
395
|
+
* it will be returned without an exception.
|
|
396
|
+
*/
|
|
397
|
+
getBankAccountNumberLastDigits(): string | null;
|
|
398
|
+
/**
|
|
399
|
+
* Returns the last specified number of characters of the decrypted bank account card number.
|
|
400
|
+
*
|
|
401
|
+
* If the number is empty (i.e. "" or null),
|
|
402
|
+
* it will be returned without an exception.
|
|
403
|
+
*
|
|
404
|
+
* Note that `count` is limited to 4 in an unsecure environment,
|
|
405
|
+
* and if account information for this payment instrument has been masked
|
|
406
|
+
* due to the data retention security policy for the site.
|
|
407
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
408
|
+
*/
|
|
409
|
+
getBankAccountNumberLastDigits(count: number): string | null;
|
|
410
|
+
/**
|
|
411
|
+
* Returns the bank routing number of a bank account payment instrument.
|
|
412
|
+
* Returns null for other payment methods.
|
|
413
|
+
*
|
|
414
|
+
* If account information has been masked due to the data retention security
|
|
415
|
+
* policy for the site, the return value is fully masked.
|
|
416
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
417
|
+
*/
|
|
418
|
+
getBankRoutingNumber(): string;
|
|
419
|
+
/**
|
|
420
|
+
* Returns the month of the year in which the credit card
|
|
421
|
+
* expires (1-12).
|
|
422
|
+
*/
|
|
423
|
+
getCreditCardExpirationMonth(): number;
|
|
424
|
+
/**
|
|
425
|
+
* Returns the year in which the credit card
|
|
426
|
+
* expires, such as '2004'.
|
|
427
|
+
*/
|
|
428
|
+
getCreditCardExpirationYear(): number;
|
|
429
|
+
/**
|
|
430
|
+
* Returns the name of the credit card owner.
|
|
431
|
+
*/
|
|
432
|
+
getCreditCardHolder(): string;
|
|
433
|
+
/**
|
|
434
|
+
* Returns the credit card issue number. This attribute is only used by
|
|
435
|
+
* specific credit/debit card processors such as Solo and Switch in the UK.
|
|
436
|
+
*/
|
|
437
|
+
getCreditCardIssueNumber(): string;
|
|
438
|
+
/**
|
|
439
|
+
* Returns the decrypted credit card number if the calling context meets
|
|
440
|
+
* the following criteria:
|
|
441
|
+
*
|
|
442
|
+
* -
|
|
443
|
+
* If the instance is a CustomerPaymentInstrument, and
|
|
444
|
+
* we are in the context of a storefront request, and the current customer
|
|
445
|
+
* is registered and authenticated, and the payment instrument is associated
|
|
446
|
+
* to the profile of the current customer, and the current protocol is HTTPS
|
|
447
|
+
*
|
|
448
|
+
* -
|
|
449
|
+
* If the instance is a OrderPaymentInstrument in the context of a storefront request, and
|
|
450
|
+
* the current authenticated customer is referenced by the basket or order, and
|
|
451
|
+
* the current protocol is HTTPS.
|
|
452
|
+
*
|
|
453
|
+
* -
|
|
454
|
+
* If the customer is anonymous, and the customer is referenced by the order, and the protocol is secure and
|
|
455
|
+
* the order status is CREATED.
|
|
456
|
+
*
|
|
457
|
+
* -
|
|
458
|
+
* If the instance is a OrderPaymentInstrument, and we are in
|
|
459
|
+
* the context of a business manager request, and the current user has the
|
|
460
|
+
* permission MANAGE_ORDERS
|
|
461
|
+
*
|
|
462
|
+
* -
|
|
463
|
+
* If the instance is a OrderPaymentInstrument, and the account information
|
|
464
|
+
* has not been masked as a result of the data retention security policy
|
|
465
|
+
* for the site
|
|
466
|
+
*
|
|
467
|
+
* Otherwise, the method returns the masked credit card number. If a basket is reopened with
|
|
468
|
+
* OrderMgr.failOrder, it always masks sensitive information
|
|
469
|
+
* because during order creation, basket payment information is permanently masked.
|
|
470
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
471
|
+
*/
|
|
472
|
+
getCreditCardNumber(): string;
|
|
473
|
+
/**
|
|
474
|
+
* Returns the last 4 characters of the decrypted credit card number.
|
|
475
|
+
*
|
|
476
|
+
* If the number is empty or null
|
|
477
|
+
* it will be returned without an exception.
|
|
478
|
+
*/
|
|
479
|
+
getCreditCardNumberLastDigits(): string | null;
|
|
480
|
+
/**
|
|
481
|
+
* Returns the last specified number of characters of the decrypted credit card number.
|
|
482
|
+
*
|
|
483
|
+
* If the number is empty (i.e. "" or null),
|
|
484
|
+
* it will be returned without an exception.
|
|
485
|
+
*
|
|
486
|
+
* Note that `count` is limited to 4 in an unsecure environment,
|
|
487
|
+
* and if account information for this payment instrument has been masked
|
|
488
|
+
* due to the data retention security policy for the site.
|
|
489
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
490
|
+
*/
|
|
491
|
+
getCreditCardNumberLastDigits(count: number): string | null;
|
|
492
|
+
/**
|
|
493
|
+
* Secure credit card data can be replaced by a token by utilizing a
|
|
494
|
+
* tokenization provider, which securely stores the credit card data using
|
|
495
|
+
* the token as a key. The stored data can later reused by including the
|
|
496
|
+
* token in a request. In this way credit card processes such as
|
|
497
|
+
* authorization and capture can be implemented without being responsible
|
|
498
|
+
* for persisting the credit card data.
|
|
499
|
+
*/
|
|
500
|
+
getCreditCardToken(): string;
|
|
501
|
+
/**
|
|
502
|
+
* Returns the type of the credit card.
|
|
503
|
+
*/
|
|
504
|
+
getCreditCardType(): string;
|
|
505
|
+
/**
|
|
506
|
+
* Returns the month of the year in which the credit card became
|
|
507
|
+
* valid (1-12). This attribute is not used by all credit card types.
|
|
508
|
+
*/
|
|
509
|
+
getCreditCardValidFromMonth(): number;
|
|
510
|
+
/**
|
|
511
|
+
* Returns the year in which the credit card became valid, such as '2001'.
|
|
512
|
+
* This attribute is not used by all credit card types.
|
|
513
|
+
*/
|
|
514
|
+
getCreditCardValidFromYear(): number;
|
|
515
|
+
/**
|
|
516
|
+
* Encrypts the driver's license number of the bank account of this object with the given algorithm and the given
|
|
517
|
+
* public key. Returned is the Base64 encoded representation of the result.
|
|
518
|
+
*
|
|
519
|
+
* See also dw.crypto.Cipher.encrypt_2 on how to generate RSA key
|
|
520
|
+
* pairs.
|
|
521
|
+
*
|
|
522
|
+
* If account information has been masked due to the data retention security policy for the site, the returned value
|
|
523
|
+
* is the Base64 encoded representation of the encrypted form of the masked number.
|
|
524
|
+
* @throws IllegalArgumentException If algorithm is not a valid known algorithm.
|
|
525
|
+
* @throws IllegalArgumentException If publicKey is a null, empty or blank string.
|
|
526
|
+
*/
|
|
527
|
+
getEncryptedBankAccountDriversLicense(algorithm: string, publicKey: string): string;
|
|
528
|
+
/**
|
|
529
|
+
* Encrypts the bank account number of this object with the given algorithm and the given public key. Returned is
|
|
530
|
+
* the Base64 encoded representation of the result.
|
|
531
|
+
*
|
|
532
|
+
* If account information has been masked due to the data retention security policy for the site, the returned value
|
|
533
|
+
* is the Base64 encoded representation of the encrypted form of the masked number.
|
|
534
|
+
* @throws IllegalArgumentException If algorithm is not a valid known algorithm.
|
|
535
|
+
* @throws IllegalArgumentException If publicKey is a null, empty or blank string.
|
|
536
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
537
|
+
*/
|
|
538
|
+
getEncryptedBankAccountNumber(algorithm: string, publicKey: string): string;
|
|
539
|
+
/**
|
|
540
|
+
* Encrypts the credit card number of this object with the given algorithm and the given public key. Returned is the
|
|
541
|
+
* Base64 encoded representation of the result.
|
|
542
|
+
*
|
|
543
|
+
* See also dw.crypto.Cipher.encrypt_2 on how to generate RSA key
|
|
544
|
+
* pairs.
|
|
545
|
+
*
|
|
546
|
+
* If account information has been masked due to the data retention security policy for the site, the returned value
|
|
547
|
+
* is the Base64 encoded representation of the encrypted form of the masked number.
|
|
548
|
+
* @throws IllegalArgumentException If algorithm is not a valid known algorithm.
|
|
549
|
+
* @throws IllegalArgumentException If publicKey is a null, empty or blank string.
|
|
550
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
551
|
+
* @deprecated Please use getEncryptedCreditCardNumber instead.
|
|
552
|
+
*/
|
|
553
|
+
getEncryptedCreditCardNumber(algorithm: string, publicKey: string): string;
|
|
554
|
+
/**
|
|
555
|
+
* Encrypts the credit card number of this object with the given algorithm and the public key taken from a
|
|
556
|
+
* certificate in the keystore. Returned is the Base64 encoded representation of the result.
|
|
557
|
+
*
|
|
558
|
+
* See also dw.crypto.Cipher.encrypt_2 on how to generate RSA
|
|
559
|
+
* key pairs.
|
|
560
|
+
*
|
|
561
|
+
* If account information has been masked due to the data retention security policy for the site, the returned value
|
|
562
|
+
* is the Base64 encoded representation of the encrypted form of the masked number.
|
|
563
|
+
* @throws IllegalArgumentException If algorithm is not a valid known algorithm.
|
|
564
|
+
* @throws IllegalArgumentException If certificateRef is null or could not be found.
|
|
565
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
566
|
+
*/
|
|
567
|
+
getEncryptedCreditCardNumber(algorithm: string, certificateRef: CertificateRef): string;
|
|
568
|
+
/**
|
|
569
|
+
* Returns the Gift Certificate code for this Payment Instrument.
|
|
570
|
+
*/
|
|
571
|
+
getGiftCertificateCode(): string | null;
|
|
572
|
+
/**
|
|
573
|
+
* Returns the Gift Certificate ID for this Payment Instrument.
|
|
574
|
+
* @deprecated Use getGiftCertificateCode
|
|
575
|
+
*/
|
|
576
|
+
getGiftCertificateID(): string | null;
|
|
577
|
+
/**
|
|
578
|
+
* Returns the decrypted driver's license number of the bank account with
|
|
579
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
580
|
+
*
|
|
581
|
+
* If the driver's license number is empty,
|
|
582
|
+
* it will be returned without an exception.
|
|
583
|
+
*/
|
|
584
|
+
getMaskedBankAccountDriversLicense(): string;
|
|
585
|
+
/**
|
|
586
|
+
* Returns the decrypted driver's license number of the bank account with
|
|
587
|
+
* all but the specified number characters replaced with a '*' character.
|
|
588
|
+
*
|
|
589
|
+
* If the driver's license number is empty (i.e. "" or null),
|
|
590
|
+
* it will be returned without an exception.
|
|
591
|
+
*
|
|
592
|
+
* Note that `ignore` is limited to 4 in an unsecure environment,
|
|
593
|
+
* and if account information for this payment instrument has been masked
|
|
594
|
+
* due to the data retention security policy for the site.
|
|
595
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
596
|
+
*/
|
|
597
|
+
getMaskedBankAccountDriversLicense(ignore: number): string | null;
|
|
598
|
+
/**
|
|
599
|
+
* Returns the decrypted bank account number with
|
|
600
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
601
|
+
*
|
|
602
|
+
* If the number is empty (i.e. "" or null),
|
|
603
|
+
* it will be returned without an exception.
|
|
604
|
+
*/
|
|
605
|
+
getMaskedBankAccountNumber(): string | null;
|
|
606
|
+
/**
|
|
607
|
+
* Returns the decrypted bank account number with
|
|
608
|
+
* all but the specified number characters replaced with a '*' character.
|
|
609
|
+
*
|
|
610
|
+
* If the card number is empty (i.e. "" or null),
|
|
611
|
+
* it will be returned without an exception.
|
|
612
|
+
*
|
|
613
|
+
* Note that `ignore` is limited to 4 in an unsecure environment,
|
|
614
|
+
* and if account information for this payment instrument has been masked
|
|
615
|
+
* due to the data retention security policy for the site.
|
|
616
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
617
|
+
*/
|
|
618
|
+
getMaskedBankAccountNumber(ignore: number): string | null;
|
|
619
|
+
/**
|
|
620
|
+
* Returns the decrypted credit card number with
|
|
621
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
622
|
+
*
|
|
623
|
+
* If the number is empty,
|
|
624
|
+
* it will be returned without an exception.
|
|
625
|
+
*/
|
|
626
|
+
getMaskedCreditCardNumber(): string;
|
|
627
|
+
/**
|
|
628
|
+
* Returns the decrypted credit card number with
|
|
629
|
+
* all but the specified number characters replaced with a '*' character.
|
|
630
|
+
*
|
|
631
|
+
* If the card number is empty (i.e. "" or null),
|
|
632
|
+
* it will be returned without an exception.
|
|
633
|
+
*
|
|
634
|
+
* Note that `ignore` is limited to 4 in an unsecure environment,
|
|
635
|
+
* and if account information for this payment instrument has been masked
|
|
636
|
+
* due to the data retention security policy for the site.
|
|
637
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
638
|
+
*/
|
|
639
|
+
getMaskedCreditCardNumber(ignore: number): string | null;
|
|
640
|
+
/**
|
|
641
|
+
* Returns the masked gift certificate code with
|
|
642
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
643
|
+
*/
|
|
644
|
+
getMaskedGiftCertificateCode(): string;
|
|
645
|
+
/**
|
|
646
|
+
* Returns the masked gift certificate code with
|
|
647
|
+
* all but the specified number of characters replaced with a '*' character.
|
|
648
|
+
* @throws IllegalArgumentException if ignore is negative.
|
|
649
|
+
*/
|
|
650
|
+
getMaskedGiftCertificateCode(ignore: number): string;
|
|
651
|
+
/**
|
|
652
|
+
* Returns the identifier of the payment method represented by this
|
|
653
|
+
* payment instrument.
|
|
654
|
+
*/
|
|
655
|
+
getPaymentMethod(): string;
|
|
656
|
+
/**
|
|
657
|
+
* Returns true if this payment instrument represents an expired credit
|
|
658
|
+
* card. This check is only logical if the credit card expiration month and
|
|
659
|
+
* year are set. If either of these attributes are not set, then this method
|
|
660
|
+
* always returns false.
|
|
661
|
+
*/
|
|
662
|
+
isCreditCardExpired(): boolean;
|
|
663
|
+
/**
|
|
664
|
+
* Returns `true` if the account information for this Payment Instrument
|
|
665
|
+
* has been permanently masked as a result of the data retention security policy
|
|
666
|
+
* for the site or a creditcard tokenization, and `false` otherwise.
|
|
667
|
+
*
|
|
668
|
+
* When account information is masked only the last 4 digits of the credit card
|
|
669
|
+
* or bank account number are recoverable. The bank account driver's license number
|
|
670
|
+
* and bank routing number are completely masked.
|
|
671
|
+
*/
|
|
672
|
+
isPermanentlyMasked(): boolean;
|
|
673
|
+
/**
|
|
674
|
+
* Set the driver's license number associated with a bank account payment instrument.
|
|
675
|
+
*/
|
|
676
|
+
setBankAccountDriversLicense(license: string): void;
|
|
677
|
+
/**
|
|
678
|
+
* Set the driver's license state code associated with a bank account payment instrument.
|
|
679
|
+
*/
|
|
680
|
+
setBankAccountDriversLicenseStateCode(stateCode: string): void;
|
|
681
|
+
/**
|
|
682
|
+
* Set the full name of the holder of a bank account payment instrument.
|
|
683
|
+
*/
|
|
684
|
+
setBankAccountHolder(holder: string): void;
|
|
685
|
+
/**
|
|
686
|
+
* Set the bank account number of a bank account payment instrument.
|
|
687
|
+
*/
|
|
688
|
+
setBankAccountNumber(accountNumber: string): void;
|
|
689
|
+
/**
|
|
690
|
+
* Set the bank routing number of a bank account payment instrument.
|
|
691
|
+
*/
|
|
692
|
+
setBankRoutingNumber(routingNumber: string): void;
|
|
693
|
+
/**
|
|
694
|
+
* Sets the month of the year in which the credit card
|
|
695
|
+
* expires. Permissible values are from 1 to 12.
|
|
696
|
+
*/
|
|
697
|
+
setCreditCardExpirationMonth(aValue: number): void;
|
|
698
|
+
/**
|
|
699
|
+
* Sets the year in which the credit card
|
|
700
|
+
* expires, such as '2004'.
|
|
701
|
+
*/
|
|
702
|
+
setCreditCardExpirationYear(aValue: number): void;
|
|
703
|
+
/**
|
|
704
|
+
* Sets the name of the credit card owner.
|
|
705
|
+
*/
|
|
706
|
+
setCreditCardHolder(aValue: string): void;
|
|
707
|
+
/**
|
|
708
|
+
* Set the credit card issue number. This attribute is only used by
|
|
709
|
+
* specific credit/debit card processors such as Solo and Switch in the UK.
|
|
710
|
+
*/
|
|
711
|
+
setCreditCardIssueNumber(aValue: string): void;
|
|
712
|
+
/**
|
|
713
|
+
* Sets the credit card number for this payment.
|
|
714
|
+
*/
|
|
715
|
+
setCreditCardNumber(aValue: string): void;
|
|
716
|
+
/**
|
|
717
|
+
* Secure credit card data can be replaced by a token by utilizing a
|
|
718
|
+
* tokenization provider, which securely stores the credit card data using
|
|
719
|
+
* the token as a key. The stored data can later reused by including the
|
|
720
|
+
* token in a request. In this way credit card processes such as
|
|
721
|
+
* authorization and capture can be implemented without being responsible
|
|
722
|
+
* for persisting the credit card data.
|
|
723
|
+
*
|
|
724
|
+
* An Exception will be thrown when the token is null or blank.
|
|
725
|
+
*
|
|
726
|
+
* When setting a credit card token, the account information (including the
|
|
727
|
+
* creditcard number) is masked and all creditcard attributes are frozen and
|
|
728
|
+
* an attempt to change will be result in an exception.
|
|
729
|
+
* @see dw.order.PaymentInstrument.isPermanentlyMasked
|
|
730
|
+
*/
|
|
731
|
+
setCreditCardToken(token: string): void;
|
|
732
|
+
/**
|
|
733
|
+
* Sets the type of the credit card.
|
|
734
|
+
*/
|
|
735
|
+
setCreditCardType(aValue: string): void;
|
|
736
|
+
/**
|
|
737
|
+
* Sets the month of the year in which the credit card became valid (1-12).
|
|
738
|
+
* This attribute is not used by all credit card types
|
|
739
|
+
*/
|
|
740
|
+
setCreditCardValidFromMonth(aValue: number): void;
|
|
741
|
+
/**
|
|
742
|
+
* Sets the year in which the credit card became valid, such as '2001'.
|
|
743
|
+
* This attribute is not used by all credit card types.
|
|
744
|
+
*/
|
|
745
|
+
setCreditCardValidFromYear(aValue: number): void;
|
|
746
|
+
/**
|
|
747
|
+
* Sets the Gift Certificate code for this Payment Instrument.
|
|
748
|
+
*/
|
|
749
|
+
setGiftCertificateCode(giftCertificateCode: string): void;
|
|
750
|
+
/**
|
|
751
|
+
* Sets the Gift Certificate ID for this Payment Instrument.
|
|
752
|
+
* @deprecated Use setGiftCertificateCode
|
|
753
|
+
*/
|
|
754
|
+
setGiftCertificateID(giftCertificateID: string): void;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
export = PaymentInstrument;
|