Class: Challenge

base.Challenge()

new Challenge()

Source:

Methods

(static) Challenge#getMessage() → {String}

Get the field value A default message that indicates what the challenge is in a user friendly format.
Source:
Returns:
Type
String

(static) Challenge#getReason() → {order.VoidReason}

Get the field value If the challenge is not accepted, then this reason can be used when responding. The response could be an explicit void of the payment, or some other message, that may or may not use this reason.
Source:
Returns:
Type
order.VoidReason

(static) Challenge#getType() → {base.ChallengeType}

Get the field value The type of the challenge.
Source:
Returns:
Type
base.ChallengeType

(static) Challenge#setMessage(message)

Set the field value A default message that indicates what the challenge is in a user friendly format.
Parameters:
Name Type Description
message String
Source:

(static) Challenge#setReason(reason)

Set the field value If the challenge is not accepted, then this reason can be used when responding. The response could be an explicit void of the payment, or some other message, that may or may not use this reason.
Parameters:
Name Type Description
reason order.VoidReason
Source:

(static) Challenge#setType(type)

Set the field value The type of the challenge.
Parameters:
Name Type Description
type base.ChallengeType
Source: