1.2.0.0
Breaking changes
-
Removed
log4j-core
from Maven dependencies. Please, provide logger
implementation on your own -
Renamed enum value
AbstractTransaction.Status.ERRROR
toAbstractTransaction.Status.ERROR
-
Renamed enum value
Paypage.Status.ERRROR
toPaypage.Status.ERROR
Deprecated
-
com.unzer.payment.service.UrlUtil#getUrl(String)
will not be part of
java-sdk, because it has nothing to do with unzer/sdk specific logic. If you
rely on this method, please, replace it withjava.net.URL#URL(String)
constructor call -
Deprecated Basket getters/setters:
amountTotalVat
,amountTotalGross
,
amountTotalDiscount
-
Deprecated BasketItem getters/setters:
amountDiscount
,amountGross
,amountVat
,
amountPerUnit
,amountNet
Added
-
Basket v2 support:
-
Basket getters/setters:
totalValueGross
-
BasketItem getters/setters:
amountPerUnitGross
,amountDiscountPerUnitGross
-
Removed
- Remove
log.error
in catch clause
com.unzer.payment.service.PropertiesUtil#loadProperties()
because the
exception with exact same message is thrown after thelog.error
call.
Fixed
- Fix log message of
com.unzer.payment.service.UrlUtil#getUrl(String)
. It was
not formatted and contained%s
instead
of values
Changed
-
Type of
BasketItem
type field (wasString
, becomeBasketItem.Type
) -
Type of
BasketItem
vat
field (wasInteger
, becomeBigDecimal
)