Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
data StripeState Source
StripeState | |
|
addStripeSplices :: HasHeist b => Snaplet (Heist b) -> SnapletLens b StripeState -> Initializer b v () Source
addCustomer :: (Functor m, HasStripe m, MonadIO m) => Email -> m (Either StripeFailure Customer) Source
addCustomerWithCard :: (Functor m, HasStripe m, MonadIO m) => Email -> TokenId -> m (Either StripeFailure Customer) Source
addCardByCustId :: (Functor m, HasStripe m, MonadIO m) => CustomerId -> TokenId -> m (Either StripeFailure Customer) Source
chargeCustomer :: (Functor m, HasStripe m, MonadIO m) => CustomerId -> Amount -> Currency -> Maybe Description -> m (Either StripeFailure Charge) Source
chargeConnectCustomer :: (Functor m, HasStripe m, MonadIO m) => CustomerId -> Amount -> Currency -> Maybe Description -> AccessToken -> Maybe Amount -> m (Either StripeFailure Charge) Source
fromAmount :: Amount -> Float Source
connectCharge :: (Functor m, HasStripe m, MonadIO m) => AccessToken -> ChargeId -> m (Either StripeFailure Charge) Source
customer :: (Functor m, HasStripe m, MonadIO m) => CustomerId -> m (Either StripeFailure Customer) Source