Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newApplePaySession :: MonadDOM m => Word -> ApplePayPaymentRequest -> m ApplePaySession
- supportsVersion :: MonadDOM m => Word -> m Bool
- supportsVersion_ :: MonadDOM m => Word -> m ()
- canMakePayments :: MonadDOM m => m Bool
- canMakePayments_ :: MonadDOM m => m ()
- canMakePaymentsWithActiveCard :: (MonadDOM m, ToJSString merchantIdentifier) => merchantIdentifier -> m Bool
- canMakePaymentsWithActiveCard_ :: (MonadDOM m, ToJSString merchantIdentifier) => merchantIdentifier -> m ()
- openPaymentSetup :: (MonadDOM m, ToJSString merchantIdentifier) => merchantIdentifier -> m Bool
- openPaymentSetup_ :: (MonadDOM m, ToJSString merchantIdentifier) => merchantIdentifier -> m ()
- begin :: MonadDOM m => ApplePaySession -> m ()
- abort :: MonadDOM m => ApplePaySession -> m ()
- completeMerchantValidation :: (MonadDOM m, ToJSVal merchantSession) => ApplePaySession -> merchantSession -> m ()
- completeShippingMethodSelectionUpdate :: MonadDOM m => ApplePaySession -> ApplePayShippingMethodUpdate -> m ()
- completeShippingContactSelectionUpdate :: MonadDOM m => ApplePaySession -> ApplePayShippingContactUpdate -> m ()
- completePaymentMethodSelectionUpdate :: MonadDOM m => ApplePaySession -> ApplePayPaymentMethodUpdate -> m ()
- completePaymentResult :: MonadDOM m => ApplePaySession -> ApplePayPaymentAuthorizationResult -> m ()
- completeShippingMethodSelection :: MonadDOM m => ApplePaySession -> Word -> ApplePayLineItem -> [ApplePayLineItem] -> m ()
- completeShippingContactSelection :: MonadDOM m => ApplePaySession -> Word -> [ApplePayShippingMethod] -> ApplePayLineItem -> [ApplePayLineItem] -> m ()
- completePaymentMethodSelection :: MonadDOM m => ApplePaySession -> ApplePayLineItem -> [ApplePayLineItem] -> m ()
- completePayment :: MonadDOM m => ApplePaySession -> Word -> m ()
- pattern STATUS_SUCCESS :: forall a. (Eq a, Num a) => a
- pattern STATUS_FAILURE :: forall a. (Eq a, Num a) => a
- pattern STATUS_INVALID_BILLING_POSTAL_ADDRESS :: forall a. (Eq a, Num a) => a
- pattern STATUS_INVALID_SHIPPING_POSTAL_ADDRESS :: forall a. (Eq a, Num a) => a
- pattern STATUS_INVALID_SHIPPING_CONTACT :: forall a. (Eq a, Num a) => a
- pattern STATUS_PIN_REQUIRED :: forall a. (Eq a, Num a) => a
- pattern STATUS_PIN_INCORRECT :: forall a. (Eq a, Num a) => a
- pattern STATUS_PIN_LOCKOUT :: forall a. (Eq a, Num a) => a
- validatemerchant :: EventName ApplePaySession onvalidatemerchant
- paymentmethodselected :: EventName ApplePaySession onpaymentmethodselected
- paymentauthorized :: EventName ApplePaySession onpaymentauthorized
- shippingmethodselected :: EventName ApplePaySession onshippingmethodselected
- shippingcontactselected :: EventName ApplePaySession onshippingcontactselected
- cancel :: EventName ApplePaySession oncancel
- newtype ApplePaySession = ApplePaySession {}
- gTypeApplePaySession :: JSM GType
Documentation
newApplePaySession :: MonadDOM m => Word -> ApplePayPaymentRequest -> m ApplePaySession Source #
supportsVersion_ :: MonadDOM m => Word -> m () Source #
canMakePayments :: MonadDOM m => m Bool Source #
canMakePayments_ :: MonadDOM m => m () Source #
canMakePaymentsWithActiveCard :: (MonadDOM m, ToJSString merchantIdentifier) => merchantIdentifier -> m Bool Source #
canMakePaymentsWithActiveCard_ :: (MonadDOM m, ToJSString merchantIdentifier) => merchantIdentifier -> m () Source #
openPaymentSetup :: (MonadDOM m, ToJSString merchantIdentifier) => merchantIdentifier -> m Bool Source #
openPaymentSetup_ :: (MonadDOM m, ToJSString merchantIdentifier) => merchantIdentifier -> m () Source #
begin :: MonadDOM m => ApplePaySession -> m () Source #
abort :: MonadDOM m => ApplePaySession -> m () Source #
completeMerchantValidation :: (MonadDOM m, ToJSVal merchantSession) => ApplePaySession -> merchantSession -> m () Source #
completeShippingMethodSelectionUpdate :: MonadDOM m => ApplePaySession -> ApplePayShippingMethodUpdate -> m () Source #
completeShippingContactSelectionUpdate :: MonadDOM m => ApplePaySession -> ApplePayShippingContactUpdate -> m () Source #
completePaymentMethodSelectionUpdate :: MonadDOM m => ApplePaySession -> ApplePayPaymentMethodUpdate -> m () Source #
completePaymentResult :: MonadDOM m => ApplePaySession -> ApplePayPaymentAuthorizationResult -> m () Source #
completeShippingMethodSelection :: MonadDOM m => ApplePaySession -> Word -> ApplePayLineItem -> [ApplePayLineItem] -> m () Source #
completeShippingContactSelection :: MonadDOM m => ApplePaySession -> Word -> [ApplePayShippingMethod] -> ApplePayLineItem -> [ApplePayLineItem] -> m () Source #
completePaymentMethodSelection :: MonadDOM m => ApplePaySession -> ApplePayLineItem -> [ApplePayLineItem] -> m () Source #
completePayment :: MonadDOM m => ApplePaySession -> Word -> m () Source #
pattern STATUS_SUCCESS :: forall a. (Eq a, Num a) => a Source #
pattern STATUS_FAILURE :: forall a. (Eq a, Num a) => a Source #
pattern STATUS_INVALID_BILLING_POSTAL_ADDRESS :: forall a. (Eq a, Num a) => a Source #
pattern STATUS_INVALID_SHIPPING_POSTAL_ADDRESS :: forall a. (Eq a, Num a) => a Source #
pattern STATUS_INVALID_SHIPPING_CONTACT :: forall a. (Eq a, Num a) => a Source #
pattern STATUS_PIN_REQUIRED :: forall a. (Eq a, Num a) => a Source #
pattern STATUS_PIN_INCORRECT :: forall a. (Eq a, Num a) => a Source #
pattern STATUS_PIN_LOCKOUT :: forall a. (Eq a, Num a) => a Source #
validatemerchant :: EventName ApplePaySession onvalidatemerchant Source #
paymentmethodselected :: EventName ApplePaySession onpaymentmethodselected Source #
paymentauthorized :: EventName ApplePaySession onpaymentauthorized Source #
shippingmethodselected :: EventName ApplePaySession onshippingmethodselected Source #
shippingcontactselected :: EventName ApplePaySession onshippingcontactselected Source #
newtype ApplePaySession Source #
Functions for this inteface are in JSDOM.ApplePaySession. Base interface functions are in:
Instances
PToJSVal ApplePaySession Source # | |
Defined in JSDOM.Types pToJSVal :: ApplePaySession -> JSVal # | |
PFromJSVal ApplePaySession Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> ApplePaySession # | |
ToJSVal ApplePaySession Source # | |
Defined in JSDOM.Types toJSVal :: ApplePaySession -> JSM JSVal # toJSValListOf :: [ApplePaySession] -> JSM JSVal # | |
FromJSVal ApplePaySession Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe ApplePaySession) # fromJSValUnchecked :: JSVal -> JSM ApplePaySession # fromJSValListOf :: JSVal -> JSM (Maybe [ApplePaySession]) # fromJSValUncheckedListOf :: JSVal -> JSM [ApplePaySession] # | |
MakeObject ApplePaySession Source # | |
Defined in JSDOM.Types makeObject :: ApplePaySession -> JSM Object # | |
IsEventTarget ApplePaySession Source # | |
Defined in JSDOM.Types | |
IsGObject ApplePaySession Source # | |
Defined in JSDOM.Types typeGType :: ApplePaySession -> JSM GType |