Package com.plaid.client.model
Class PaymentInitiationPaymentTokenCreateResponse
java.lang.Object
com.plaid.client.model.PaymentInitiationPaymentTokenCreateResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class PaymentInitiationPaymentTokenCreateResponse
extends java.lang.Object
PaymentInitiationPaymentTokenCreateResponse defines the response schema for `/payment_initiation/payment/token/create`
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_PAYMENT_TOKEN
static java.lang.String
SERIALIZED_NAME_PAYMENT_TOKEN_EXPIRATION_TIME
static java.lang.String
SERIALIZED_NAME_REQUEST_ID
-
Constructor Summary
Constructors Constructor Description PaymentInitiationPaymentTokenCreateResponse()
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getPaymentToken()
A `payment_token` that can be provided to Link initialization to enter the payment initiation flowjava.time.OffsetDateTime
getPaymentTokenExpirationTime()
The date and time at which the token will expire, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.java.lang.String
getRequestId()
A unique identifier for the request, which can be used for troubleshooting.int
hashCode()
PaymentInitiationPaymentTokenCreateResponse
paymentToken(java.lang.String paymentToken)
PaymentInitiationPaymentTokenCreateResponse
paymentTokenExpirationTime(java.time.OffsetDateTime paymentTokenExpirationTime)
PaymentInitiationPaymentTokenCreateResponse
requestId(java.lang.String requestId)
void
setPaymentToken(java.lang.String paymentToken)
void
setPaymentTokenExpirationTime(java.time.OffsetDateTime paymentTokenExpirationTime)
void
setRequestId(java.lang.String requestId)
java.lang.String
toString()
-
Field Details
-
SERIALIZED_NAME_PAYMENT_TOKEN
public static final java.lang.String SERIALIZED_NAME_PAYMENT_TOKEN- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYMENT_TOKEN_EXPIRATION_TIME
public static final java.lang.String SERIALIZED_NAME_PAYMENT_TOKEN_EXPIRATION_TIME- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REQUEST_ID
public static final java.lang.String SERIALIZED_NAME_REQUEST_ID- See Also:
- Constant Field Values
-
-
Constructor Details
-
PaymentInitiationPaymentTokenCreateResponse
public PaymentInitiationPaymentTokenCreateResponse()
-
-
Method Details
-
paymentToken
-
getPaymentToken
public java.lang.String getPaymentToken()A `payment_token` that can be provided to Link initialization to enter the payment initiation flow- Returns:
- paymentToken
-
setPaymentToken
public void setPaymentToken(java.lang.String paymentToken) -
paymentTokenExpirationTime
public PaymentInitiationPaymentTokenCreateResponse paymentTokenExpirationTime(java.time.OffsetDateTime paymentTokenExpirationTime) -
getPaymentTokenExpirationTime
public java.time.OffsetDateTime getPaymentTokenExpirationTime()The date and time at which the token will expire, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format. A `payment_token` expires after 15 minutes.- Returns:
- paymentTokenExpirationTime
-
setPaymentTokenExpirationTime
public void setPaymentTokenExpirationTime(java.time.OffsetDateTime paymentTokenExpirationTime) -
requestId
-
getRequestId
public java.lang.String getRequestId()A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.- Returns:
- requestId
-
setRequestId
public void setRequestId(java.lang.String requestId) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-