com.gocardless.resources.MandatePdf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gocardless-pro Show documentation
Show all versions of gocardless-pro Show documentation
Client library for accessing the GoCardless Pro API
package com.gocardless.resources;
/**
* Represents a mandate pdf resource returned from the API.
*
* Mandate PDFs allow you to easily display [scheme-rules
* compliant](#appendix-compliance-requirements) Direct Debit mandates to your customers.
*/
public class MandatePdf {
private MandatePdf() {
// blank to prevent instantiation
}
private String expiresAt;
private String url;
/**
* The date and time at which the `url` will expire (10 minutes after the original request).
*/
public String getExpiresAt() {
return expiresAt;
}
/**
* The URL at which this mandate PDF can be viewed until it expires at the date and time
* specified by `expires_at`. You should not store this URL or rely on its structure remaining
* the same.
*/
public String getUrl() {
return url;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy