diff --git a/build.gradle b/build.gradle index fde3ca3..e7277b6 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { allprojects { - group = 'com.therepanic.funpay4j' + group = 'io.github.therepanic.funpay4j' version = '1.0.7' repositories { diff --git a/client/src/main/java/com/therepanic/funpay4j/client/FunPayClient.java b/client/src/main/java/io/github/therepanic/funpay4j/client/FunPayClient.java similarity index 88% rename from client/src/main/java/com/therepanic/funpay4j/client/FunPayClient.java rename to client/src/main/java/io/github/therepanic/funpay4j/client/FunPayClient.java index 046afa2..fe11c5e 100644 --- a/client/src/main/java/com/therepanic/funpay4j/client/FunPayClient.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/client/FunPayClient.java @@ -12,13 +12,13 @@ * limitations under the License. */ -package com.therepanic.funpay4j.client; +package io.github.therepanic.funpay4j.client; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; -import com.therepanic.funpay4j.request.SaveOfferRequest; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; +import io.github.therepanic.funpay4j.request.SaveOfferRequest; /** * Interface for sending thematic requests to FunPay diff --git a/client/src/main/java/com/therepanic/funpay4j/client/OkHttpFunPayClient.java b/client/src/main/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClient.java similarity index 96% rename from client/src/main/java/com/therepanic/funpay4j/client/OkHttpFunPayClient.java rename to client/src/main/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClient.java index af57c06..d478efb 100644 --- a/client/src/main/java/com/therepanic/funpay4j/client/OkHttpFunPayClient.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClient.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.client; +package io.github.therepanic.funpay4j.client; import java.io.IOException; import java.util.Map; @@ -26,11 +26,12 @@ import com.google.gson.JsonObject; import com.google.gson.JsonParser; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; -import com.therepanic.funpay4j.request.SaveOfferRequest; + +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; +import io.github.therepanic.funpay4j.request.SaveOfferRequest; /** * This implementation of FunPayClient uses OkHttp to send request diff --git a/client/src/main/java/com/therepanic/funpay4j/client/package-info.java b/client/src/main/java/io/github/therepanic/funpay4j/client/package-info.java similarity index 92% rename from client/src/main/java/com/therepanic/funpay4j/client/package-info.java rename to client/src/main/java/io/github/therepanic/funpay4j/client/package-info.java index c9d4525..7d1a53f 100644 --- a/client/src/main/java/com/therepanic/funpay4j/client/package-info.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/client/package-info.java @@ -13,4 +13,4 @@ */ @org.jspecify.annotations.NullMarked -package com.therepanic.funpay4j.client; +package io.github.therepanic.funpay4j.client; diff --git a/client/src/main/java/com/therepanic/funpay4j/exceptions/FunPayApiException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/FunPayApiException.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/exceptions/FunPayApiException.java rename to client/src/main/java/io/github/therepanic/funpay4j/exceptions/FunPayApiException.java index 51290cf..16a4a20 100644 --- a/client/src/main/java/com/therepanic/funpay4j/exceptions/FunPayApiException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/FunPayApiException.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.exceptions; +package io.github.therepanic.funpay4j.exceptions; /** * Base class for exceptions related to FunPay diff --git a/client/src/main/java/com/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java similarity index 95% rename from client/src/main/java/com/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java rename to client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java index ce21f64..f342cf3 100644 --- a/client/src/main/java/com/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.exceptions; +package io.github.therepanic.funpay4j.exceptions; /** * Base class for exception related to the fact that the csrf token or PHPSESSID is invalid diff --git a/client/src/main/java/com/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java similarity index 95% rename from client/src/main/java/com/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java rename to client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java index 3443e18..06bf2bb 100644 --- a/client/src/main/java/com/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.exceptions; +package io.github.therepanic.funpay4j.exceptions; /** * Base class for exception related to the fact that the goldenKey is invalid diff --git a/client/src/main/java/com/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java rename to client/src/main/java/io/github/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java index 10f4e1d..471fb1c 100644 --- a/client/src/main/java/com/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.exceptions.lot; +package io.github.therepanic.funpay4j.exceptions.lot; /** * Base class for exception related to the fact that the lot is not found diff --git a/client/src/main/java/com/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java rename to client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java index 36706de..4bd94a5 100644 --- a/client/src/main/java/com/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.exceptions.offer; +package io.github.therepanic.funpay4j.exceptions.offer; /** * Base class for exception related to the fact that the offer already raised diff --git a/client/src/main/java/com/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java rename to client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java index 5483b51..3d02944 100644 --- a/client/src/main/java/com/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.exceptions.offer; +package io.github.therepanic.funpay4j.exceptions.offer; /** * Base class for exception related to the fact that the offer is not found diff --git a/client/src/main/java/com/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java rename to client/src/main/java/io/github/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java index 369f5aa..e62bc80 100644 --- a/client/src/main/java/com/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.exceptions.order; +package io.github.therepanic.funpay4j.exceptions.order; /** * Base class for exception related to the fact that the order is not found diff --git a/client/src/main/java/com/therepanic/funpay4j/exceptions/user/UserNotFoundException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/user/UserNotFoundException.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/exceptions/user/UserNotFoundException.java rename to client/src/main/java/io/github/therepanic/funpay4j/exceptions/user/UserNotFoundException.java index 75a0c14..ecc9588 100644 --- a/client/src/main/java/com/therepanic/funpay4j/exceptions/user/UserNotFoundException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/user/UserNotFoundException.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.exceptions.user; +package io.github.therepanic.funpay4j.exceptions.user; /** * Base class for exception related to the fact that the user is not found diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java index 655f388..6c32fc5 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects; +package io.github.therepanic.funpay4j.objects; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/game/ParsedPromoGame.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGame.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/objects/game/ParsedPromoGame.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGame.java index 15f0022..9db56ca 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/game/ParsedPromoGame.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGame.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.game; +package io.github.therepanic.funpay4j.objects.game; import java.util.List; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java index baa0e21..d7a37f7 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.game; +package io.github.therepanic.funpay4j.objects.game; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/lot/ParsedLot.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLot.java similarity index 89% rename from client/src/main/java/com/therepanic/funpay4j/objects/lot/ParsedLot.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLot.java index 190757e..939b38c 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/lot/ParsedLot.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLot.java @@ -12,15 +12,14 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.lot; +package io.github.therepanic.funpay4j.objects.lot; import java.util.List; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; - -import com.therepanic.funpay4j.objects.offer.ParsedPreviewOffer; +import io.github.therepanic.funpay4j.objects.offer.ParsedPreviewOffer; /** * This object represents the parsed FunPay lot diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/lot/ParsedLotCounter.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLotCounter.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/objects/lot/ParsedLotCounter.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLotCounter.java index 37a6371..a8de2d5 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/lot/ParsedLotCounter.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLotCounter.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.lot; +package io.github.therepanic.funpay4j.objects.lot; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/offer/ParsedOffer.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedOffer.java similarity index 90% rename from client/src/main/java/com/therepanic/funpay4j/objects/offer/ParsedOffer.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedOffer.java index eb6da1a..6f45f0a 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/offer/ParsedOffer.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedOffer.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.offer; +package io.github.therepanic.funpay4j.objects.offer; import java.util.List; import java.util.Map; @@ -20,8 +20,7 @@ import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; - -import com.therepanic.funpay4j.objects.user.ParsedPreviewSeller; +import io.github.therepanic.funpay4j.objects.user.ParsedPreviewSeller; /** * This object represents the parsed FunPay offer diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java similarity index 89% rename from client/src/main/java/com/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java index 59fbe61..b196492 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java @@ -12,13 +12,12 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.offer; +package io.github.therepanic.funpay4j.objects.offer; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; - -import com.therepanic.funpay4j.objects.user.ParsedPreviewSeller; +import io.github.therepanic.funpay4j.objects.user.ParsedPreviewSeller; /** * This object represents the parsed FunPay preview offer diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/order/ParsedOrder.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/order/ParsedOrder.java similarity index 89% rename from client/src/main/java/com/therepanic/funpay4j/objects/order/ParsedOrder.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/order/ParsedOrder.java index 1a41cc3..db6385c 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/order/ParsedOrder.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/order/ParsedOrder.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.order; +package io.github.therepanic.funpay4j.objects.order; import java.util.List; import java.util.Map; @@ -20,8 +20,7 @@ import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; - -import com.therepanic.funpay4j.objects.user.ParsedPreviewUser; +import io.github.therepanic.funpay4j.objects.user.ParsedPreviewUser; /** * This object represents the parsed FunPay order diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransaction.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransaction.java similarity index 94% rename from client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransaction.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransaction.java index 67d8167..9ab9a20 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransaction.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransaction.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.transaction; +package io.github.therepanic.funpay4j.objects.transaction; import java.util.Date; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java similarity index 92% rename from client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java index 38a443a..801802e 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.transaction; +package io.github.therepanic.funpay4j.objects.transaction; /** * Represents the status of a parsed FunPay transaction diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java similarity index 92% rename from client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java index 8dcd04d..b51e4b9 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.transaction; +package io.github.therepanic.funpay4j.objects.transaction; /** * Represents the type of parsed FunPay transaction diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java similarity index 95% rename from client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java index c86ba34..0ae313c 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import java.util.Date; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java similarity index 95% rename from client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java index 76110d3..3805ab7 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedPreviewUser.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewUser.java similarity index 95% rename from client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedPreviewUser.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewUser.java index 35d6e4a..d43e80c 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedPreviewUser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewUser.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedSeller.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSeller.java similarity index 90% rename from client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedSeller.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSeller.java index 59f55bc..e92d563 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedSeller.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSeller.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import java.util.List; @@ -22,8 +22,7 @@ import lombok.Setter; import lombok.ToString; import lombok.experimental.SuperBuilder; - -import com.therepanic.funpay4j.objects.offer.ParsedPreviewOffer; +import io.github.therepanic.funpay4j.objects.offer.ParsedPreviewOffer; /** * This object represents the parsed FunPay seller diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedSellerReview.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSellerReview.java similarity index 95% rename from client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedSellerReview.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSellerReview.java index 62a7c00..fd78fa5 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedSellerReview.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSellerReview.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedUser.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedUser.java similarity index 95% rename from client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedUser.java rename to client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedUser.java index 223b389..4d03fdf 100644 --- a/client/src/main/java/com/therepanic/funpay4j/objects/user/ParsedUser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedUser.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import java.util.Date; import java.util.List; diff --git a/client/src/main/java/com/therepanic/funpay4j/parser/FunPayParser.java b/client/src/main/java/io/github/therepanic/funpay4j/parser/FunPayParser.java similarity index 87% rename from client/src/main/java/com/therepanic/funpay4j/parser/FunPayParser.java rename to client/src/main/java/io/github/therepanic/funpay4j/parser/FunPayParser.java index 1417744..ac3d8a1 100644 --- a/client/src/main/java/com/therepanic/funpay4j/parser/FunPayParser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/parser/FunPayParser.java @@ -12,27 +12,27 @@ * limitations under the License. */ -package com.therepanic.funpay4j.parser; +package io.github.therepanic.funpay4j.parser; import java.util.List; import org.jspecify.annotations.Nullable; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.exceptions.lot.LotNotFoundException; -import com.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; -import com.therepanic.funpay4j.exceptions.order.OrderNotFoundException; -import com.therepanic.funpay4j.exceptions.user.UserNotFoundException; -import com.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID; -import com.therepanic.funpay4j.objects.game.ParsedPromoGame; -import com.therepanic.funpay4j.objects.lot.ParsedLot; -import com.therepanic.funpay4j.objects.offer.ParsedOffer; -import com.therepanic.funpay4j.objects.order.ParsedOrder; -import com.therepanic.funpay4j.objects.transaction.ParsedTransaction; -import com.therepanic.funpay4j.objects.transaction.ParsedTransactionType; -import com.therepanic.funpay4j.objects.user.ParsedSellerReview; -import com.therepanic.funpay4j.objects.user.ParsedUser; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.exceptions.lot.LotNotFoundException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; +import io.github.therepanic.funpay4j.exceptions.order.OrderNotFoundException; +import io.github.therepanic.funpay4j.exceptions.user.UserNotFoundException; +import io.github.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID; +import io.github.therepanic.funpay4j.objects.game.ParsedPromoGame; +import io.github.therepanic.funpay4j.objects.lot.ParsedLot; +import io.github.therepanic.funpay4j.objects.offer.ParsedOffer; +import io.github.therepanic.funpay4j.objects.order.ParsedOrder; +import io.github.therepanic.funpay4j.objects.transaction.ParsedTransaction; +import io.github.therepanic.funpay4j.objects.transaction.ParsedTransactionType; +import io.github.therepanic.funpay4j.objects.user.ParsedSellerReview; +import io.github.therepanic.funpay4j.objects.user.ParsedUser; /** * Interface for parsing data from FunPay diff --git a/client/src/main/java/com/therepanic/funpay4j/parser/JsoupFunPayParser.java b/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java similarity index 96% rename from client/src/main/java/com/therepanic/funpay4j/parser/JsoupFunPayParser.java rename to client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java index 8529d91..5c02dd3 100644 --- a/client/src/main/java/com/therepanic/funpay4j/parser/JsoupFunPayParser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.parser; +package io.github.therepanic.funpay4j.parser; import java.io.IOException; import java.text.ParseException; @@ -35,30 +35,31 @@ import org.jspecify.annotations.Nullable; import com.google.gson.JsonParser; -import com.therepanic.funpay4j.FunPayUserUtil; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.exceptions.lot.LotNotFoundException; -import com.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; -import com.therepanic.funpay4j.exceptions.order.OrderNotFoundException; -import com.therepanic.funpay4j.exceptions.user.UserNotFoundException; -import com.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID; -import com.therepanic.funpay4j.objects.game.ParsedPromoGame; -import com.therepanic.funpay4j.objects.game.ParsedPromoGameCounter; -import com.therepanic.funpay4j.objects.lot.ParsedLot; -import com.therepanic.funpay4j.objects.lot.ParsedLotCounter; -import com.therepanic.funpay4j.objects.offer.ParsedOffer; -import com.therepanic.funpay4j.objects.offer.ParsedPreviewOffer; -import com.therepanic.funpay4j.objects.order.ParsedOrder; -import com.therepanic.funpay4j.objects.transaction.ParsedTransaction; -import com.therepanic.funpay4j.objects.transaction.ParsedTransactionStatus; -import com.therepanic.funpay4j.objects.transaction.ParsedTransactionType; -import com.therepanic.funpay4j.objects.user.ParsedAdvancedSellerReview; -import com.therepanic.funpay4j.objects.user.ParsedPreviewSeller; -import com.therepanic.funpay4j.objects.user.ParsedPreviewUser; -import com.therepanic.funpay4j.objects.user.ParsedSeller; -import com.therepanic.funpay4j.objects.user.ParsedSellerReview; -import com.therepanic.funpay4j.objects.user.ParsedUser; + +import io.github.therepanic.funpay4j.FunPayUserUtil; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.exceptions.lot.LotNotFoundException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; +import io.github.therepanic.funpay4j.exceptions.order.OrderNotFoundException; +import io.github.therepanic.funpay4j.exceptions.user.UserNotFoundException; +import io.github.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID; +import io.github.therepanic.funpay4j.objects.game.ParsedPromoGame; +import io.github.therepanic.funpay4j.objects.game.ParsedPromoGameCounter; +import io.github.therepanic.funpay4j.objects.lot.ParsedLot; +import io.github.therepanic.funpay4j.objects.lot.ParsedLotCounter; +import io.github.therepanic.funpay4j.objects.offer.ParsedOffer; +import io.github.therepanic.funpay4j.objects.offer.ParsedPreviewOffer; +import io.github.therepanic.funpay4j.objects.order.ParsedOrder; +import io.github.therepanic.funpay4j.objects.transaction.ParsedTransaction; +import io.github.therepanic.funpay4j.objects.transaction.ParsedTransactionStatus; +import io.github.therepanic.funpay4j.objects.transaction.ParsedTransactionType; +import io.github.therepanic.funpay4j.objects.user.ParsedAdvancedSellerReview; +import io.github.therepanic.funpay4j.objects.user.ParsedPreviewSeller; +import io.github.therepanic.funpay4j.objects.user.ParsedPreviewUser; +import io.github.therepanic.funpay4j.objects.user.ParsedSeller; +import io.github.therepanic.funpay4j.objects.user.ParsedSellerReview; +import io.github.therepanic.funpay4j.objects.user.ParsedUser; /** * This implementation of FunPayParser uses Jsoup to parse diff --git a/client/src/main/java/com/therepanic/funpay4j/parser/package-info.java b/client/src/main/java/io/github/therepanic/funpay4j/parser/package-info.java similarity index 92% rename from client/src/main/java/com/therepanic/funpay4j/parser/package-info.java rename to client/src/main/java/io/github/therepanic/funpay4j/parser/package-info.java index 21dac8e..651b3be 100644 --- a/client/src/main/java/com/therepanic/funpay4j/parser/package-info.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/parser/package-info.java @@ -13,4 +13,4 @@ */ @org.jspecify.annotations.NullMarked -package com.therepanic.funpay4j.parser; +package io.github.therepanic.funpay4j.parser; diff --git a/client/src/main/java/com/therepanic/funpay4j/request/SaveOfferRequest.java b/client/src/main/java/io/github/therepanic/funpay4j/request/SaveOfferRequest.java similarity index 96% rename from client/src/main/java/com/therepanic/funpay4j/request/SaveOfferRequest.java rename to client/src/main/java/io/github/therepanic/funpay4j/request/SaveOfferRequest.java index 8164630..3376ad2 100644 --- a/client/src/main/java/com/therepanic/funpay4j/request/SaveOfferRequest.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/request/SaveOfferRequest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.request; +package io.github.therepanic.funpay4j.request; import java.util.List; import java.util.Map; diff --git a/client/src/test/java/com/therepanic/funpay4j/client/OkHttpFunPayClientTest.java b/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java similarity index 95% rename from client/src/test/java/com/therepanic/funpay4j/client/OkHttpFunPayClientTest.java rename to client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java index 2e36a57..ccfcb9a 100644 --- a/client/src/test/java/com/therepanic/funpay4j/client/OkHttpFunPayClientTest.java +++ b/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.client; +package io.github.therepanic.funpay4j.client; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; @@ -29,10 +29,10 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; -import com.therepanic.funpay4j.request.SaveOfferRequest; +import io.github.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; +import io.github.therepanic.funpay4j.request.SaveOfferRequest; /** * @author therepanic diff --git a/client/src/test/java/com/therepanic/funpay4j/parser/JsoupFunPayParserTest.java b/client/src/test/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParserTest.java similarity index 92% rename from client/src/test/java/com/therepanic/funpay4j/parser/JsoupFunPayParserTest.java rename to client/src/test/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParserTest.java index be3aa79..30ada7b 100644 --- a/client/src/test/java/com/therepanic/funpay4j/parser/JsoupFunPayParserTest.java +++ b/client/src/test/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParserTest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.parser; +package io.github.therepanic.funpay4j.parser; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -37,24 +37,24 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.therepanic.funpay4j.exceptions.lot.LotNotFoundException; -import com.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; -import com.therepanic.funpay4j.exceptions.order.OrderNotFoundException; -import com.therepanic.funpay4j.exceptions.user.UserNotFoundException; -import com.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID; -import com.therepanic.funpay4j.objects.game.ParsedPromoGame; -import com.therepanic.funpay4j.objects.game.ParsedPromoGameCounter; -import com.therepanic.funpay4j.objects.lot.ParsedLot; -import com.therepanic.funpay4j.objects.lot.ParsedLotCounter; -import com.therepanic.funpay4j.objects.offer.ParsedOffer; -import com.therepanic.funpay4j.objects.offer.ParsedPreviewOffer; -import com.therepanic.funpay4j.objects.order.ParsedOrder; -import com.therepanic.funpay4j.objects.transaction.ParsedTransaction; -import com.therepanic.funpay4j.objects.user.ParsedAdvancedSellerReview; -import com.therepanic.funpay4j.objects.user.ParsedPreviewSeller; -import com.therepanic.funpay4j.objects.user.ParsedSeller; -import com.therepanic.funpay4j.objects.user.ParsedSellerReview; -import com.therepanic.funpay4j.objects.user.ParsedUser; +import io.github.therepanic.funpay4j.exceptions.lot.LotNotFoundException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; +import io.github.therepanic.funpay4j.exceptions.order.OrderNotFoundException; +import io.github.therepanic.funpay4j.exceptions.user.UserNotFoundException; +import io.github.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID; +import io.github.therepanic.funpay4j.objects.game.ParsedPromoGame; +import io.github.therepanic.funpay4j.objects.game.ParsedPromoGameCounter; +import io.github.therepanic.funpay4j.objects.lot.ParsedLot; +import io.github.therepanic.funpay4j.objects.lot.ParsedLotCounter; +import io.github.therepanic.funpay4j.objects.offer.ParsedOffer; +import io.github.therepanic.funpay4j.objects.offer.ParsedPreviewOffer; +import io.github.therepanic.funpay4j.objects.order.ParsedOrder; +import io.github.therepanic.funpay4j.objects.transaction.ParsedTransaction; +import io.github.therepanic.funpay4j.objects.user.ParsedAdvancedSellerReview; +import io.github.therepanic.funpay4j.objects.user.ParsedPreviewSeller; +import io.github.therepanic.funpay4j.objects.user.ParsedSeller; +import io.github.therepanic.funpay4j.objects.user.ParsedSellerReview; +import io.github.therepanic.funpay4j.objects.user.ParsedUser; /** * @author therepanic diff --git a/core/src/main/java/com/therepanic/funpay4j/AuthorizedFunPayExecutor.java b/core/src/main/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutor.java similarity index 89% rename from core/src/main/java/com/therepanic/funpay4j/AuthorizedFunPayExecutor.java rename to core/src/main/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutor.java index 03c4f1f..8f37716 100644 --- a/core/src/main/java/com/therepanic/funpay4j/AuthorizedFunPayExecutor.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutor.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; import java.net.Proxy; import java.util.List; @@ -23,36 +23,36 @@ import org.jspecify.annotations.Nullable; -import com.therepanic.funpay4j.commands.offer.CreateOffer; -import com.therepanic.funpay4j.commands.offer.CreateOfferImage; -import com.therepanic.funpay4j.commands.offer.DeleteOffer; -import com.therepanic.funpay4j.commands.offer.EditOffer; -import com.therepanic.funpay4j.commands.offer.RaiseAllOffers; -import com.therepanic.funpay4j.commands.order.GetOrder; -import com.therepanic.funpay4j.commands.transaction.GetTransactions; -import com.therepanic.funpay4j.commands.user.GetSellerReviews; -import com.therepanic.funpay4j.commands.user.GetUser; -import com.therepanic.funpay4j.commands.user.UpdateAvatar; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; -import com.therepanic.funpay4j.exceptions.order.OrderNotFoundException; -import com.therepanic.funpay4j.exceptions.user.UserNotFoundException; -import com.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID; -import com.therepanic.funpay4j.objects.order.Order; -import com.therepanic.funpay4j.objects.order.ParsedOrder; -import com.therepanic.funpay4j.objects.transaction.ParsedTransaction; -import com.therepanic.funpay4j.objects.transaction.ParsedTransactionType; -import com.therepanic.funpay4j.objects.transaction.Transaction; -import com.therepanic.funpay4j.objects.transaction.TransactionStatus; -import com.therepanic.funpay4j.objects.user.AdvancedSellerReview; -import com.therepanic.funpay4j.objects.user.ParsedAdvancedSellerReview; -import com.therepanic.funpay4j.objects.user.ParsedSellerReview; -import com.therepanic.funpay4j.objects.user.ParsedUser; -import com.therepanic.funpay4j.objects.user.SellerReview; -import com.therepanic.funpay4j.objects.user.User; -import com.therepanic.funpay4j.request.SaveOfferRequest; +import io.github.therepanic.funpay4j.commands.offer.CreateOffer; +import io.github.therepanic.funpay4j.commands.offer.CreateOfferImage; +import io.github.therepanic.funpay4j.commands.offer.DeleteOffer; +import io.github.therepanic.funpay4j.commands.offer.EditOffer; +import io.github.therepanic.funpay4j.commands.offer.RaiseAllOffers; +import io.github.therepanic.funpay4j.commands.order.GetOrder; +import io.github.therepanic.funpay4j.commands.transaction.GetTransactions; +import io.github.therepanic.funpay4j.commands.user.GetSellerReviews; +import io.github.therepanic.funpay4j.commands.user.GetUser; +import io.github.therepanic.funpay4j.commands.user.UpdateAvatar; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; +import io.github.therepanic.funpay4j.exceptions.order.OrderNotFoundException; +import io.github.therepanic.funpay4j.exceptions.user.UserNotFoundException; +import io.github.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID; +import io.github.therepanic.funpay4j.objects.order.Order; +import io.github.therepanic.funpay4j.objects.order.ParsedOrder; +import io.github.therepanic.funpay4j.objects.transaction.ParsedTransaction; +import io.github.therepanic.funpay4j.objects.transaction.ParsedTransactionType; +import io.github.therepanic.funpay4j.objects.transaction.Transaction; +import io.github.therepanic.funpay4j.objects.transaction.TransactionStatus; +import io.github.therepanic.funpay4j.objects.user.AdvancedSellerReview; +import io.github.therepanic.funpay4j.objects.user.ParsedAdvancedSellerReview; +import io.github.therepanic.funpay4j.objects.user.ParsedSellerReview; +import io.github.therepanic.funpay4j.objects.user.ParsedUser; +import io.github.therepanic.funpay4j.objects.user.SellerReview; +import io.github.therepanic.funpay4j.objects.user.User; +import io.github.therepanic.funpay4j.request.SaveOfferRequest; /** * This Authorized FunPay executor is used to execute authorized commands diff --git a/core/src/main/java/com/therepanic/funpay4j/FunPayExecutor.java b/core/src/main/java/io/github/therepanic/funpay4j/FunPayExecutor.java similarity index 91% rename from core/src/main/java/com/therepanic/funpay4j/FunPayExecutor.java rename to core/src/main/java/io/github/therepanic/funpay4j/FunPayExecutor.java index 8adb753..56c301c 100644 --- a/core/src/main/java/com/therepanic/funpay4j/FunPayExecutor.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/FunPayExecutor.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; import java.net.Proxy; import java.util.List; @@ -22,34 +22,34 @@ import org.jspecify.annotations.Nullable; -import com.therepanic.funpay4j.client.FunPayClient; -import com.therepanic.funpay4j.client.OkHttpFunPayClient; -import com.therepanic.funpay4j.commands.game.GetPromoGames; -import com.therepanic.funpay4j.commands.lot.GetLot; -import com.therepanic.funpay4j.commands.offer.GetOffer; -import com.therepanic.funpay4j.commands.user.GetSellerReviews; -import com.therepanic.funpay4j.commands.user.GetUser; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.lot.LotNotFoundException; -import com.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; -import com.therepanic.funpay4j.exceptions.user.UserNotFoundException; -import com.therepanic.funpay4j.objects.game.ParsedPromoGame; -import com.therepanic.funpay4j.objects.game.PromoGame; -import com.therepanic.funpay4j.objects.game.PromoGameCounter; -import com.therepanic.funpay4j.objects.lot.Lot; -import com.therepanic.funpay4j.objects.lot.LotCounter; -import com.therepanic.funpay4j.objects.lot.ParsedLot; -import com.therepanic.funpay4j.objects.offer.Offer; -import com.therepanic.funpay4j.objects.offer.ParsedOffer; -import com.therepanic.funpay4j.objects.offer.PreviewOffer; -import com.therepanic.funpay4j.objects.user.*; -import com.therepanic.funpay4j.objects.user.AdvancedSellerReview; -import com.therepanic.funpay4j.objects.user.PreviewSeller; -import com.therepanic.funpay4j.objects.user.Seller; -import com.therepanic.funpay4j.objects.user.SellerReview; -import com.therepanic.funpay4j.objects.user.User; -import com.therepanic.funpay4j.parser.FunPayParser; -import com.therepanic.funpay4j.parser.JsoupFunPayParser; +import io.github.therepanic.funpay4j.client.FunPayClient; +import io.github.therepanic.funpay4j.client.OkHttpFunPayClient; +import io.github.therepanic.funpay4j.commands.game.GetPromoGames; +import io.github.therepanic.funpay4j.commands.lot.GetLot; +import io.github.therepanic.funpay4j.commands.offer.GetOffer; +import io.github.therepanic.funpay4j.commands.user.GetSellerReviews; +import io.github.therepanic.funpay4j.commands.user.GetUser; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.lot.LotNotFoundException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; +import io.github.therepanic.funpay4j.exceptions.user.UserNotFoundException; +import io.github.therepanic.funpay4j.objects.game.ParsedPromoGame; +import io.github.therepanic.funpay4j.objects.game.PromoGame; +import io.github.therepanic.funpay4j.objects.game.PromoGameCounter; +import io.github.therepanic.funpay4j.objects.lot.Lot; +import io.github.therepanic.funpay4j.objects.lot.LotCounter; +import io.github.therepanic.funpay4j.objects.lot.ParsedLot; +import io.github.therepanic.funpay4j.objects.offer.Offer; +import io.github.therepanic.funpay4j.objects.offer.ParsedOffer; +import io.github.therepanic.funpay4j.objects.offer.PreviewOffer; +import io.github.therepanic.funpay4j.objects.user.*; +import io.github.therepanic.funpay4j.objects.user.AdvancedSellerReview; +import io.github.therepanic.funpay4j.objects.user.PreviewSeller; +import io.github.therepanic.funpay4j.objects.user.Seller; +import io.github.therepanic.funpay4j.objects.user.SellerReview; +import io.github.therepanic.funpay4j.objects.user.User; +import io.github.therepanic.funpay4j.parser.FunPayParser; +import io.github.therepanic.funpay4j.parser.JsoupFunPayParser; /** * This FunPay executor is used to execute commands diff --git a/core/src/main/java/com/therepanic/funpay4j/FunPayURL.java b/core/src/main/java/io/github/therepanic/funpay4j/FunPayURL.java similarity index 95% rename from core/src/main/java/com/therepanic/funpay4j/FunPayURL.java rename to core/src/main/java/io/github/therepanic/funpay4j/FunPayURL.java index 3a5facc..ea960da 100644 --- a/core/src/main/java/com/therepanic/funpay4j/FunPayURL.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/FunPayURL.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; /** * Base class for get FunPay base url diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/game/GetPromoGames.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/game/GetPromoGames.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/game/GetPromoGames.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/game/GetPromoGames.java index 37c6a43..badf534 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/game/GetPromoGames.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/game/GetPromoGames.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.game; +package io.github.therepanic.funpay4j.commands.game; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/lot/GetLot.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/lot/GetLot.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/lot/GetLot.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/lot/GetLot.java index 75b2a8e..64336b1 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/lot/GetLot.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/lot/GetLot.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.lot; +package io.github.therepanic.funpay4j.commands.lot; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/offer/CreateOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOffer.java similarity index 96% rename from core/src/main/java/com/therepanic/funpay4j/commands/offer/CreateOffer.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOffer.java index b1b9118..a830a43 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/offer/CreateOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOffer.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.offer; +package io.github.therepanic.funpay4j.commands.offer; import java.util.List; import java.util.Map; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/offer/CreateOfferImage.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOfferImage.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/offer/CreateOfferImage.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOfferImage.java index 7d7e83b..f602bea 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/offer/CreateOfferImage.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOfferImage.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.offer; +package io.github.therepanic.funpay4j.commands.offer; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/offer/DeleteOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/DeleteOffer.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/offer/DeleteOffer.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/offer/DeleteOffer.java index 415f525..887f260 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/offer/DeleteOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/DeleteOffer.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.offer; +package io.github.therepanic.funpay4j.commands.offer; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/offer/EditOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/EditOffer.java similarity index 96% rename from core/src/main/java/com/therepanic/funpay4j/commands/offer/EditOffer.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/offer/EditOffer.java index 6b1aa52..3bd8257 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/offer/EditOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/EditOffer.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.offer; +package io.github.therepanic.funpay4j.commands.offer; import java.util.List; import java.util.Map; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/offer/GetOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/GetOffer.java similarity index 93% rename from core/src/main/java/com/therepanic/funpay4j/commands/offer/GetOffer.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/offer/GetOffer.java index 92e3866..572a3c4 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/offer/GetOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/GetOffer.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.offer; +package io.github.therepanic.funpay4j.commands.offer; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/offer/RaiseAllOffers.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/RaiseAllOffers.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/offer/RaiseAllOffers.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/offer/RaiseAllOffers.java index a4b9372..f947ace 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/offer/RaiseAllOffers.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/RaiseAllOffers.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.offer; +package io.github.therepanic.funpay4j.commands.offer; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/order/GetOrder.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/order/GetOrder.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/order/GetOrder.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/order/GetOrder.java index 46f714b..5d7dea1 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/order/GetOrder.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/order/GetOrder.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.order; +package io.github.therepanic.funpay4j.commands.order; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/transaction/GetTransactions.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/transaction/GetTransactions.java similarity index 87% rename from core/src/main/java/com/therepanic/funpay4j/commands/transaction/GetTransactions.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/transaction/GetTransactions.java index ce25787..2ccab71 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/transaction/GetTransactions.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/transaction/GetTransactions.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.transaction; +package io.github.therepanic.funpay4j.commands.transaction; import lombok.AllArgsConstructor; import lombok.Builder; @@ -21,7 +21,7 @@ import org.jspecify.annotations.Nullable; -import com.therepanic.funpay4j.objects.transaction.TransactionType; +import io.github.therepanic.funpay4j.objects.transaction.TransactionType; /** * Use this command to get transactions diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/user/GetSellerReviews.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetSellerReviews.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/user/GetSellerReviews.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetSellerReviews.java index d1e12c7..e90e0dc 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/user/GetSellerReviews.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetSellerReviews.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.user; +package io.github.therepanic.funpay4j.commands.user; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/user/GetUser.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetUser.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/user/GetUser.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetUser.java index 8e43be9..f6be9e1 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/user/GetUser.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetUser.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.user; +package io.github.therepanic.funpay4j.commands.user; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/commands/user/UpdateAvatar.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/UpdateAvatar.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/commands/user/UpdateAvatar.java rename to core/src/main/java/io/github/therepanic/funpay4j/commands/user/UpdateAvatar.java index ae7da54..366016e 100644 --- a/core/src/main/java/com/therepanic/funpay4j/commands/user/UpdateAvatar.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/UpdateAvatar.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.commands.user; +package io.github.therepanic.funpay4j.commands.user; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/game/PromoGame.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGame.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/objects/game/PromoGame.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGame.java index 0ce9d11..a5ba25e 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/game/PromoGame.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGame.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.game; +package io.github.therepanic.funpay4j.objects.game; import java.util.List; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/game/PromoGameCounter.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGameCounter.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/objects/game/PromoGameCounter.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGameCounter.java index aacc576..58166bb 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/game/PromoGameCounter.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGameCounter.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.game; +package io.github.therepanic.funpay4j.objects.game; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/lot/Lot.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/Lot.java similarity index 89% rename from core/src/main/java/com/therepanic/funpay4j/objects/lot/Lot.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/lot/Lot.java index a9a1cb7..1435a6b 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/lot/Lot.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/Lot.java @@ -12,15 +12,14 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.lot; +package io.github.therepanic.funpay4j.objects.lot; import java.util.List; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; - -import com.therepanic.funpay4j.objects.offer.PreviewOffer; +import io.github.therepanic.funpay4j.objects.offer.PreviewOffer; /** * This object represents the FunPay lot diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/lot/LotCounter.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/LotCounter.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/objects/lot/LotCounter.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/lot/LotCounter.java index 66f0bd5..2ca8d9f 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/lot/LotCounter.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/LotCounter.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.lot; +package io.github.therepanic.funpay4j.objects.lot; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/offer/Offer.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/Offer.java similarity index 90% rename from core/src/main/java/com/therepanic/funpay4j/objects/offer/Offer.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/offer/Offer.java index 6db612a..9976d56 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/offer/Offer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/Offer.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.offer; +package io.github.therepanic.funpay4j.objects.offer; import java.util.List; import java.util.Map; @@ -20,8 +20,7 @@ import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; - -import com.therepanic.funpay4j.objects.user.PreviewSeller; +import io.github.therepanic.funpay4j.objects.user.PreviewSeller; /** * This object represents the FunPay offer diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/offer/PreviewOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/PreviewOffer.java similarity index 89% rename from core/src/main/java/com/therepanic/funpay4j/objects/offer/PreviewOffer.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/offer/PreviewOffer.java index ae28da8..14c2485 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/offer/PreviewOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/PreviewOffer.java @@ -12,13 +12,12 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.offer; +package io.github.therepanic.funpay4j.objects.offer; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; - -import com.therepanic.funpay4j.objects.user.PreviewSeller; +import io.github.therepanic.funpay4j.objects.user.PreviewSeller; /** * This object represents the FunPay preview offer diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/order/Order.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/order/Order.java similarity index 89% rename from core/src/main/java/com/therepanic/funpay4j/objects/order/Order.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/order/Order.java index 3777837..7b5bd42 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/order/Order.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/order/Order.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.order; +package io.github.therepanic.funpay4j.objects.order; import java.util.List; import java.util.Map; @@ -20,8 +20,7 @@ import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; - -import com.therepanic.funpay4j.objects.user.ParsedPreviewUser; +import io.github.therepanic.funpay4j.objects.user.ParsedPreviewUser; /** * This object represents the FunPay order diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/transaction/Transaction.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/Transaction.java similarity index 94% rename from core/src/main/java/com/therepanic/funpay4j/objects/transaction/Transaction.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/Transaction.java index 110a77d..a7e32d9 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/transaction/Transaction.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/Transaction.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.transaction; +package io.github.therepanic.funpay4j.objects.transaction; import java.util.Date; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/transaction/TransactionStatus.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionStatus.java similarity index 92% rename from core/src/main/java/com/therepanic/funpay4j/objects/transaction/TransactionStatus.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionStatus.java index db24f80..6150b25 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/transaction/TransactionStatus.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionStatus.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.transaction; +package io.github.therepanic.funpay4j.objects.transaction; /** * Represents the status of a FunPay transaction diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/transaction/TransactionType.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionType.java similarity index 92% rename from core/src/main/java/com/therepanic/funpay4j/objects/transaction/TransactionType.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionType.java index 9182013..c054a4f 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/transaction/TransactionType.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionType.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.transaction; +package io.github.therepanic.funpay4j.objects.transaction; /** * Represents the type of FunPay transaction diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/user/AdvancedSellerReview.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/AdvancedSellerReview.java similarity index 95% rename from core/src/main/java/com/therepanic/funpay4j/objects/user/AdvancedSellerReview.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/user/AdvancedSellerReview.java index ed782ac..7c01052 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/user/AdvancedSellerReview.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/AdvancedSellerReview.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import java.util.Date; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/user/PreviewSeller.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewSeller.java similarity index 95% rename from core/src/main/java/com/therepanic/funpay4j/objects/user/PreviewSeller.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewSeller.java index 7a4663d..0ca179f 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/user/PreviewSeller.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewSeller.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/user/PreviewUser.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewUser.java similarity index 95% rename from core/src/main/java/com/therepanic/funpay4j/objects/user/PreviewUser.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewUser.java index 0c234f3..964bb63 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/user/PreviewUser.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewUser.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/user/Seller.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/Seller.java similarity index 90% rename from core/src/main/java/com/therepanic/funpay4j/objects/user/Seller.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/user/Seller.java index ff93319..2b05670 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/user/Seller.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/Seller.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import java.util.List; @@ -22,8 +22,7 @@ import lombok.Setter; import lombok.ToString; import lombok.experimental.SuperBuilder; - -import com.therepanic.funpay4j.objects.offer.PreviewOffer; +import io.github.therepanic.funpay4j.objects.offer.PreviewOffer; /** * This object represents the FunPay seller diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/user/SellerReview.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/SellerReview.java similarity index 95% rename from core/src/main/java/com/therepanic/funpay4j/objects/user/SellerReview.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/user/SellerReview.java index 7627ea3..2670d53 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/user/SellerReview.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/SellerReview.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/core/src/main/java/com/therepanic/funpay4j/objects/user/User.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/User.java similarity index 95% rename from core/src/main/java/com/therepanic/funpay4j/objects/user/User.java rename to core/src/main/java/io/github/therepanic/funpay4j/objects/user/User.java index c2e411e..cb355ed 100644 --- a/core/src/main/java/com/therepanic/funpay4j/objects/user/User.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/User.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j.objects.user; +package io.github.therepanic.funpay4j.objects.user; import java.util.Date; import java.util.List; diff --git a/core/src/main/java/com/therepanic/funpay4j/package-info.java b/core/src/main/java/io/github/therepanic/funpay4j/package-info.java similarity index 93% rename from core/src/main/java/com/therepanic/funpay4j/package-info.java rename to core/src/main/java/io/github/therepanic/funpay4j/package-info.java index b95cab2..c672565 100644 --- a/core/src/main/java/com/therepanic/funpay4j/package-info.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/package-info.java @@ -13,4 +13,4 @@ */ @org.jspecify.annotations.NullMarked -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; diff --git a/core/src/test/java/com/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java b/core/src/test/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java similarity index 93% rename from core/src/test/java/com/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java rename to core/src/test/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java index fafaa13..ea3ccbf 100644 --- a/core/src/test/java/com/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java +++ b/core/src/test/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -35,18 +35,18 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.therepanic.funpay4j.commands.offer.CreateOffer; -import com.therepanic.funpay4j.commands.offer.CreateOfferImage; -import com.therepanic.funpay4j.commands.offer.DeleteOffer; -import com.therepanic.funpay4j.commands.offer.EditOffer; -import com.therepanic.funpay4j.commands.offer.RaiseAllOffers; -import com.therepanic.funpay4j.commands.order.GetOrder; -import com.therepanic.funpay4j.commands.transaction.GetTransactions; -import com.therepanic.funpay4j.commands.user.UpdateAvatar; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; -import com.therepanic.funpay4j.objects.order.Order; -import com.therepanic.funpay4j.objects.transaction.Transaction; +import io.github.therepanic.funpay4j.commands.offer.CreateOffer; +import io.github.therepanic.funpay4j.commands.offer.CreateOfferImage; +import io.github.therepanic.funpay4j.commands.offer.DeleteOffer; +import io.github.therepanic.funpay4j.commands.offer.EditOffer; +import io.github.therepanic.funpay4j.commands.offer.RaiseAllOffers; +import io.github.therepanic.funpay4j.commands.order.GetOrder; +import io.github.therepanic.funpay4j.commands.transaction.GetTransactions; +import io.github.therepanic.funpay4j.commands.user.UpdateAvatar; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; +import io.github.therepanic.funpay4j.objects.order.Order; +import io.github.therepanic.funpay4j.objects.transaction.Transaction; /** * @author therepanic diff --git a/core/src/test/java/com/therepanic/funpay4j/FunPayExecutorTest.java b/core/src/test/java/io/github/therepanic/funpay4j/FunPayExecutorTest.java similarity index 89% rename from core/src/test/java/com/therepanic/funpay4j/FunPayExecutorTest.java rename to core/src/test/java/io/github/therepanic/funpay4j/FunPayExecutorTest.java index 0d1ad0f..16e152f 100644 --- a/core/src/test/java/com/therepanic/funpay4j/FunPayExecutorTest.java +++ b/core/src/test/java/io/github/therepanic/funpay4j/FunPayExecutorTest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -34,17 +34,17 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.therepanic.funpay4j.commands.game.GetPromoGames; -import com.therepanic.funpay4j.commands.lot.GetLot; -import com.therepanic.funpay4j.commands.offer.GetOffer; -import com.therepanic.funpay4j.commands.user.GetSellerReviews; -import com.therepanic.funpay4j.commands.user.GetUser; -import com.therepanic.funpay4j.objects.game.PromoGame; -import com.therepanic.funpay4j.objects.lot.Lot; -import com.therepanic.funpay4j.objects.offer.Offer; -import com.therepanic.funpay4j.objects.user.AdvancedSellerReview; -import com.therepanic.funpay4j.objects.user.Seller; -import com.therepanic.funpay4j.objects.user.SellerReview; +import io.github.therepanic.funpay4j.commands.game.GetPromoGames; +import io.github.therepanic.funpay4j.commands.lot.GetLot; +import io.github.therepanic.funpay4j.commands.offer.GetOffer; +import io.github.therepanic.funpay4j.commands.user.GetSellerReviews; +import io.github.therepanic.funpay4j.commands.user.GetUser; +import io.github.therepanic.funpay4j.objects.game.PromoGame; +import io.github.therepanic.funpay4j.objects.lot.Lot; +import io.github.therepanic.funpay4j.objects.offer.Offer; +import io.github.therepanic.funpay4j.objects.user.AdvancedSellerReview; +import io.github.therepanic.funpay4j.objects.user.Seller; +import io.github.therepanic.funpay4j.objects.user.SellerReview; /** * @author therepanic diff --git a/examples/src/main/java/com/therepanic/funpay4j/game/GetPromoGames.java b/examples/src/main/java/io/github/therepanic/funpay4j/game/GetPromoGames.java similarity index 78% rename from examples/src/main/java/com/therepanic/funpay4j/game/GetPromoGames.java rename to examples/src/main/java/io/github/therepanic/funpay4j/game/GetPromoGames.java index 6945438..e1c1316 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/game/GetPromoGames.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/game/GetPromoGames.java @@ -12,11 +12,11 @@ * limitations under the License. */ -package com.therepanic.funpay4j.game; +package io.github.therepanic.funpay4j.game; -import com.therepanic.funpay4j.FunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.objects.game.PromoGame; +import io.github.therepanic.funpay4j.FunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.objects.game.PromoGame; import java.net.InetSocketAddress; import java.net.Proxy; @@ -37,7 +37,7 @@ public static void main(String[] args) { List promoGames; try { - promoGames = executor.execute(com.therepanic.funpay4j.commands.game.GetPromoGames.builder() + promoGames = executor.execute(io.github.therepanic.funpay4j.commands.game.GetPromoGames.builder() .query("dota") .build()); diff --git a/examples/src/main/java/com/therepanic/funpay4j/lot/GetLot.java b/examples/src/main/java/io/github/therepanic/funpay4j/lot/GetLot.java similarity index 77% rename from examples/src/main/java/com/therepanic/funpay4j/lot/GetLot.java rename to examples/src/main/java/io/github/therepanic/funpay4j/lot/GetLot.java index dec04a3..79513ab 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/lot/GetLot.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/lot/GetLot.java @@ -12,12 +12,12 @@ * limitations under the License. */ -package com.therepanic.funpay4j.lot; +package io.github.therepanic.funpay4j.lot; -import com.therepanic.funpay4j.FunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.lot.LotNotFoundException; -import com.therepanic.funpay4j.objects.lot.Lot; +import io.github.therepanic.funpay4j.FunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.lot.LotNotFoundException; +import io.github.therepanic.funpay4j.objects.lot.Lot; import java.net.InetSocketAddress; import java.net.Proxy; @@ -37,7 +37,7 @@ public static void main(String[] args) { Lot lot; try { - lot = executor.execute(com.therepanic.funpay4j.commands.lot.GetLot.builder() + lot = executor.execute(io.github.therepanic.funpay4j.commands.lot.GetLot.builder() .lotId(81L) .build()); diff --git a/examples/src/main/java/com/therepanic/funpay4j/offer/CreateOffer.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOffer.java similarity index 85% rename from examples/src/main/java/com/therepanic/funpay4j/offer/CreateOffer.java rename to examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOffer.java index 4de7785..16f3972 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/offer/CreateOffer.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOffer.java @@ -12,12 +12,12 @@ * limitations under the License. */ -package com.therepanic.funpay4j.offer; +package io.github.therepanic.funpay4j.offer; -import com.therepanic.funpay4j.commands.offer.CreateOfferImage; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.commands.offer.CreateOfferImage; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; import java.io.IOException; import java.net.InetSocketAddress; @@ -61,7 +61,7 @@ public static void main(String[] args) throws IOException { fields.put("fields[quality]", "Inscribed"); fields.put("fields[method]", "Мгновенно"); - executor.execute(com.therepanic.funpay4j.commands.offer.CreateOffer.builder() + executor.execute(io.github.therepanic.funpay4j.commands.offer.CreateOffer.builder() .lotId(210L) .price(200D) .amount(5) diff --git a/examples/src/main/java/com/therepanic/funpay4j/offer/CreateOfferImage.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOfferImage.java similarity index 80% rename from examples/src/main/java/com/therepanic/funpay4j/offer/CreateOfferImage.java rename to examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOfferImage.java index c4705f5..59f9778 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/offer/CreateOfferImage.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOfferImage.java @@ -12,11 +12,11 @@ * limitations under the License. */ -package com.therepanic.funpay4j.offer; +package io.github.therepanic.funpay4j.offer; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; import java.io.IOException; import java.net.InetSocketAddress; @@ -38,7 +38,7 @@ public static void main(String[] args) throws IOException { try { - Long imageId = executor.execute(com.therepanic.funpay4j.commands.offer.CreateOfferImage.builder() + Long imageId = executor.execute(io.github.therepanic.funpay4j.commands.offer.CreateOfferImage.builder() .image(Files.readAllBytes(Paths.get("PATH-TO-IMAGE"))) .build()); diff --git a/examples/src/main/java/com/therepanic/funpay4j/offer/DeleteOffer.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/DeleteOffer.java similarity index 79% rename from examples/src/main/java/com/therepanic/funpay4j/offer/DeleteOffer.java rename to examples/src/main/java/io/github/therepanic/funpay4j/offer/DeleteOffer.java index 35e7055..5c3bd77 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/offer/DeleteOffer.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/DeleteOffer.java @@ -12,11 +12,11 @@ * limitations under the License. */ -package com.therepanic.funpay4j.offer; +package io.github.therepanic.funpay4j.offer; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; import java.net.InetSocketAddress; import java.net.Proxy; @@ -35,7 +35,7 @@ public static void main(String[] args) { try { - executor.execute(com.therepanic.funpay4j.commands.offer.DeleteOffer.builder() + executor.execute(io.github.therepanic.funpay4j.commands.offer.DeleteOffer.builder() .lotId(210L) .offerId(34626245L) .build()); diff --git a/examples/src/main/java/com/therepanic/funpay4j/offer/EditOffer.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/EditOffer.java similarity index 84% rename from examples/src/main/java/com/therepanic/funpay4j/offer/EditOffer.java rename to examples/src/main/java/io/github/therepanic/funpay4j/offer/EditOffer.java index 81593ad..ddf1072 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/offer/EditOffer.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/EditOffer.java @@ -12,11 +12,11 @@ * limitations under the License. */ -package com.therepanic.funpay4j.offer; +package io.github.therepanic.funpay4j.offer; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; import java.net.InetSocketAddress; import java.net.Proxy; @@ -44,7 +44,7 @@ public static void main(String[] args) { fields.put("fields[quality]", "Inscribed"); fields.put("fields[method]", "Мгновенно"); - executor.execute(com.therepanic.funpay4j.commands.offer.EditOffer.builder() + executor.execute(io.github.therepanic.funpay4j.commands.offer.EditOffer.builder() .lotId(210L) .offerId(53453453L) .price(200D) diff --git a/examples/src/main/java/com/therepanic/funpay4j/offer/GetOffer.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/GetOffer.java similarity index 76% rename from examples/src/main/java/com/therepanic/funpay4j/offer/GetOffer.java rename to examples/src/main/java/io/github/therepanic/funpay4j/offer/GetOffer.java index 8685dd3..598ae13 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/offer/GetOffer.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/GetOffer.java @@ -12,12 +12,12 @@ * limitations under the License. */ -package com.therepanic.funpay4j.offer; +package io.github.therepanic.funpay4j.offer; -import com.therepanic.funpay4j.FunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; -import com.therepanic.funpay4j.objects.offer.Offer; +import io.github.therepanic.funpay4j.FunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferNotFoundException; +import io.github.therepanic.funpay4j.objects.offer.Offer; import java.net.InetSocketAddress; import java.net.Proxy; @@ -37,7 +37,7 @@ public static void main(String[] args) { Offer offer; try { - offer = executor.execute(com.therepanic.funpay4j.commands.offer.GetOffer.builder() + offer = executor.execute(io.github.therepanic.funpay4j.commands.offer.GetOffer.builder() .offerId(26021761L) .build()); diff --git a/examples/src/main/java/com/therepanic/funpay4j/offer/RaiseAllOffers.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/RaiseAllOffers.java similarity index 76% rename from examples/src/main/java/com/therepanic/funpay4j/offer/RaiseAllOffers.java rename to examples/src/main/java/io/github/therepanic/funpay4j/offer/RaiseAllOffers.java index ffe9d39..5bad610 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/offer/RaiseAllOffers.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/RaiseAllOffers.java @@ -12,12 +12,12 @@ * limitations under the License. */ -package com.therepanic.funpay4j.offer; +package io.github.therepanic.funpay4j.offer; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException; import java.net.InetSocketAddress; import java.net.Proxy; @@ -35,7 +35,7 @@ public static void main(String[] args) { AuthorizedFunPayExecutor authorizedExecutor = new AuthorizedFunPayExecutor("test-golden-key", proxy); try { - authorizedExecutor.execute(com.therepanic.funpay4j.commands.offer.RaiseAllOffers.builder() + authorizedExecutor.execute(io.github.therepanic.funpay4j.commands.offer.RaiseAllOffers.builder() .lotId(123L) .gameId(123L) .build()); diff --git a/examples/src/main/java/com/therepanic/funpay4j/order/GetOrder.java b/examples/src/main/java/io/github/therepanic/funpay4j/order/GetOrder.java similarity index 77% rename from examples/src/main/java/com/therepanic/funpay4j/order/GetOrder.java rename to examples/src/main/java/io/github/therepanic/funpay4j/order/GetOrder.java index 7496df7..5abcd19 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/order/GetOrder.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/order/GetOrder.java @@ -12,11 +12,11 @@ * limitations under the License. */ -package com.therepanic.funpay4j.order; +package io.github.therepanic.funpay4j.order; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; import java.net.InetSocketAddress; import java.net.Proxy; @@ -29,7 +29,7 @@ public static void main(String[] args) { AuthorizedFunPayExecutor executor = new AuthorizedFunPayExecutor("test-golden-key", proxy); try { - System.out.println(executor.execute(com.therepanic.funpay4j.commands.order.GetOrder.builder() + System.out.println(executor.execute(io.github.therepanic.funpay4j.commands.order.GetOrder.builder() .orderId("YOUR ORDER ID") .build())); } catch (FunPayApiException e) { diff --git a/examples/src/main/java/com/therepanic/funpay4j/transaction/GetTransactions.java b/examples/src/main/java/io/github/therepanic/funpay4j/transaction/GetTransactions.java similarity index 75% rename from examples/src/main/java/com/therepanic/funpay4j/transaction/GetTransactions.java rename to examples/src/main/java/io/github/therepanic/funpay4j/transaction/GetTransactions.java index a3a20aa..f7d50a4 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/transaction/GetTransactions.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/transaction/GetTransactions.java @@ -12,12 +12,12 @@ * limitations under the License. */ -package com.therepanic.funpay4j.transaction; +package io.github.therepanic.funpay4j.transaction; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.objects.transaction.TransactionType; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.objects.transaction.TransactionType; import java.net.InetSocketAddress; import java.net.Proxy; @@ -36,7 +36,7 @@ public static void main(String[] args) { try { - System.out.println(executor.execute(com.therepanic.funpay4j.commands.transaction.GetTransactions.builder() + System.out.println(executor.execute(io.github.therepanic.funpay4j.commands.transaction.GetTransactions.builder() .pages(2) .userId(1940073L) .type(TransactionType.WITHDRAW) diff --git a/examples/src/main/java/com/therepanic/funpay4j/user/GetSellerReviews.java b/examples/src/main/java/io/github/therepanic/funpay4j/user/GetSellerReviews.java similarity index 78% rename from examples/src/main/java/com/therepanic/funpay4j/user/GetSellerReviews.java rename to examples/src/main/java/io/github/therepanic/funpay4j/user/GetSellerReviews.java index e259bc8..3e7645a 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/user/GetSellerReviews.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/user/GetSellerReviews.java @@ -12,13 +12,13 @@ * limitations under the License. */ -package com.therepanic.funpay4j.user; +package io.github.therepanic.funpay4j.user; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.user.UserNotFoundException; -import com.therepanic.funpay4j.objects.user.AdvancedSellerReview; -import com.therepanic.funpay4j.objects.user.SellerReview; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.user.UserNotFoundException; +import io.github.therepanic.funpay4j.objects.user.AdvancedSellerReview; +import io.github.therepanic.funpay4j.objects.user.SellerReview; import java.net.InetSocketAddress; import java.net.Proxy; @@ -39,7 +39,7 @@ public static void main(String[] args) { List sellerReviews; try { - sellerReviews = authorizedExecutor.execute(com.therepanic.funpay4j.commands.user.GetSellerReviews.builder() + sellerReviews = authorizedExecutor.execute(io.github.therepanic.funpay4j.commands.user.GetSellerReviews.builder() .pages(2) .userId(1940073L) .starsFilter(null) diff --git a/examples/src/main/java/com/therepanic/funpay4j/user/GetUser.java b/examples/src/main/java/io/github/therepanic/funpay4j/user/GetUser.java similarity index 76% rename from examples/src/main/java/com/therepanic/funpay4j/user/GetUser.java rename to examples/src/main/java/io/github/therepanic/funpay4j/user/GetUser.java index 0c538ab..17b0e52 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/user/GetUser.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/user/GetUser.java @@ -12,13 +12,13 @@ * limitations under the License. */ -package com.therepanic.funpay4j.user; +package io.github.therepanic.funpay4j.user; -import com.therepanic.funpay4j.FunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.user.UserNotFoundException; -import com.therepanic.funpay4j.objects.user.Seller; -import com.therepanic.funpay4j.objects.user.User; +import io.github.therepanic.funpay4j.FunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.user.UserNotFoundException; +import io.github.therepanic.funpay4j.objects.user.Seller; +import io.github.therepanic.funpay4j.objects.user.User; import java.net.InetSocketAddress; import java.net.Proxy; @@ -38,7 +38,7 @@ public static void main(String[] args) { User user; try { - user = executor.execute(com.therepanic.funpay4j.commands.user.GetUser.builder() + user = executor.execute(io.github.therepanic.funpay4j.commands.user.GetUser.builder() .userId(1940073L) .build()); diff --git a/examples/src/main/java/com/therepanic/funpay4j/user/UpdateAvatar.java b/examples/src/main/java/io/github/therepanic/funpay4j/user/UpdateAvatar.java similarity index 80% rename from examples/src/main/java/com/therepanic/funpay4j/user/UpdateAvatar.java rename to examples/src/main/java/io/github/therepanic/funpay4j/user/UpdateAvatar.java index 47e8952..1a81122 100644 --- a/examples/src/main/java/com/therepanic/funpay4j/user/UpdateAvatar.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/user/UpdateAvatar.java @@ -12,11 +12,11 @@ * limitations under the License. */ -package com.therepanic.funpay4j.user; +package io.github.therepanic.funpay4j.user; -import com.therepanic.funpay4j.AuthorizedFunPayExecutor; -import com.therepanic.funpay4j.exceptions.FunPayApiException; -import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; +import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; +import io.github.therepanic.funpay4j.exceptions.FunPayApiException; +import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException; import java.io.IOException; import java.net.InetSocketAddress; @@ -37,7 +37,7 @@ public static void main(String[] args) throws IOException { AuthorizedFunPayExecutor authorizedExecutor = new AuthorizedFunPayExecutor("test-golden-key", proxy); try { - authorizedExecutor.execute(com.therepanic.funpay4j.commands.user.UpdateAvatar.builder() + authorizedExecutor.execute(io.github.therepanic.funpay4j.commands.user.UpdateAvatar.builder() .newAvatar(Files.readAllBytes(Paths.get("PATH-TO-IMAGE"))) .build()); } catch (FunPayApiException e) { diff --git a/utils/src/main/java/com/therepanic/funpay4j/FunPayUserUtil.java b/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java similarity index 99% rename from utils/src/main/java/com/therepanic/funpay4j/FunPayUserUtil.java rename to utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java index 1b76954..a5e81fb 100644 --- a/utils/src/main/java/com/therepanic/funpay4j/FunPayUserUtil.java +++ b/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java @@ -26,7 +26,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; import java.text.ParseException; import java.text.SimpleDateFormat; diff --git a/utils/src/main/java/com/therepanic/funpay4j/package-info.java b/utils/src/main/java/io/github/therepanic/funpay4j/package-info.java similarity index 93% rename from utils/src/main/java/com/therepanic/funpay4j/package-info.java rename to utils/src/main/java/io/github/therepanic/funpay4j/package-info.java index b95cab2..c672565 100644 --- a/utils/src/main/java/com/therepanic/funpay4j/package-info.java +++ b/utils/src/main/java/io/github/therepanic/funpay4j/package-info.java @@ -13,4 +13,4 @@ */ @org.jspecify.annotations.NullMarked -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; diff --git a/utils/src/test/java/com/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java b/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java similarity index 98% rename from utils/src/test/java/com/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java rename to utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java index dd5d385..2b25408 100644 --- a/utils/src/test/java/com/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java +++ b/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/utils/src/test/java/com/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java b/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java similarity index 98% rename from utils/src/test/java/com/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java rename to utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java index 17fc40e..d4a08b4 100644 --- a/utils/src/test/java/com/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java +++ b/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java @@ -12,7 +12,7 @@ * limitations under the License. */ -package com.therepanic.funpay4j; +package io.github.therepanic.funpay4j; import static org.junit.jupiter.api.Assertions.assertEquals;