Liking cljdoc? Tell your friends :D

web.payments.PaymentValidationErrors

The PaymentValidationErrors dictionary represents objects providing about any and all errors that occurred while processing a payment When validation of the web.payments.PaymentResponse returned the PaymentRequest.show() or PaymentResponse.retry() methods your code creates a PaymentValidationErrors object to pass into so that the user agent knows what needs to be fixed and what any error messages to display to the user.

The PaymentValidationErrors dictionary represents objects providing
about any and all errors that occurred while processing a payment
When validation of the `web.payments.PaymentResponse` returned
the `PaymentRequest.show()` or `PaymentResponse.retry()` methods
your code creates a PaymentValidationErrors object to pass into
so that the user agent knows what needs to be fixed and what
any error messages to display to the user.
raw docstring

errorcljs

(error this)

Property.

A general description of a payment error from which the user attempt to recover by retrying the payment, possibly after correcting in the payment information. error can be provided all by itself provide only a generic error message, or in concert with the properties to serve as an overview while other properties' values the user to errors in specific fields in the payment form.

Property.

A general description of a payment error from which the user
attempt to recover by retrying the payment, possibly after correcting
in the payment information. error can be provided all by itself
provide only a generic error message, or in concert with the
properties to serve as an overview while other properties' values
the user to errors in specific fields in the payment form.
sourceraw docstring

payercljs

(payer this)

Property.

A PayerErrors compliant object which provides appropriate error for any of the fields describing the payer which failed validation.

Property.

A PayerErrors compliant object which provides appropriate error
for any of the fields describing the payer which failed validation.
sourceraw docstring

payment-methodcljs

(payment-method this)

Property.

Any payment method specific errors which may have occurred. This contents will vary depending on the payment used. For example, the user chose to pay by credit card using the basic-card payment this is a BasicCardErrors object.

Property.

Any payment method specific errors which may have occurred. This
contents will vary depending on the payment used. For example,
the user chose to pay by credit card using the basic-card payment
this is a BasicCardErrors object.
sourceraw docstring

set-error!cljs

(set-error! this val)

Property.

A general description of a payment error from which the user attempt to recover by retrying the payment, possibly after correcting in the payment information. error can be provided all by itself provide only a generic error message, or in concert with the properties to serve as an overview while other properties' values the user to errors in specific fields in the payment form.

Property.

A general description of a payment error from which the user
attempt to recover by retrying the payment, possibly after correcting
in the payment information. error can be provided all by itself
provide only a generic error message, or in concert with the
properties to serve as an overview while other properties' values
the user to errors in specific fields in the payment form.
sourceraw docstring

set-payer!cljs

(set-payer! this val)

Property.

A PayerErrors compliant object which provides appropriate error for any of the fields describing the payer which failed validation.

Property.

A PayerErrors compliant object which provides appropriate error
for any of the fields describing the payer which failed validation.
sourceraw docstring

set-payment-method!cljs

(set-payment-method! this val)

Property.

Any payment method specific errors which may have occurred. This contents will vary depending on the payment used. For example, the user chose to pay by credit card using the basic-card payment this is a BasicCardErrors object.

Property.

Any payment method specific errors which may have occurred. This
contents will vary depending on the payment used. For example,
the user chose to pay by credit card using the basic-card payment
this is a BasicCardErrors object.
sourceraw docstring

set-shipping-address!cljs

(set-shipping-address! this val)

Property.

An AddressErrors object which contains error messages for any the fields in the shipping address that failed validation.

Property.

An AddressErrors object which contains error messages for any
the fields in the shipping address that failed validation.
sourceraw docstring

shipping-addresscljs

(shipping-address this)

Property.

An AddressErrors object which contains error messages for any the fields in the shipping address that failed validation.

Property.

An AddressErrors object which contains error messages for any
the fields in the shipping address that failed validation.
sourceraw docstring

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

× close