Appearance
@swapped/connect-sdk / react / UseCashAppOrderResult
Type Alias: UseCashAppOrderResult
UseCashAppOrderResult =
object
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:15
Result of useCashAppOrder.
Properties
createOrder
createOrder: {():
Promise<CashAppOrder>; (request):Promise<CashAppOrder>; }
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:26
Create an order from CashAppProvider selection, or from an explicit CreateCashAppOrderRequest.
Call Signature
():
Promise<CashAppOrder>
Returns
Promise<CashAppOrder>
Call Signature
(
request):Promise<CashAppOrder>
Parameters
request
Returns
Promise<CashAppOrder>
error
error:
Error|null
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:31
expiredOrder
expiredOrder:
CashAppOrder|null
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:17
isCompleted
isCompleted:
boolean
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:19
isCreating
isCreating:
boolean
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:30
isExpired
isExpired:
boolean
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:21
isFailed
isFailed:
boolean
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:20
order
order:
CashAppOrder|null
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:16
status
status:
CashAppDepositStatus|null
Defined in: src/react/cash-app/hooks/useCashAppOrder/useCashAppOrder.ts:18