All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gocardless.resources.MandatePdf Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
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