Liking cljdoc? Tell your friends :D

works-hub.pachyderm.subscriptions


cancelclj

(cancel subscription)
(cancel subscription attrs)
(cancel subscription attrs ro-opts)

createclj

(create customer plans)
(create customer plans attrs)
(create customer plans attrs ro-opts)

Creates a subscription.

Creates a subscription.
- customer: A customer map returned from an API fn in the customer ns.
- plans:    A collection of `{:plan "<plan-id>}" :quantity <quantity> }`
- attrs:    Attributes (https://stripe.com/docs/api?lang=java#create_subscription)
- ro-opts:  RequestOption options (https://github.com/Works-Hub/pachyderm/blob/master/src/works_hub/pachyderm/util.clj#L8)
raw docstring

listclj

(list)
(list attrs)
(list attrs ro-opts)

retrieveclj

(retrieve id)
(retrieve id attrs)
(retrieve id attrs ro-opts)

updateclj

(update subscription attrs)
(update subscription attrs ro-opts)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close