Liking cljdoc? Tell your friends :D

clj-comgate.core


coerce-error-responseclj

source

coerce-payment-result-responseclj

source

coerce-payment-success-responseclj

source

coerce-responseclj

(coerce-response success-c error-c response-m)
source

coerce-status-success-responseclj

source

create-paymentclj

(create-payment opts)
(create-payment opts host)

Creates a new payment within opts.

It returns a tuple like [keyword response http-response] A keyword can be:

  • :ok when a response is a success and parsed
  • :error when a response is parsed but it's an error response
  • :error-unmarshalling when a response is not a well formatted
Creates a new payment within `opts`.

It returns a tuple like `[keyword response http-response]`
 A `keyword` can be:
 - :ok when a response is a success and parsed
 - :error when a response is parsed but it's an error response
 - :error-unmarshalling when a response is not a well formatted
sourceraw docstring

default-hostclj

source

ErrorResponseclj

source

get-statusclj

(get-status opts)
(get-status opts host)

Returns a status of requested payment by opts.

It returns a tuple like [keyword response http-response] A keyword can be:

  • :ok when a response is a success and parsed
  • :error when a response is parsed but it's an error response
  • :error-unmarshalling when a response is not a well formatted
Returns a status of requested payment by `opts`.

It returns a tuple like `[keyword response http-response]`
 A `keyword` can be:
 - :ok when a response is a success and parsed
 - :error when a response is parsed but it's an error response
 - :error-unmarshalling when a response is not a well formatted
sourceraw docstring

payment-result-response->mapclj

source

payment-result-success-responseclj

source

payment-success-response->mapclj

source

PaymentResultResponseclj

source

PaymentSuccessResponseclj

source

query->mapclj

(query->map coerce-success-response coerce-error-response qstr)
source

status-success-response->mapclj

source

StatusSuccessResponseclj

source

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

× close