Skip to content

Commit 033ef34

Browse files
author
Vladislav Lipianin
committed
UMCS-732 Revert deprecation. Remove publish workflow
1 parent e715858 commit 033ef34

2 files changed

Lines changed: 0 additions & 44 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/main/java/com/unzer/payment/AbstractPayment.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,12 @@ public abstract class AbstractPayment implements PaymentType {
3131
private BigDecimal amountRemaining;
3232
private String orderId;
3333
private String customerId;
34-
@Deprecated
3534
private Customer customer;
3635
private String paymentTypeId;
37-
@Deprecated
3836
private PaymentType paymentType;
3937
private String metadataId;
40-
@Deprecated
4138
private Metadata metadata;
4239
private String basketId;
43-
@Deprecated
4440
private Basket basket;
4541
@Deprecated
4642
private transient Unzer unzer;
@@ -80,15 +76,13 @@ public PaymentType getPaymentType() throws HttpCommunicationException {
8076
return paymentType;
8177
}
8278

83-
@Deprecated
8479
public Customer getCustomer() throws HttpCommunicationException {
8580
if (customer == null && isNotEmpty(getCustomerId())) {
8681
customer = fetchCustomer(getCustomerId());
8782
}
8883
return customer;
8984
}
9085

91-
@Deprecated
9286
public void setCustomer(Customer customer) {
9387
this.customer = customer;
9488
}
@@ -117,15 +111,13 @@ public void setMetadataId(String metadataId) {
117111
this.metadataId = metadataId;
118112
}
119113

120-
@Deprecated
121114
public Metadata getMetadata() throws HttpCommunicationException {
122115
if (metadata == null && isNotEmpty(getMetadataId())) {
123116
metadata = fetchMetadata(getMetadataId());
124117
}
125118
return metadata;
126119
}
127120

128-
@Deprecated
129121
public void setMetadata(Metadata metadata) {
130122
this.metadata = metadata;
131123
}
@@ -138,15 +130,13 @@ public void setBasketId(String basketId) {
138130
this.basketId = basketId;
139131
}
140132

141-
@Deprecated
142133
public Basket getBasket() throws HttpCommunicationException {
143134
if (basket == null && isNotEmpty(getBasketId())) {
144135
basket = fetchBasket(getBasketId());
145136
}
146137
return basket;
147138
}
148139

149-
@Deprecated
150140
public void setBasket(Basket basket) {
151141
this.basket = basket;
152142
}

0 commit comments

Comments
 (0)