Package com.vonage.client.verify
Class Psd2Request
java.lang.Object
com.vonage.client.verify.BaseRequest
com.vonage.client.verify.Psd2Request
public class Psd2Request extends BaseRequest
Describes a PSD2 verify request when passed to
Psd2Endpoint- Since:
- 5.5.0
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPsd2Request.Builderstatic classPsd2Request.WorkflowEnumeration representing different verification workflows. -
Method Summary
Modifier and Type Method Description static Psd2Request.Builderbuilder(java.lang.String number, java.lang.Double amount, java.lang.String payee)java.lang.DoublegetAmount()java.lang.StringgetPayee()Psd2Request.WorkflowgetWorkflow()java.lang.StringtoString()Methods inherited from class com.vonage.client.verify.BaseRequest
getCountry, getDashedLocale, getLength, getLocale, getNextEventWait, getNumber, getPinExpiry, setCountry, setLength, setLocale, setNextEventWait, setPinExpiry
-
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
public static Psd2Request.Builder builder(java.lang.String number, java.lang.Double amount, java.lang.String payee)- Returns:
- A new Builder to start building.
-
toString
- Overrides:
toStringin classBaseRequest
-