1
getAssetsManager(): IAssetsManager
ts
copy
Get an instance of IAssetsManager
, which can be used to load and manage Primer's checkout assets.
Returns
IAssetsManager
An instance of `IAssetsManager`.IAssetsManager
getPaymentMethodAssetPromise<ButtonPaymentMethodAsset | null>
Retrieves the asset for a given PaymentMethodType. Returns a promise that
resolves to the asset or null
if the asset is not available.