mirror of
https://github.com/valitydev/googlepay-provider.git
synced 2024-11-06 01:05:24 +00:00
Rewrite excluding to lombok ToString.Exclude anotation (#7)
* Rewrite excluding in lombok ToString * Bump version
This commit is contained in:
parent
69a9557d7c
commit
11de2f9335
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -24,6 +24,7 @@ public class DecryptedMessage {
|
||||
private String gatewayMerchantId;
|
||||
private PaymentMethod paymentMethod;
|
||||
private PaymentCredential paymentCredential;
|
||||
@ToString.Exclude
|
||||
private Map<String, Object> paymentCredentialMap;
|
||||
|
||||
@JsonCreator
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user