@salesforce/b2c-cli 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/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 +5721 -5416
- package/package.json +2 -2
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import PaymentRequestHookResult = require('./PaymentRequestHookResult');
|
|
2
|
+
import Basket = require('../../order/Basket');
|
|
3
|
+
import ShippingMethod = require('../../order/ShippingMethod');
|
|
4
|
+
import Status = require('../../system/Status');
|
|
5
|
+
import Order = require('../../order/Order');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* PaymentRequestHooks interface containing extension points for customizing Payment Requests.
|
|
9
|
+
*
|
|
10
|
+
* These hooks are executed in a transaction.
|
|
11
|
+
*
|
|
12
|
+
* The extension points (hook names), and the functions that are called by each extension point. A function must be
|
|
13
|
+
* defined inside a JavaScript source and must be exported. The script with the exported hook function must be located
|
|
14
|
+
* inside a site cartridge. Inside the site cartridge a 'package.json' file with a 'hooks' entry must exist.
|
|
15
|
+
*
|
|
16
|
+
* ```
|
|
17
|
+
* "hooks": "./hooks.json"
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* The hooks entry links to a json file, relative to the 'package.json' file. This file lists all registered hooks
|
|
21
|
+
* inside the hooks property:
|
|
22
|
+
*
|
|
23
|
+
* ```
|
|
24
|
+
* "hooks": [
|
|
25
|
+
* {"name": "dw.extensions.paymentrequest.getPaymentRequest", "script": "./paymentrequest.ds"}
|
|
26
|
+
* {"name": "dw.extensions.paymentrequest.shippingAddressChange", "script": "./paymentrequest.ds"}
|
|
27
|
+
* ]
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* A hook entry has a 'name' and a 'script' property.
|
|
31
|
+
*
|
|
32
|
+
* - The 'name' contains the extension point, the hook name.
|
|
33
|
+
* - The 'script' contains the script relative to the hooks file, with the exported hook function.
|
|
34
|
+
* @deprecated Salesforce Payments includes support for Google Pay
|
|
35
|
+
*/
|
|
36
|
+
declare interface PaymentRequestHooks {
|
|
37
|
+
/**
|
|
38
|
+
* The extension point name extensionPointAbort.
|
|
39
|
+
*/
|
|
40
|
+
readonly extensionPointAbort: "dw.extensions.paymentrequest.abort";
|
|
41
|
+
/**
|
|
42
|
+
* The extension point name extensionPointGetPaymentRequest.
|
|
43
|
+
*/
|
|
44
|
+
readonly extensionPointGetPaymentRequest: "dw.extensions.paymentrequest.getPaymentRequest";
|
|
45
|
+
/**
|
|
46
|
+
* The extension point name extensionPointPaymentAcceptedAuthorizeOrderPayment.
|
|
47
|
+
*/
|
|
48
|
+
readonly extensionPointPaymentAcceptedAuthorizeOrderPayment: "dw.extensions.paymentrequest.paymentAccepted.authorizeOrderPayment";
|
|
49
|
+
/**
|
|
50
|
+
* The extension point name extensionPointPaymentAcceptedPlaceOrder.
|
|
51
|
+
*/
|
|
52
|
+
readonly extensionPointPaymentAcceptedPlaceOrder: "dw.extensions.paymentrequest.paymentAccepted.placeOrder";
|
|
53
|
+
/**
|
|
54
|
+
* The extension point name extensionPointShippingAddressChange.
|
|
55
|
+
*/
|
|
56
|
+
readonly extensionPointShippingAddressChange: "dw.extensions.paymentrequest.shippingAddressChange";
|
|
57
|
+
/**
|
|
58
|
+
* The extension point name extensionPointShippingOptionChange.
|
|
59
|
+
*/
|
|
60
|
+
readonly extensionPointShippingOptionChange: "dw.extensions.paymentrequest.shippingOptionChange";
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* Called after the Payment Request user interface was canceled. The given basket is the one that was passed to other
|
|
65
|
+
* hooks earlier in the Payment Request checkout process.
|
|
66
|
+
*
|
|
67
|
+
* It is not guaranteed that this hook will be executed for all Payment Request user interfaces canceled by shoppers or
|
|
68
|
+
* otherwise ended without a successful order. Calls to this hook are provided on a best-effort basis.
|
|
69
|
+
*
|
|
70
|
+
* If the returned result includes a redirect URL, the shopper browser will be navigated to that URL if possible. It
|
|
71
|
+
* is not guaranteed that the response with the hook result will be handled in the shopper browser in all cases.
|
|
72
|
+
*/
|
|
73
|
+
abort(basket: Basket): PaymentRequestHookResult;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* Called after the shopper accepts the Payment Request payment for the given order. Basket customer information,
|
|
78
|
+
* billing address, and/or shipping address for the default shipment will have already been updated to reflect the
|
|
79
|
+
* available contact information provided by Payment Request. Any preexisting payment instruments on the basket will
|
|
80
|
+
* have been removed, and a single `DW_ANDROID_PAY` payment instrument added for the total amount. The
|
|
81
|
+
* given order will have been created from this updated basket.
|
|
82
|
+
*
|
|
83
|
+
* The purpose of this hook is to authorize the Payment Request payment for the order. If a non-error status is returned
|
|
84
|
+
* that means that you have successfully authorized the payment with your payment service provider. Your hook
|
|
85
|
+
* implementation must set the necessary payment status and transaction identifier data on the order as returned by
|
|
86
|
+
* the provider.
|
|
87
|
+
*
|
|
88
|
+
* Return an error status to indicate a problem, including unsuccessful authorization.
|
|
89
|
+
*
|
|
90
|
+
* See the Payment Request API for more information.
|
|
91
|
+
*/
|
|
92
|
+
authorizeOrderPayment(order: Order, response: Object): Status;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* Called to get the `PaymentRequest` constructor parameters for the given basket. You can
|
|
97
|
+
* set properties in the given `parameters` object to extend or override default properties set
|
|
98
|
+
* automatically based on the Google Pay configuration for your site.
|
|
99
|
+
*
|
|
100
|
+
* The `parameters` object will contain the following properties by default:
|
|
101
|
+
*
|
|
102
|
+
* - `methodData` - array containing payment methods the web site accepts
|
|
103
|
+
* - `details` - information about the transaction that the user is being asked to complete
|
|
104
|
+
* - `options` - information about what options the web page wishes to use from the payment request system
|
|
105
|
+
*
|
|
106
|
+
* Return a result with an error status to indicate a problem.
|
|
107
|
+
*
|
|
108
|
+
* If the returned result includes a redirect URL, the shopper browser will be navigated to that URL if the Payment
|
|
109
|
+
* Request user interaction is canceled.
|
|
110
|
+
*
|
|
111
|
+
* See the Payment Request API for more information.
|
|
112
|
+
*/
|
|
113
|
+
getPaymentRequest(basket: Basket, parameters: Object): PaymentRequestHookResult;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* Called after payment has been authorized and the given Payment Request order is ready to be placed. The purpose of
|
|
118
|
+
* this hook is to place the order, or return a redirect URL that results in the order being placed when the shopper
|
|
119
|
+
* browser is navigated to it.
|
|
120
|
+
*
|
|
121
|
+
* The default implementation of this hook returns a redirect to `COPlaceOrder-Submit` with URL
|
|
122
|
+
* parameters `order_id` set to dw.order.Order.getOrderNo and `order_token` set to
|
|
123
|
+
* dw.order.Order.getOrderToken which corresponds to SiteGenesis-based implementations. Your hook
|
|
124
|
+
* implementation should return a result with a different redirect URL as necessary to place the order and show an
|
|
125
|
+
* order confirmation.
|
|
126
|
+
*
|
|
127
|
+
* Alternatively, your hook implementation itself can place the order and return a result with a redirect URL to an
|
|
128
|
+
* order confirmation page that does not place the order. This is inconsistent with SiteGenesis-based
|
|
129
|
+
* implementations so is not the default.
|
|
130
|
+
*
|
|
131
|
+
* Return an error status to indicate a problem. If the returned result includes a redirect URL, the shopper browser
|
|
132
|
+
* will be navigated to that URL if the Payment Request user interface is canceled.
|
|
133
|
+
*/
|
|
134
|
+
placeOrder(order: Order): PaymentRequestHookResult;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* Called after handling the Payment Request `shippingaddresschange` event for the given basket. Basket
|
|
139
|
+
* customer information and/or shipping address for the default shipment will have already been updated to reflect
|
|
140
|
+
* the available shipping address information provided by Payment Request. The basket will have already been
|
|
141
|
+
* calculated before this hook is called.
|
|
142
|
+
*
|
|
143
|
+
* Return a result with an error status to indicate a problem.
|
|
144
|
+
*
|
|
145
|
+
* If the returned result includes a redirect URL, the shopper browser will be navigated to that URL if the Payment
|
|
146
|
+
* Request user interface is canceled.
|
|
147
|
+
*
|
|
148
|
+
* See the Payment Request API for more information.
|
|
149
|
+
*/
|
|
150
|
+
shippingAddressChange(basket: Basket, details: Object): PaymentRequestHookResult;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
*
|
|
154
|
+
* Called after handling the Payment Request `shippingoptionchange` event for the given basket. The given
|
|
155
|
+
* shipping method will have already been set on the basket. The basket will have already been calculated before
|
|
156
|
+
* this hook is called.
|
|
157
|
+
*
|
|
158
|
+
* Return a result with an error status to indicate a problem.
|
|
159
|
+
*
|
|
160
|
+
* If the returned result includes a redirect URL, the shopper browser will be navigated to that URL if the
|
|
161
|
+
* Payment Request user interface is canceled.
|
|
162
|
+
*
|
|
163
|
+
* See the Payment Request API for more information.
|
|
164
|
+
*/
|
|
165
|
+
shippingOptionChange(basket: Basket, shippingMethod: ShippingMethod, details: Object): PaymentRequestHookResult;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export = PaymentRequestHooks;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import OrderPaymentInstrument = require('../../order/OrderPaymentInstrument');
|
|
2
|
+
import Basket = require('../../order/Basket');
|
|
3
|
+
import Order = require('../../order/Order');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* Salesforce Payments representation of an Adyen payment intent object. See Salesforce Payments documentation for how
|
|
9
|
+
* to gain access and configure it for use on your sites.
|
|
10
|
+
*/
|
|
11
|
+
declare class SalesforceAdyenPaymentIntent {
|
|
12
|
+
/**
|
|
13
|
+
* Returns the identifier of this payment intent.
|
|
14
|
+
*/
|
|
15
|
+
readonly ID: string;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the payment action for this payment intent.
|
|
18
|
+
*/
|
|
19
|
+
readonly action: Object;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the Adyen result code for this payment intent.
|
|
22
|
+
*/
|
|
23
|
+
readonly resultCode: string;
|
|
24
|
+
private constructor();
|
|
25
|
+
/**
|
|
26
|
+
* Returns the payment action for this payment intent.
|
|
27
|
+
*/
|
|
28
|
+
getAction(): Object;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the identifier of this payment intent.
|
|
31
|
+
*/
|
|
32
|
+
getID(): string;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the payment instrument for this payment intent in the given basket, or `null` if the given
|
|
35
|
+
* basket has none.
|
|
36
|
+
*/
|
|
37
|
+
getPaymentInstrument(basket: Basket): OrderPaymentInstrument | null;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the payment instrument for this payment intent in the given order, or `null` if the given
|
|
40
|
+
* order has none.
|
|
41
|
+
*/
|
|
42
|
+
getPaymentInstrument(order: Order): OrderPaymentInstrument | null;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the Adyen result code for this payment intent.
|
|
45
|
+
*/
|
|
46
|
+
getResultCode(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Returns `true` if this payment intent has an action, or `false` if not.
|
|
49
|
+
*/
|
|
50
|
+
hasAction(): boolean;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export = SalesforceAdyenPaymentIntent;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* Salesforce Payments representation of an Adyen saved payment method object. See Salesforce Payments documentation for
|
|
5
|
+
* how to gain access and configure it for use on your sites.
|
|
6
|
+
*
|
|
7
|
+
* An Adyen saved payment method contains information about a credential used by a shopper to attempt payment, such as a
|
|
8
|
+
* payment card or bank account. The available information differs for each type of payment method. It includes only
|
|
9
|
+
* limited information that can be safely presented to a shopper to remind them what credential they used, and
|
|
10
|
+
* specifically not complete card, account, or other numbers that could be used to make future payments.
|
|
11
|
+
*/
|
|
12
|
+
declare class SalesforceAdyenSavedPaymentMethod {
|
|
13
|
+
/**
|
|
14
|
+
* Represents the Bancontact payment method.
|
|
15
|
+
*/
|
|
16
|
+
static readonly TYPE_BANCONTACT = "bancontact";
|
|
17
|
+
/**
|
|
18
|
+
* Represents a credit card type of payment method.
|
|
19
|
+
*/
|
|
20
|
+
static readonly TYPE_CARD = "card";
|
|
21
|
+
/**
|
|
22
|
+
* Represents the iDEAL payment method.
|
|
23
|
+
*/
|
|
24
|
+
static readonly TYPE_IDEAL = "ideal";
|
|
25
|
+
/**
|
|
26
|
+
* Represents the SEPA Debit payment method.
|
|
27
|
+
*/
|
|
28
|
+
static readonly TYPE_SEPA_DEBIT = "sepa_debit";
|
|
29
|
+
/**
|
|
30
|
+
* Returns the identifier of this payment method.
|
|
31
|
+
*/
|
|
32
|
+
readonly ID: string;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the brand of this payment method, or `null` if none is available. Available on
|
|
35
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_CARD type methods.
|
|
36
|
+
*/
|
|
37
|
+
readonly brand: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the expiry month of the card for this payment method, or `null` if none is available.
|
|
40
|
+
* Available on SalesforceAdyenSavedPaymentMethod.TYPE_CARD and
|
|
41
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT type methods.
|
|
42
|
+
*/
|
|
43
|
+
readonly expiryMonth: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the expiry year of the card for this payment method, or `null` if none is available. Available
|
|
46
|
+
* on SalesforceAdyenSavedPaymentMethod.TYPE_CARD and
|
|
47
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT type methods.
|
|
48
|
+
*/
|
|
49
|
+
readonly expiryYear: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Returns the cardholder name for this payment method, or `null` if none is available. Available on
|
|
52
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_CARD and SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT
|
|
53
|
+
* type methods.
|
|
54
|
+
*/
|
|
55
|
+
readonly holderName: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the last 4 digits of the credential for this payment method, or `null` if none is available.
|
|
58
|
+
* Available on SalesforceAdyenSavedPaymentMethod.TYPE_CARD and
|
|
59
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT type methods.
|
|
60
|
+
*/
|
|
61
|
+
readonly last4: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Returns the back account owner name for this payment method, or `null` if none is available. Available
|
|
64
|
+
* on SalesforceAdyenSavedPaymentMethod.TYPE_SEPA_DEBIT and
|
|
65
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_IDEAL type method.
|
|
66
|
+
*/
|
|
67
|
+
readonly ownerName: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Returns the type of this payment method.
|
|
70
|
+
* @see SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT
|
|
71
|
+
* @see SalesforceAdyenSavedPaymentMethod.TYPE_CARD
|
|
72
|
+
* @see SalesforceAdyenSavedPaymentMethod.TYPE_IDEAL
|
|
73
|
+
* @see SalesforceAdyenSavedPaymentMethod.TYPE_SEPA_DEBIT
|
|
74
|
+
*/
|
|
75
|
+
readonly type: string;
|
|
76
|
+
private constructor();
|
|
77
|
+
/**
|
|
78
|
+
* Returns the brand of this payment method, or `null` if none is available. Available on
|
|
79
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_CARD type methods.
|
|
80
|
+
*/
|
|
81
|
+
getBrand(): string | null;
|
|
82
|
+
/**
|
|
83
|
+
* Returns the expiry month of the card for this payment method, or `null` if none is available.
|
|
84
|
+
* Available on SalesforceAdyenSavedPaymentMethod.TYPE_CARD and
|
|
85
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT type methods.
|
|
86
|
+
*/
|
|
87
|
+
getExpiryMonth(): string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Returns the expiry year of the card for this payment method, or `null` if none is available. Available
|
|
90
|
+
* on SalesforceAdyenSavedPaymentMethod.TYPE_CARD and
|
|
91
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT type methods.
|
|
92
|
+
*/
|
|
93
|
+
getExpiryYear(): string | null;
|
|
94
|
+
/**
|
|
95
|
+
* Returns the cardholder name for this payment method, or `null` if none is available. Available on
|
|
96
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_CARD and SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT
|
|
97
|
+
* type methods.
|
|
98
|
+
*/
|
|
99
|
+
getHolderName(): string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Returns the identifier of this payment method.
|
|
102
|
+
*/
|
|
103
|
+
getID(): string;
|
|
104
|
+
/**
|
|
105
|
+
* Returns the last 4 digits of the credential for this payment method, or `null` if none is available.
|
|
106
|
+
* Available on SalesforceAdyenSavedPaymentMethod.TYPE_CARD and
|
|
107
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT type methods.
|
|
108
|
+
*/
|
|
109
|
+
getLast4(): string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the back account owner name for this payment method, or `null` if none is available. Available
|
|
112
|
+
* on SalesforceAdyenSavedPaymentMethod.TYPE_SEPA_DEBIT and
|
|
113
|
+
* SalesforceAdyenSavedPaymentMethod.TYPE_IDEAL type method.
|
|
114
|
+
*/
|
|
115
|
+
getOwnerName(): string | null;
|
|
116
|
+
/**
|
|
117
|
+
* Returns the type of this payment method.
|
|
118
|
+
* @see SalesforceAdyenSavedPaymentMethod.TYPE_BANCONTACT
|
|
119
|
+
* @see SalesforceAdyenSavedPaymentMethod.TYPE_CARD
|
|
120
|
+
* @see SalesforceAdyenSavedPaymentMethod.TYPE_IDEAL
|
|
121
|
+
* @see SalesforceAdyenSavedPaymentMethod.TYPE_SEPA_DEBIT
|
|
122
|
+
*/
|
|
123
|
+
getType(): string;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export = SalesforceAdyenSavedPaymentMethod;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import SalesforcePaymentDetails = require('./SalesforcePaymentDetails');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Details to a Salesforce Payments payment of type SalesforcePaymentMethod.TYPE_BANCONTACT. See Salesforce Payments
|
|
7
|
+
* documentation for how to gain access and configure it for use on your sites.
|
|
8
|
+
*/
|
|
9
|
+
declare class SalesforceBancontactPaymentDetails extends SalesforcePaymentDetails {
|
|
10
|
+
/**
|
|
11
|
+
* Returns the bank name, or `null` if not known.
|
|
12
|
+
* @see SalesforcePaymentMethod.getBankName
|
|
13
|
+
*/
|
|
14
|
+
readonly bankName: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the last 4 digits of the account number, or `null` if not known.
|
|
17
|
+
* @see SalesforcePaymentMethod.getLast4
|
|
18
|
+
*/
|
|
19
|
+
readonly last4: string | null;
|
|
20
|
+
private constructor();
|
|
21
|
+
/**
|
|
22
|
+
* Returns the bank name, or `null` if not known.
|
|
23
|
+
* @see SalesforcePaymentMethod.getBankName
|
|
24
|
+
*/
|
|
25
|
+
getBankName(): string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the last 4 digits of the account number, or `null` if not known.
|
|
28
|
+
* @see SalesforcePaymentMethod.getLast4
|
|
29
|
+
*/
|
|
30
|
+
getLast4(): string | null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export = SalesforceBancontactPaymentDetails;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import SalesforcePaymentDetails = require('./SalesforcePaymentDetails');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Details to a Salesforce Payments payment of type SalesforcePaymentMethod.TYPE_CARD. See Salesforce Payments
|
|
7
|
+
* documentation for how to gain access and configure it for use on your sites.
|
|
8
|
+
*/
|
|
9
|
+
declare class SalesforceCardPaymentDetails extends SalesforcePaymentDetails {
|
|
10
|
+
/**
|
|
11
|
+
* Returns the card brand, or `null` if not known.
|
|
12
|
+
* @see SalesforcePaymentMethod.getBrand
|
|
13
|
+
*/
|
|
14
|
+
readonly brand: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the last 4 digits of the card number, or `null` if not known.
|
|
17
|
+
* @see SalesforcePaymentMethod.getLast4
|
|
18
|
+
*/
|
|
19
|
+
readonly last4: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the type of wallet used to make the card payment, or `null` if not known.
|
|
22
|
+
*/
|
|
23
|
+
readonly walletType: string | null;
|
|
24
|
+
private constructor();
|
|
25
|
+
/**
|
|
26
|
+
* Returns the card brand, or `null` if not known.
|
|
27
|
+
* @see SalesforcePaymentMethod.getBrand
|
|
28
|
+
*/
|
|
29
|
+
getBrand(): string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the last 4 digits of the card number, or `null` if not known.
|
|
32
|
+
* @see SalesforcePaymentMethod.getLast4
|
|
33
|
+
*/
|
|
34
|
+
getLast4(): string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the type of wallet used to make the card payment, or `null` if not known.
|
|
37
|
+
*/
|
|
38
|
+
getWalletType(): string | null;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export = SalesforceCardPaymentDetails;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import SalesforcePaymentDetails = require('./SalesforcePaymentDetails');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Details to a Salesforce Payments payment of type SalesforcePaymentMethod.TYPE_EPS. See Salesforce Payments
|
|
7
|
+
* documentation for how to gain access and configure it for use on your sites.
|
|
8
|
+
*/
|
|
9
|
+
declare class SalesforceEpsPaymentDetails extends SalesforcePaymentDetails {
|
|
10
|
+
/**
|
|
11
|
+
* Returns the bank used for the payment, or `null` if not known.
|
|
12
|
+
* @see SalesforcePaymentMethod.getBank
|
|
13
|
+
*/
|
|
14
|
+
readonly bank: string | null;
|
|
15
|
+
private constructor();
|
|
16
|
+
/**
|
|
17
|
+
* Returns the bank used for the payment, or `null` if not known.
|
|
18
|
+
* @see SalesforcePaymentMethod.getBank
|
|
19
|
+
*/
|
|
20
|
+
getBank(): string | null;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export = SalesforceEpsPaymentDetails;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import SalesforcePaymentDetails = require('./SalesforcePaymentDetails');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Details to a Salesforce Payments payment of type SalesforcePaymentMethod.TYPE_IDEAL. See Salesforce Payments
|
|
7
|
+
* documentation for how to gain access and configure it for use on your sites.
|
|
8
|
+
*/
|
|
9
|
+
declare class SalesforceIdealPaymentDetails extends SalesforcePaymentDetails {
|
|
10
|
+
/**
|
|
11
|
+
* Returns the bank used for the payment, or `null` if not known.
|
|
12
|
+
* @see SalesforcePaymentMethod.getBank
|
|
13
|
+
*/
|
|
14
|
+
readonly bank: string | null;
|
|
15
|
+
private constructor();
|
|
16
|
+
/**
|
|
17
|
+
* Returns the bank used for the payment, or `null` if not known.
|
|
18
|
+
* @see SalesforcePaymentMethod.getBank
|
|
19
|
+
*/
|
|
20
|
+
getBank(): string | null;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export = SalesforceIdealPaymentDetails;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import SalesforcePaymentDetails = require('./SalesforcePaymentDetails');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Details to a Salesforce Payments payment of type SalesforcePaymentMethod.TYPE_KLARNA. See Salesforce Payments
|
|
7
|
+
* documentation for how to gain access and configure it for use on your sites.
|
|
8
|
+
*/
|
|
9
|
+
declare class SalesforceKlarnaPaymentDetails extends SalesforcePaymentDetails {
|
|
10
|
+
/**
|
|
11
|
+
* Returns the payment method category used for the payment, or `null` if not known.
|
|
12
|
+
* @see SalesforcePaymentMethod.getPaymentMethodCategory
|
|
13
|
+
*/
|
|
14
|
+
readonly paymentMethodCategory: string | null;
|
|
15
|
+
private constructor();
|
|
16
|
+
/**
|
|
17
|
+
* Returns the payment method category used for the payment, or `null` if not known.
|
|
18
|
+
* @see SalesforcePaymentMethod.getPaymentMethodCategory
|
|
19
|
+
*/
|
|
20
|
+
getPaymentMethodCategory(): string | null;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export = SalesforceKlarnaPaymentDetails;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import Money = require('../../value/Money');
|
|
2
|
+
import SalesforcePayPalOrderPayer = require('./SalesforcePayPalOrderPayer');
|
|
3
|
+
import SalesforcePayPalOrderAddress = require('./SalesforcePayPalOrderAddress');
|
|
4
|
+
import OrderPaymentInstrument = require('../../order/OrderPaymentInstrument');
|
|
5
|
+
import Basket = require('../../order/Basket');
|
|
6
|
+
import Order = require('../../order/Order');
|
|
7
|
+
import SalesforcePaymentDetails = require('./SalesforcePaymentDetails');
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* Salesforce Payments representation of a PayPal order object. See Salesforce Payments documentation for how
|
|
13
|
+
* to gain access and configure it for use on your sites.
|
|
14
|
+
*
|
|
15
|
+
* A PayPal order is automatically created when a shopper is ready to pay for items in their basket. It becomes
|
|
16
|
+
* completed when the shopper provides information to the payment provider that is acceptable to authorize payment for a
|
|
17
|
+
* given amount.
|
|
18
|
+
*/
|
|
19
|
+
declare class SalesforcePayPalOrder {
|
|
20
|
+
/**
|
|
21
|
+
* Represents the `"AUTHORIZE"` intent, meaning manual capture.
|
|
22
|
+
*/
|
|
23
|
+
static readonly INTENT_AUTHORIZE = "AUTHORIZE";
|
|
24
|
+
/**
|
|
25
|
+
* Represents the `"CAPTURE"` intent, meaning automatic capture.
|
|
26
|
+
*/
|
|
27
|
+
static readonly INTENT_CAPTURE = "CAPTURE";
|
|
28
|
+
/**
|
|
29
|
+
* Represents the PayPal funding source.
|
|
30
|
+
*/
|
|
31
|
+
static readonly TYPE_PAYPAL = "paypal";
|
|
32
|
+
/**
|
|
33
|
+
* Represents the Venmo funding source.
|
|
34
|
+
*/
|
|
35
|
+
static readonly TYPE_VENMO = "venmo";
|
|
36
|
+
/**
|
|
37
|
+
* Returns the identifier of this PayPal order.
|
|
38
|
+
*/
|
|
39
|
+
readonly ID: string;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the amount of this PayPal order.
|
|
42
|
+
*/
|
|
43
|
+
readonly amount: Money;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the ID of the authorization against this order, or `null` if not available.
|
|
46
|
+
*/
|
|
47
|
+
readonly authorizationID: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the ID of the capture against this order, or `null` if not available.
|
|
50
|
+
*/
|
|
51
|
+
readonly captureID: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Returns `true` if this PayPal order has been completed, or `false` if not.
|
|
54
|
+
*/
|
|
55
|
+
readonly completed: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the payer information for this PayPal order, or `null` if not known.
|
|
58
|
+
*/
|
|
59
|
+
readonly payer: SalesforcePayPalOrderPayer | null;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the shipping address for this PayPal order, or `null` if not known.
|
|
62
|
+
*/
|
|
63
|
+
readonly shipping: SalesforcePayPalOrderAddress | null;
|
|
64
|
+
private constructor();
|
|
65
|
+
/**
|
|
66
|
+
* Returns the amount of this PayPal order.
|
|
67
|
+
*/
|
|
68
|
+
getAmount(): Money;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the ID of the authorization against this order, or `null` if not available.
|
|
71
|
+
*/
|
|
72
|
+
getAuthorizationID(): string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the ID of the capture against this order, or `null` if not available.
|
|
75
|
+
*/
|
|
76
|
+
getCaptureID(): string | null;
|
|
77
|
+
/**
|
|
78
|
+
* Returns the identifier of this PayPal order.
|
|
79
|
+
*/
|
|
80
|
+
getID(): string;
|
|
81
|
+
/**
|
|
82
|
+
* Returns the payer information for this PayPal order, or `null` if not known.
|
|
83
|
+
*/
|
|
84
|
+
getPayer(): SalesforcePayPalOrderPayer | null;
|
|
85
|
+
/**
|
|
86
|
+
* Returns the details to the Salesforce Payments payment for this PayPal order, using the given payment instrument.
|
|
87
|
+
*/
|
|
88
|
+
getPaymentDetails(paymentInstrument: OrderPaymentInstrument): SalesforcePaymentDetails;
|
|
89
|
+
/**
|
|
90
|
+
* Returns the payment instrument for this PayPal order in the given basket, or `null` if the given
|
|
91
|
+
* basket has none.
|
|
92
|
+
*/
|
|
93
|
+
getPaymentInstrument(basket: Basket): OrderPaymentInstrument | null;
|
|
94
|
+
/**
|
|
95
|
+
* Returns the payment instrument for this PayPal order in the given order, or `null` if the given
|
|
96
|
+
* order has none.
|
|
97
|
+
*/
|
|
98
|
+
getPaymentInstrument(order: Order): OrderPaymentInstrument | null;
|
|
99
|
+
/**
|
|
100
|
+
* Returns the shipping address for this PayPal order, or `null` if not known.
|
|
101
|
+
*/
|
|
102
|
+
getShipping(): SalesforcePayPalOrderAddress | null;
|
|
103
|
+
/**
|
|
104
|
+
* Returns `true` if this PayPal order has been completed, or `false` if not.
|
|
105
|
+
*/
|
|
106
|
+
isCompleted(): boolean;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export = SalesforcePayPalOrder;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* Salesforce Payments representation of a PayPal order address object. See Salesforce Payments documentation
|
|
5
|
+
* for how to gain access and configure it for use on your sites.
|
|
6
|
+
*/
|
|
7
|
+
declare class SalesforcePayPalOrderAddress {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the address line 1.
|
|
10
|
+
*/
|
|
11
|
+
readonly addressLine1: string;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the address line 2.
|
|
14
|
+
*/
|
|
15
|
+
readonly addressLine2: string;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the address highest level sub-division in a country, which is usually a province, state, or ISO-3166-2
|
|
18
|
+
* subdivision.
|
|
19
|
+
*/
|
|
20
|
+
readonly adminArea1: string;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the address city, town, or village.
|
|
23
|
+
*/
|
|
24
|
+
readonly adminArea2: string;
|
|
25
|
+
/**
|
|
26
|
+
* Returns the address two-character ISO 3166-1 code that identifies the country or region.
|
|
27
|
+
*/
|
|
28
|
+
readonly countryCode: string;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the address full name.
|
|
31
|
+
*/
|
|
32
|
+
readonly fullName: string;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the address postal code.
|
|
35
|
+
*/
|
|
36
|
+
readonly postalCode: string;
|
|
37
|
+
private constructor();
|
|
38
|
+
/**
|
|
39
|
+
* Returns the address line 1.
|
|
40
|
+
*/
|
|
41
|
+
getAddressLine1(): string;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the address line 2.
|
|
44
|
+
*/
|
|
45
|
+
getAddressLine2(): string;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the address highest level sub-division in a country, which is usually a province, state, or ISO-3166-2
|
|
48
|
+
* subdivision.
|
|
49
|
+
*/
|
|
50
|
+
getAdminArea1(): string;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the address city, town, or village.
|
|
53
|
+
*/
|
|
54
|
+
getAdminArea2(): string;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the address two-character ISO 3166-1 code that identifies the country or region.
|
|
57
|
+
*/
|
|
58
|
+
getCountryCode(): string;
|
|
59
|
+
/**
|
|
60
|
+
* Returns the address full name.
|
|
61
|
+
*/
|
|
62
|
+
getFullName(): string;
|
|
63
|
+
/**
|
|
64
|
+
* Returns the address postal code.
|
|
65
|
+
*/
|
|
66
|
+
getPostalCode(): string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export = SalesforcePayPalOrderAddress;
|