Package com.vonage.client.verify
Class Psd2Request
java.lang.Object
com.vonage.client.verify.BaseRequest
com.vonage.client.verify.Psd2Request
- All Implemented Interfaces:
QueryParamsRequest
Describes a PSD2 verify request.
- Since:
- 5.5.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumEnumeration representing different verification workflows. -
Method Summary
Modifier and TypeMethodDescriptionstatic Psd2Request.Builderbuilder()Entry point for constructing an instance of this class.static Psd2Request.BuilderEntry point for constructing an instance of this class, with the required parameters.getPayee()Internal method for serializing the fields of this class into query parameters.toString()Methods inherited from class com.vonage.client.verify.BaseRequest
getCountry, getDashedLocale, getLength, getLocale, getNextEventWait, getNumber, getPinExpiry
-
Method Details
-
getAmount
- Returns:
- The decimal amount of the payment to be confirmed, in Euros.
-
getPayee
- Returns:
- An alphanumeric string to indicate to the user the name of the recipient that they are confirming a payment to.
-
getWorkflow
- Returns:
- The predefined sequence of SMS and TTS (Text To Speech) actions to use in order to convey the PIN to your user.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder.
- Since:
- 7.9.0
-
builder
Entry point for constructing an instance of this class, with the required parameters.- Parameters:
number- The recipient's phone number in E.164 format.amount- The decimal amount of the payment to be confirmed, in Euros.payee- An alphanumeric string to indicate to the user the name of the recipient that they are confirming a payment to.- Returns:
- A new Builder to start building.
-
toString
- Overrides:
toStringin classBaseRequest
-
makeParams
Description copied from interface:QueryParamsRequestInternal method for serializing the fields of this class into query parameters. The Map should be mutable so that subclasses can add fields, otherwise the method or implementing class should be marked asfinal. Duplicate entries can be handled by mapping the key to a list of the entries.- Specified by:
makeParamsin interfaceQueryParamsRequest- Overrides:
makeParamsin classBaseRequest- Returns:
- The query parameters as unique key-value pairs.
-