web / usePayUponInvoice
Function: usePayUponInvoice() ​
usePayUponInvoice():
object
Defined in: apps/web/composables/usePayUponInvoice/usePayUponInvoice.ts:4
Returns ​
object
birthDate ​
birthDate:
Ref
<string
,string
>
currency ​
currency:
ComputedRef
<string
>
defaultCountry ​
defaultCountry:
ComputedRef
<string
>
fraudNet ​
fraudNet:
Ref
handlePhoneNumberValidation() ​
handlePhoneNumberValidation: (
validation
) =>void
Parameters ​
validation ​
PhoneValidationResult
Returns ​
void
isDateValid() ​
isDateValid: () =>
boolean
Returns ​
boolean
loading ​
loading:
Ref
<boolean
,boolean
>
phoneCountryCode ​
phoneCountryCode:
Ref
<string
,string
>
phoneError ​
phoneError:
Ref
<string
,string
>
phoneNumber ​
phoneNumber:
Ref
<string
,string
>
phoneWithPrefix ​
phoneWithPrefix:
Ref
<string
,string
>
resetState() ​
resetState: () =>
PayUponInvoiceState
Returns ​
submitFirstTime ​
submitFirstTime:
Ref
<boolean
,boolean
>
validBirthDate ​
validBirthDate:
Ref
<boolean
,boolean
>
validPhone ​
validPhone:
Ref
<boolean
,boolean
>