package com.ryantenney.passkit4j.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper=true)
@Accessors(chain=true, fluent=true)
public class BoardingPass extends PassInformation {

	@JsonProperty private TransitType transitType = TransitType.AIR;

	public BoardingPass() {
		super("boardingPass");
	}

}

@@ -38,63 +38,8 @@
 l;%0A%0A
-import com.fasterxml.jackson.annotation.JsonProperty;%0A%0A
 impo
@@ -87,16 +87,39 @@
 shCode;%0A
+import lombok.NonNull;%0A
 import l
@@ -285,20 +285,15 @@
 %0A%0A%09@
-JsonProperty
+NonNull
  pri
@@ -324,26 +324,8 @@
 Type
- = TransitType.AIR
 ;%0A%0A%09
@@ -377,10 +377,112 @@
 %22);%0A%09%7D%0A%0A
+%09public BoardingPass(final TransitType transitType) %7B%0A%09%09this();%0A%09%09this.transitType = transitType;%0A%09%7D%0A%0A
 %7D%0A

Add 1-arg constructor for BoardingPass.