Rewrite excluding to lombok ToString.Exclude anotation (#7)

* Rewrite excluding in lombok ToString

* Bump version
This commit is contained in:
Pavel Popov 2019-06-28 16:30:04 +03:00 committed by GitHub
parent 69a9557d7c
commit 11de2f9335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -12,7 +12,7 @@
<groupId>com.rbkmoney.provider</groupId>
<artifactId>googlepay</artifactId>
<version>1.1.6-SNAPSHOT</version>
<version>1.1.7-SNAPSHOT</version>
<name>adapter-googlepay</name>
<properties>

View File

@ -24,6 +24,7 @@ public class DecryptedMessage {
private String gatewayMerchantId;
private PaymentMethod paymentMethod;
private PaymentCredential paymentCredential;
@ToString.Exclude
private Map<String, Object> paymentCredentialMap;
@JsonCreator

View File

@ -12,14 +12,17 @@ import lombok.ToString;
@Getter
@Setter
@ToString
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonDeserialize(using = TokenizedCardDeserializer.class)
@ToString(exclude = {"dpan", "expirationMonth", "expirationYear"})
public class TokenizedCard extends PaymentCredential {
@ToString.Exclude
private String dpan;
@ToString.Exclude
private int expirationMonth;
@ToString.Exclude
private int expirationYear;
private AuthType authType;
private Auth auth;