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

com.greenback.kit.model.AutoExport Maven / Gradle / Ivy

There is a newer version: 1.0.39
Show newest version
package com.greenback.kit.model;

import java.util.List;
import java.time.Instant;

public class AutoExport extends GreenbackObject {
    private String userId;
    private String accountingAccountId;
    private AutoExportParameters parameters;
    private AutoExportFrequency frequency;
    private AutoExportState state;
    private List accountIds;
    private Instant lastRunAt;

    // from expands
    private Account accountingAccount;
    private List accounts;
    private ExportRun lastRun;
    private ExportRun pendingRun;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccountingAccountId() {
        return accountingAccountId;
    }

    public void setAccountingAccountId(String accountingAccountId) {
        this.accountingAccountId = accountingAccountId;
    }

    public AutoExportParameters getParameters() {
        return parameters;
    }

    public void setParameters(AutoExportParameters parameters) {
        this.parameters = parameters;
    }

    public AutoExportFrequency getFrequency() {
        return frequency;
    }

    public void setFrequency(AutoExportFrequency frequency) {
        this.frequency = frequency;
    }

    public AutoExportState getState() {
        return state;
    }

    public void setState(AutoExportState state) {
        this.state = state;
    }

    public List getAccountIds() {
        return accountIds;
    }

    public void setAccountIds(List accountIds) {
        this.accountIds = accountIds;
    }

    public ExportRun getLastRun() {
        return lastRun;
    }

    public void setLastRun(ExportRun lastRun) {
        this.lastRun = lastRun;
    }

    public ExportRun getPendingRun() {
        return pendingRun;
    }

    public void setPendingRun(ExportRun pendingRun) {
        this.pendingRun = pendingRun;
    }

    public List getAccounts() {
        return accounts;
    }

    public void setAccounts(List accounts) {
        this.accounts = accounts;
    }

    public Account getAccountingAccount() {
        return accountingAccount;
    }

    public void setAccountingAccount(Account accountingAccount) {
        this.accountingAccount = accountingAccount;
    }

    public Instant getLastRunAt() {
        return this.lastRunAt;
    }

    public void setLastRunAt(Instant lastRunAt) {
        this.lastRunAt = lastRunAt;
    }

    @Override
    public String toString() {
        return "AutoExport{" +
            "id='" + id + '\'' +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", lastRunAt=" + lastRunAt +
            ", userId='" + userId + '\'' +
            ", accountingAccountId='" + accountingAccountId + '\'' +
            ", parameters=" + parameters +
            ", frequency=" + frequency +
            ", state=" + state +
            ", accountingAccount=" + accountingAccount +
            ", accounts=" + accounts +
            ", accountIds=" + accountIds +
            ", lastRun=" + lastRun +
            ", pendingRun=" + pendingRun +
            '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy