public class Mandate
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Mandate.Links |
static class |
Mandate.Status |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCreatedAt()
Fixed timestamp, recording when this resource was created.
|
java.lang.String |
getId()
Unique identifier, beginning with “MD”.
|
Mandate.Links |
getLinks() |
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Key-value store of custom data.
|
java.lang.String |
getNextPossibleChargeDate()
The earliest date a newly created payment for this mandate could be charged.
|
java.lang.Boolean |
getPaymentsRequireApproval()
Boolean value showing whether payments and subscriptions under this mandate require approval via an automated email before being processed.
|
java.lang.String |
getReference()
Unique reference.
|
java.lang.String |
getScheme()
|
Mandate.Status |
getStatus()
One of:
pending_customer_approval : the mandate has not yet been signed by the second customer pending_submission : the mandate has not yet been submitted to the customer’s bank submitted : the mandate has been submitted to the customer’s bank but has not been processed yet active : the mandate has been successfully set up by the customer’s bank failed : the mandate could not be created cancelled : the mandate has been cancelled expired : the mandate has expired due to dormancy |
public java.lang.String getCreatedAt()
Fixed timestamp, recording when this resource was created.
public java.lang.String getId()
Unique identifier, beginning with “MD”.
public Mandate.Links getLinks()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
Key-value store of custom data. Up to 3 keys are permitted, with key names up to 50 characters and values up to 500 characters.
public java.lang.String getNextPossibleChargeDate()
The earliest date a newly created payment for this mandate could be charged.
public java.lang.Boolean getPaymentsRequireApproval()
Boolean value showing whether payments and subscriptions under this mandate require approval via an automated email before being processed.
public java.lang.String getReference()
Unique reference. Different schemes have different length and character set requirements. GoCardless will generate a unique reference satisfying the different scheme requirements if this field is left blank.
public java.lang.String getScheme()
public Mandate.Status getStatus()
One of:
pending_customer_approval
: the mandate has not yet been signed by the second customerpending_submission
: the mandate has not yet been submitted to the customer’s banksubmitted
: the mandate has been submitted to the customer’s bank but has not been processed yetactive
: the mandate has been successfully set up by the customer’s bankfailed
: the mandate could not be createdcancelled
: the mandate has been cancelledexpired
: the mandate has expired due to dormancy