22
33import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
44import com .fasterxml .jackson .annotation .JsonProperty ;
5+ import java .time .Instant ;
56
67@ JsonIgnoreProperties (ignoreUnknown = true )
78public class Customer {
89 private String id ;
910 private String organization ;
1011 private Boolean livemode ;
1112 @ JsonProperty ("created_at" )
12- private String createdAt ;
13+ private Instant createdAt ;
1314 @ JsonProperty ("tax_id" )
1415 private String taxId ;
1516 @ JsonProperty ("tax_system" )
@@ -25,20 +26,20 @@ public class Customer {
2526 @ JsonProperty ("default_invoice_use" )
2627 private String defaultInvoiceUse ;
2728 @ JsonProperty ("sat_validated_at" )
28- private String satValidatedAt ;
29+ private Instant satValidatedAt ;
2930 @ JsonProperty ("edit_link" )
3031 private String editLink ;
3132 @ JsonProperty ("edit_link_expires_at" )
32- private String editLinkExpiresAt ;
33+ private Instant editLinkExpiresAt ;
3334
3435 public String getId () { return id ; }
3536 public void setId (String id ) { this .id = id ; }
3637 public String getOrganization () { return organization ; }
3738 public void setOrganization (String organization ) { this .organization = organization ; }
3839 public Boolean getLivemode () { return livemode ; }
3940 public void setLivemode (Boolean livemode ) { this .livemode = livemode ; }
40- public String getCreatedAt () { return createdAt ; }
41- public void setCreatedAt (String createdAt ) { this .createdAt = createdAt ; }
41+ public Instant getCreatedAt () { return createdAt ; }
42+ public void setCreatedAt (Instant createdAt ) { this .createdAt = createdAt ; }
4243 public String getTaxId () { return taxId ; }
4344 public void setTaxId (String taxId ) { this .taxId = taxId ; }
4445 public String getTaxSystem () { return taxSystem ; }
@@ -57,10 +58,10 @@ public class Customer {
5758 public void setExternalId (String externalId ) { this .externalId = externalId ; }
5859 public String getDefaultInvoiceUse () { return defaultInvoiceUse ; }
5960 public void setDefaultInvoiceUse (String defaultInvoiceUse ) { this .defaultInvoiceUse = defaultInvoiceUse ; }
60- public String getSatValidatedAt () { return satValidatedAt ; }
61- public void setSatValidatedAt (String satValidatedAt ) { this .satValidatedAt = satValidatedAt ; }
61+ public Instant getSatValidatedAt () { return satValidatedAt ; }
62+ public void setSatValidatedAt (Instant satValidatedAt ) { this .satValidatedAt = satValidatedAt ; }
6263 public String getEditLink () { return editLink ; }
6364 public void setEditLink (String editLink ) { this .editLink = editLink ; }
64- public String getEditLinkExpiresAt () { return editLinkExpiresAt ; }
65- public void setEditLinkExpiresAt (String editLinkExpiresAt ) { this .editLinkExpiresAt = editLinkExpiresAt ; }
65+ public Instant getEditLinkExpiresAt () { return editLinkExpiresAt ; }
66+ public void setEditLinkExpiresAt (Instant editLinkExpiresAt ) { this .editLinkExpiresAt = editLinkExpiresAt ; }
6667}
0 commit comments