-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thunderpay-api: billing[catalog(InternationPrice)]
- Loading branch information
1 parent
ef3cc20
commit 92beaff
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
thunderpay-api/src/main/java/org/thunderpay/billing/catalog/api/InternationalPrice.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* @file InternationalPrice.java | ||
* @author Krisna Pranav | ||
* @brief Internation Price | ||
* @version 1.0 | ||
* @date 2025-01-21 | ||
* | ||
* @copyright Copyright (c) 2024 ThunderPayment Developers, Krisna Pranav | ||
* | ||
*/ | ||
|
||
package org.thunderpay.billing.catalog.api; | ||
|
||
import java.math.BigDecimal; | ||
|
||
public interface InternationalPrice { | ||
public abstract Price[] getPrices(); | ||
|
||
public abstract BigDecimal getPrice(Currency currency) throws CatalogApiException; | ||
|
||
public abstract boolean isZero(); | ||
} |