Skip to content

Commit

Permalink
make customer paymentsource read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
ppone committed May 4, 2018
1 parent 60f9a2f commit e6809bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {
jcenter()
}

version = '2.3.1'
version = '2.4.0'

// coveralls plugin depends on xml format report

Expand Down
3 changes: 1 addition & 2 deletions src/main/java/com/invoiced/entity/Customer.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ protected long getParentID() {
@JsonProperty("payment_terms")
public String paymentTerms;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("payment_source")
@JsonProperty(value = "payment_source", access = JsonProperty.Access.WRITE_ONLY)
public PaymentSource paymentSource;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
Expand Down

0 comments on commit e6809bc

Please sign in to comment.