Skip to main content

hooks/useSCFetchPaymentProduct

Functions

useSCFetchPaymentProduct()

useSCFetchPaymentProduct(object): object

info

This custom hook is used to fetch a payment product.

Parameters

ParameterTypeDescription
object{ cacheStrategy: CacheStrategies; id: string | number; paymentProduct: SCPaymentProduct; }*
object.cacheStrategy?CacheStrategies
object.id?string | number*
object.paymentProduct?SCPaymentProduct*

Returns

object

NameType
errorstring
scPaymentProductSCPaymentProduct
setSCPaymentProduct()(c) => void