Package com.plaid.client.model
Class PaymentInitiationPaymentCreateRequest
java.lang.Object
com.plaid.client.model.PaymentInitiationPaymentCreateRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class PaymentInitiationPaymentCreateRequest
extends java.lang.Object
PaymentInitiationPaymentCreateRequest defines the request schema for `/payment_initiation/payment/create`
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_AMOUNT
static java.lang.String
SERIALIZED_NAME_CLIENT_ID
static java.lang.String
SERIALIZED_NAME_OPTIONS
static java.lang.String
SERIALIZED_NAME_RECIPIENT_ID
static java.lang.String
SERIALIZED_NAME_REFERENCE
static java.lang.String
SERIALIZED_NAME_SCHEDULE
static java.lang.String
SERIALIZED_NAME_SECRET
-
Constructor Summary
Constructors Constructor Description PaymentInitiationPaymentCreateRequest()
-
Method Summary
Modifier and Type Method Description PaymentInitiationPaymentCreateRequest
amount(PaymentAmount amount)
PaymentInitiationPaymentCreateRequest
clientId(java.lang.String clientId)
boolean
equals(java.lang.Object o)
PaymentAmount
getAmount()
Get amountjava.lang.String
getClientId()
Your Plaid API `client_id`.ExternalPaymentOptions
getOptions()
Get optionsjava.lang.String
getRecipientId()
The ID of the recipient the payment is for.java.lang.String
getReference()
A reference for the payment.ExternalPaymentScheduleRequest
getSchedule()
Get schedulejava.lang.String
getSecret()
Your Plaid API `secret`.int
hashCode()
PaymentInitiationPaymentCreateRequest
options(ExternalPaymentOptions options)
PaymentInitiationPaymentCreateRequest
recipientId(java.lang.String recipientId)
PaymentInitiationPaymentCreateRequest
reference(java.lang.String reference)
PaymentInitiationPaymentCreateRequest
schedule(ExternalPaymentScheduleRequest schedule)
PaymentInitiationPaymentCreateRequest
secret(java.lang.String secret)
void
setAmount(PaymentAmount amount)
void
setClientId(java.lang.String clientId)
void
setOptions(ExternalPaymentOptions options)
void
setRecipientId(java.lang.String recipientId)
void
setReference(java.lang.String reference)
void
setSchedule(ExternalPaymentScheduleRequest schedule)
void
setSecret(java.lang.String secret)
java.lang.String
toString()
-
Field Details
-
SERIALIZED_NAME_CLIENT_ID
public static final java.lang.String SERIALIZED_NAME_CLIENT_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECRET
public static final java.lang.String SERIALIZED_NAME_SECRET- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECIPIENT_ID
public static final java.lang.String SERIALIZED_NAME_RECIPIENT_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE
public static final java.lang.String SERIALIZED_NAME_REFERENCE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AMOUNT
public static final java.lang.String SERIALIZED_NAME_AMOUNT- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCHEDULE
public static final java.lang.String SERIALIZED_NAME_SCHEDULE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OPTIONS
public static final java.lang.String SERIALIZED_NAME_OPTIONS- See Also:
- Constant Field Values
-
-
Constructor Details
-
PaymentInitiationPaymentCreateRequest
public PaymentInitiationPaymentCreateRequest()
-
-
Method Details
-
clientId
-
getClientId
@Nullable public java.lang.String getClientId()Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.- Returns:
- clientId
-
setClientId
public void setClientId(java.lang.String clientId) -
secret
-
getSecret
@Nullable public java.lang.String getSecret()Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.- Returns:
- secret
-
setSecret
public void setSecret(java.lang.String secret) -
recipientId
-
getRecipientId
public java.lang.String getRecipientId()The ID of the recipient the payment is for.- Returns:
- recipientId
-
setRecipientId
public void setRecipientId(java.lang.String recipientId) -
reference
-
getReference
public java.lang.String getReference()A reference for the payment. This must be an alphanumeric string with at most 18 characters and must not contain any special characters (since not all institutions support them).- Returns:
- reference
-
setReference
public void setReference(java.lang.String reference) -
amount
-
getAmount
Get amount- Returns:
- amount
-
setAmount
-
schedule
-
getSchedule
Get schedule- Returns:
- schedule
-
setSchedule
-
options
-
getOptions
Get options- Returns:
- options
-
setOptions
-
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
-