Interface: PurchaseAuthorizationRequestsProps
Defined in: components/PurchaseAuthorizationRequests.tsx:18
Properties
afterAcceptRequest?
optionalafterAcceptRequest?: (cart) =>void
Defined in: components/PurchaseAuthorizationRequests.tsx:38
Fires after a purchase authorization request has been accepted. Receives the full accepted Cart object (or the selectedCart if onAcceptRequest override was used).
Parameters
cart
Cart
Returns
void
afterDeleteRequest?
optionalafterDeleteRequest?: (cartId) =>void
Defined in: components/PurchaseAuthorizationRequests.tsx:50
Fires after a purchase authorization request has been deleted (cart removed). Receives the deleted cart's id.
Parameters
cartId
string
Returns
void
className?
optionalclassName?:string
Defined in: components/PurchaseAuthorizationRequests.tsx:68
Additional CSS class for the root element
companyId?
optionalcompanyId?:number
Defined in: components/PurchaseAuthorizationRequests.tsx:26
The companyId of the current selected company. Resolved from PropellerProvider when omitted.
configuration?
optionalconfiguration?:Record<string,any>
Defined in: components/PurchaseAuthorizationRequests.tsx:74
App configuration passthrough. Used for imageSearchFiltersGrid, imageVariantFiltersSmall when fetching cart detail.
currency?
optionalcurrency?:string
Defined in: components/PurchaseAuthorizationRequests.tsx:59
Currency symbol for prices. Resolved from PropellerProvider when omitted; defaults to '€'.
formatDate?
optionalformatDate?: (dateString) =>string
Defined in: components/PurchaseAuthorizationRequests.tsx:53
Format date
Parameters
dateString
string
Returns
string
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/PurchaseAuthorizationRequests.tsx:56
Format price
Parameters
price
number
Returns
string
graphqlClient?
optionalgraphqlClient?:GraphQLClient
Defined in: components/PurchaseAuthorizationRequests.tsx:20
GraphQL client for the Propeller SDK. Resolved from PropellerProvider when omitted.
labels?
optionallabels?:Record<string,string>
Defined in: components/PurchaseAuthorizationRequests.tsx:62
Labels for the component
language?
optionallanguage?:string
Defined in: components/PurchaseAuthorizationRequests.tsx:65
Language used to resolve localized product names in the items table. Defaults to 'NL'.
onAcceptRequest?
optionalonAcceptRequest?: (cartId) =>void
Defined in: components/PurchaseAuthorizationRequests.tsx:32
Override: fires instead of the default CartService.acceptPurchaseAuthorizationRequest() call. Receives the cartId string.
Parameters
cartId
string
Returns
void
onDeleteRequest?
optionalonDeleteRequest?: (cartId) =>void
Defined in: components/PurchaseAuthorizationRequests.tsx:44
Override: fires instead of the default CartService.deleteCart() call. Receives the cartId string.
Parameters
cartId
string
Returns
void
onError?
optionalonError?: (err) =>void
Defined in: components/PurchaseAuthorizationRequests.tsx:77
Called when an SDK operation fails; receives the normalized error
Parameters
err
Error
Returns
void
user?
optionaluser?:Contact|Customer
Defined in: components/PurchaseAuthorizationRequests.tsx:23
The logged-in user. Resolved from PropellerProvider when omitted.