#23 Transaction import: new period
This commit is contained in:
@@ -2,91 +2,114 @@ package de.financer.dto;
|
||||
|
||||
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class CreateUploadedTransactionsRequestDto {
|
||||
private String fromAccountKey;
|
||||
private String toAccountKey;
|
||||
private String amount;
|
||||
private String date;
|
||||
private String description;
|
||||
private Boolean taxRelevant;
|
||||
private String fileContent;
|
||||
private String fileName;
|
||||
private String recurringTransactionId;
|
||||
private List<CreateUploadedTransactionsRequestEntry> entries;
|
||||
private Long newPeriodOnRecurringTransactionId;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToStringBuilder.toString(this);
|
||||
public List<CreateUploadedTransactionsRequestEntry> getEntries() {
|
||||
return entries;
|
||||
}
|
||||
|
||||
public String getFromAccountKey() {
|
||||
return fromAccountKey;
|
||||
public void setEntries(List<CreateUploadedTransactionsRequestEntry> entries) {
|
||||
this.entries = entries;
|
||||
}
|
||||
|
||||
public void setFromAccountKey(String fromAccountKey) {
|
||||
this.fromAccountKey = fromAccountKey;
|
||||
public Long getNewPeriodOnRecurringTransactionId() {
|
||||
return newPeriodOnRecurringTransactionId;
|
||||
}
|
||||
|
||||
public String getToAccountKey() {
|
||||
return toAccountKey;
|
||||
public void setNewPeriodOnRecurringTransactionId(Long newPeriodOnRecurringTransactionId) {
|
||||
this.newPeriodOnRecurringTransactionId = newPeriodOnRecurringTransactionId;
|
||||
}
|
||||
|
||||
public void setToAccountKey(String toAccountKey) {
|
||||
this.toAccountKey = toAccountKey;
|
||||
}
|
||||
public static class CreateUploadedTransactionsRequestEntry {
|
||||
private String fromAccountKey;
|
||||
private String toAccountKey;
|
||||
private String amount;
|
||||
private String date;
|
||||
private String description;
|
||||
private Boolean taxRelevant;
|
||||
private String fileContent;
|
||||
private String fileName;
|
||||
private String recurringTransactionId;
|
||||
|
||||
public String getAmount() {
|
||||
return amount;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToStringBuilder.toString(this);
|
||||
}
|
||||
|
||||
public void setAmount(String amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
public String getFromAccountKey() {
|
||||
return fromAccountKey;
|
||||
}
|
||||
|
||||
public String getDate() {
|
||||
return date;
|
||||
}
|
||||
public void setFromAccountKey(String fromAccountKey) {
|
||||
this.fromAccountKey = fromAccountKey;
|
||||
}
|
||||
|
||||
public void setDate(String date) {
|
||||
this.date = date;
|
||||
}
|
||||
public String getToAccountKey() {
|
||||
return toAccountKey;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
public void setToAccountKey(String toAccountKey) {
|
||||
this.toAccountKey = toAccountKey;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
public String getAmount() {
|
||||
return amount;
|
||||
}
|
||||
|
||||
public Boolean getTaxRelevant() {
|
||||
return taxRelevant;
|
||||
}
|
||||
public void setAmount(String amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
|
||||
public void setTaxRelevant(Boolean taxRelevant) {
|
||||
this.taxRelevant = taxRelevant;
|
||||
}
|
||||
public String getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public String getFileContent() {
|
||||
return fileContent;
|
||||
}
|
||||
public void setDate(String date) {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
public void setFileContent(String fileContent) {
|
||||
this.fileContent = fileContent;
|
||||
}
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return fileName;
|
||||
}
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
public Boolean getTaxRelevant() {
|
||||
return taxRelevant;
|
||||
}
|
||||
|
||||
public String getRecurringTransactionId() {
|
||||
return recurringTransactionId;
|
||||
}
|
||||
public void setTaxRelevant(Boolean taxRelevant) {
|
||||
this.taxRelevant = taxRelevant;
|
||||
}
|
||||
|
||||
public void setRecurringTransactionId(String recurringTransactionId) {
|
||||
this.recurringTransactionId = recurringTransactionId;
|
||||
public String getFileContent() {
|
||||
return fileContent;
|
||||
}
|
||||
|
||||
public void setFileContent(String fileContent) {
|
||||
this.fileContent = fileContent;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getRecurringTransactionId() {
|
||||
return recurringTransactionId;
|
||||
}
|
||||
|
||||
public void setRecurringTransactionId(String recurringTransactionId) {
|
||||
this.recurringTransactionId = recurringTransactionId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user