Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newApplePayError :: (MonadDOM m, ToJSString message) => ApplePayErrorCode -> Maybe ApplePayErrorContactField -> Maybe message -> m ApplePayError
- setCode :: MonadDOM m => ApplePayError -> ApplePayErrorCode -> m ()
- getCode :: MonadDOM m => ApplePayError -> m ApplePayErrorCode
- setContactField :: MonadDOM m => ApplePayError -> Maybe ApplePayErrorContactField -> m ()
- getContactField :: MonadDOM m => ApplePayError -> m (Maybe ApplePayErrorContactField)
- getContactFieldUnsafe :: (MonadDOM m, HasCallStack) => ApplePayError -> m ApplePayErrorContactField
- getContactFieldUnchecked :: MonadDOM m => ApplePayError -> m ApplePayErrorContactField
- setMessage :: (MonadDOM m, ToJSString val) => ApplePayError -> val -> m ()
- getMessage :: (MonadDOM m, FromJSString result) => ApplePayError -> m result
- newtype ApplePayError = ApplePayError {}
- gTypeApplePayError :: JSM GType
Documentation
newApplePayError :: (MonadDOM m, ToJSString message) => ApplePayErrorCode -> Maybe ApplePayErrorContactField -> Maybe message -> m ApplePayError Source #
setCode :: MonadDOM m => ApplePayError -> ApplePayErrorCode -> m () Source #
getCode :: MonadDOM m => ApplePayError -> m ApplePayErrorCode Source #
setContactField :: MonadDOM m => ApplePayError -> Maybe ApplePayErrorContactField -> m () Source #
getContactField :: MonadDOM m => ApplePayError -> m (Maybe ApplePayErrorContactField) Source #
getContactFieldUnsafe :: (MonadDOM m, HasCallStack) => ApplePayError -> m ApplePayErrorContactField Source #
setMessage :: (MonadDOM m, ToJSString val) => ApplePayError -> val -> m () Source #
getMessage :: (MonadDOM m, FromJSString result) => ApplePayError -> m result Source #
newtype ApplePayError Source #
Functions for this inteface are in JSDOM.ApplePayError.
Instances
PToJSVal ApplePayError Source # | |
Defined in JSDOM.Types pToJSVal :: ApplePayError -> JSVal # | |
PFromJSVal ApplePayError Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> ApplePayError # | |
ToJSVal ApplePayError Source # | |
Defined in JSDOM.Types toJSVal :: ApplePayError -> JSM JSVal # toJSValListOf :: [ApplePayError] -> JSM JSVal # | |
FromJSVal ApplePayError Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe ApplePayError) # fromJSValUnchecked :: JSVal -> JSM ApplePayError # fromJSValListOf :: JSVal -> JSM (Maybe [ApplePayError]) # fromJSValUncheckedListOf :: JSVal -> JSM [ApplePayError] # | |
MakeObject ApplePayError Source # | |
Defined in JSDOM.Types makeObject :: ApplePayError -> JSM Object # | |
IsGObject ApplePayError Source # | |
Defined in JSDOM.Types typeGType :: ApplePayError -> JSM GType |