Skip to content

Commit b2e49f9

Browse files
committed
Fixing date time format for Invoice History
1 parent 793d664 commit b2e49f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/Model/InvoicingV2InvoicesGet200ResponseInvoiceHistory.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io.swagger.annotations.ApiModel;
2424
import io.swagger.annotations.ApiModelProperty;
2525
import java.io.IOException;
26-
import org.joda.time.LocalDate;
26+
import org.joda.time.DateTime;
2727

2828
/**
2929
* InvoicingV2InvoicesGet200ResponseInvoiceHistory
@@ -34,7 +34,7 @@ public class InvoicingV2InvoicesGet200ResponseInvoiceHistory {
3434
private String event = null;
3535

3636
@SerializedName("date")
37-
private LocalDate date = null;
37+
private DateTime date = null;
3838

3939
@SerializedName("transactionDetails")
4040
private InvoicingV2InvoicesGet200ResponseTransactionDetails transactionDetails = null;
@@ -57,7 +57,7 @@ public void setEvent(String event) {
5757
this.event = event;
5858
}
5959

60-
public InvoicingV2InvoicesGet200ResponseInvoiceHistory date(LocalDate date) {
60+
public InvoicingV2InvoicesGet200ResponseInvoiceHistory date(DateTime date) {
6161
this.date = date;
6262
return this;
6363
}
@@ -67,11 +67,11 @@ public InvoicingV2InvoicesGet200ResponseInvoiceHistory date(LocalDate date) {
6767
* @return date
6868
**/
6969
@ApiModelProperty(value = "The invoice due date. This field is required for creating an invoice. Format: `YYYY-MM-DD`, where `YYYY` = year, `MM` = month, and `DD` = day ")
70-
public LocalDate getDate() {
70+
public DateTime getDate() {
7171
return date;
7272
}
7373

74-
public void setDate(LocalDate date) {
74+
public void setDate(DateTime date) {
7575
this.date = date;
7676
}
7777

0 commit comments

Comments
 (0)