Skip to content

Commit 57f531f

Browse files
author
Ian Saunders
committed
*Bumped version
*Couple more dates
1 parent f224ccb commit 57f531f

3 files changed

Lines changed: 14 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Add this dependency to your project's POM:
1717
<dependency>
1818
<groupId>net.billforward</groupId>
1919
<artifactId>billforward-java</artifactId>
20-
<version>1.2014.254</version>
20+
<version>1.2014.255</version>
2121
</dependency>
2222

2323
### Gradle users
2424

2525
Add this dependency to your project's build file:
2626

27-
compile "net.billforward:billforward-java:1.2014.254"
27+
compile "net.billforward:billforward-java:1.2014.255"
2828

2929
### Others
3030

src/main/java/net/billforward/model/usage/UsagePeriod.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package net.billforward.model.usage;
22

3+
import java.util.Date;
4+
35
import com.google.gson.annotations.Expose;
46
import com.google.gson.reflect.TypeToken;
57

@@ -20,9 +22,9 @@ public class UsagePeriod extends BillingEntity {
2022
@Expose protected String subscriptionID;
2123
@Expose protected String uom;
2224
@Expose protected String invoiceID;
23-
@Expose protected String state;
25+
@Expose protected Date state;
2426
@Expose protected int period;
25-
@Expose protected String start;
27+
@Expose protected Date start;
2628
@Expose protected String stop;
2729
@Expose protected String durationResolution;
2830
@Expose protected String usageDuration;
@@ -53,15 +55,15 @@ public String getInvoiceID() {
5355
return invoiceID;
5456
}
5557

56-
public String getState() {
58+
public Date getState() {
5759
return state;
5860
}
5961

6062
public int getPeriod() {
6163
return period;
6264
}
6365

64-
public String getStart() {
66+
public Date getStart() {
6567
return start;
6668
}
6769

src/main/java/net/billforward/model/usage/UsageRoundingStrategy.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package net.billforward.model.usage;
22

3+
import java.util.Date;
4+
35
import net.billforward.BillForwardClient;
46
import net.billforward.model.APIResponse;
57
import net.billforward.model.BillingEntity;
@@ -18,9 +20,9 @@ public class UsageRoundingStrategy extends BillingEntity {
1820
@Expose protected String roundingLevel;
1921
@Expose protected String threshold;
2022
@Expose protected String thresholdValue;
21-
@Expose protected String updated;
23+
@Expose protected Date updated;
2224
@Expose protected String changedBy;
23-
@Expose protected String created;
25+
@Expose protected Date created;
2426

2527
protected PricingComponent thresholdComponent;
2628

@@ -88,15 +90,15 @@ public String getOrganizationID() {
8890
return organizationID;
8991
}
9092

91-
public String getUpdated() {
93+
public Date getUpdated() {
9294
return updated;
9395
}
9496

9597
public String getChangedBy() {
9698
return changedBy;
9799
}
98100

99-
public String getCreated() {
101+
public Date getCreated() {
100102
return created;
101103
}
102104

0 commit comments

Comments
 (0)