Skip to content

Commit 81609f3

Browse files
committed
Added default CTOR to enable deserialization
1 parent 43ed2bd commit 81609f3

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

notification/src/main/java/org/killbill/billing/notification/plugin/api/SubscriptionMetadata.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@ public enum ActionType {
2828
REQUESTED
2929
};
3030

31-
private final ActionType actionType;
32-
private final String bundleExternalKey;
31+
private ActionType actionType;
32+
private String bundleExternalKey;
33+
34+
/**
35+
* This is needed for object deserialization.
36+
*/
37+
public SubscriptionMetadata() {
38+
39+
}
3340

34-
@JsonCreator
3541
public SubscriptionMetadata(@JsonProperty("actionType") final ActionType actionType,
3642
@JsonProperty("bundleExternalKey") final String bundleExternalKey) {
3743
this.actionType = actionType;

0 commit comments

Comments
 (0)