Package com.adyen.model.transferwebhooks
Class DirectDebitInformation
- java.lang.Object
-
- com.adyen.model.transferwebhooks.DirectDebitInformation
-
public class DirectDebitInformation extends Object
DirectDebitInformation
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATE_OF_SIGNATUREstatic StringJSON_PROPERTY_DUE_DATEstatic StringJSON_PROPERTY_MANDATE_IDstatic StringJSON_PROPERTY_SEQUENCE_TYPE
-
Constructor Summary
Constructors Constructor Description DirectDebitInformation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectDebitInformationdateOfSignature(OffsetDateTime dateOfSignature)The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.DirectDebitInformationdueDate(OffsetDateTime dueDate)The date when the funds are deducted from your user's balance account.booleanequals(Object o)Return true if this DirectDebitInformation object is equal to o.static DirectDebitInformationfromJson(String jsonString)Create an instance of DirectDebitInformation given an JSON stringOffsetDateTimegetDateOfSignature()The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.OffsetDateTimegetDueDate()The date when the funds are deducted from your user's balance account.StringgetMandateId()Your unique identifier for the direct debit mandate.StringgetSequenceType()Identifies the direct debit transfer's type.inthashCode()DirectDebitInformationmandateId(String mandateId)Your unique identifier for the direct debit mandate.DirectDebitInformationsequenceType(String sequenceType)Identifies the direct debit transfer's type.voidsetDateOfSignature(OffsetDateTime dateOfSignature)The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.voidsetDueDate(OffsetDateTime dueDate)The date when the funds are deducted from your user's balance account.voidsetMandateId(String mandateId)Your unique identifier for the direct debit mandate.voidsetSequenceType(String sequenceType)Identifies the direct debit transfer's type.StringtoJson()Convert an instance of DirectDebitInformation to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DATE_OF_SIGNATURE
public static final String JSON_PROPERTY_DATE_OF_SIGNATURE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DUE_DATE
public static final String JSON_PROPERTY_DUE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MANDATE_ID
public static final String JSON_PROPERTY_MANDATE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEQUENCE_TYPE
public static final String JSON_PROPERTY_SEQUENCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
dateOfSignature
public DirectDebitInformation dateOfSignature(OffsetDateTime dateOfSignature)
The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.- Parameters:
dateOfSignature-- Returns:
- the current
DirectDebitInformationinstance, allowing for method chaining
-
getDateOfSignature
public OffsetDateTime getDateOfSignature()
The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.- Returns:
- dateOfSignature
-
setDateOfSignature
public void setDateOfSignature(OffsetDateTime dateOfSignature)
The date when the direct debit mandate was accepted by your user, in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format.- Parameters:
dateOfSignature-
-
dueDate
public DirectDebitInformation dueDate(OffsetDateTime dueDate)
The date when the funds are deducted from your user's balance account.- Parameters:
dueDate-- Returns:
- the current
DirectDebitInformationinstance, allowing for method chaining
-
getDueDate
public OffsetDateTime getDueDate()
The date when the funds are deducted from your user's balance account.- Returns:
- dueDate
-
setDueDate
public void setDueDate(OffsetDateTime dueDate)
The date when the funds are deducted from your user's balance account.- Parameters:
dueDate-
-
mandateId
public DirectDebitInformation mandateId(String mandateId)
Your unique identifier for the direct debit mandate.- Parameters:
mandateId-- Returns:
- the current
DirectDebitInformationinstance, allowing for method chaining
-
getMandateId
public String getMandateId()
Your unique identifier for the direct debit mandate.- Returns:
- mandateId
-
setMandateId
public void setMandateId(String mandateId)
Your unique identifier for the direct debit mandate.- Parameters:
mandateId-
-
sequenceType
public DirectDebitInformation sequenceType(String sequenceType)
Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**.- Parameters:
sequenceType-- Returns:
- the current
DirectDebitInformationinstance, allowing for method chaining
-
getSequenceType
public String getSequenceType()
Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**.- Returns:
- sequenceType
-
setSequenceType
public void setSequenceType(String sequenceType)
Identifies the direct debit transfer's type. Possible values: **OneOff**, **First**, **Recurring**, **Final**.- Parameters:
sequenceType-
-
equals
public boolean equals(Object o)
Return true if this DirectDebitInformation object is equal to o.
-
fromJson
public static DirectDebitInformation fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DirectDebitInformation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DirectDebitInformation
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DirectDebitInformation
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DirectDebitInformation to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-