-
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(Price)]
- Loading branch information
1 parent
6a05ab8
commit ef3cc20
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
thunderpay-api/src/main/java/org/thunderpay/billing/catalog/api/Price.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,20 @@ | ||
/** | ||
* @file Price.java | ||
* @author Krisna Pranav | ||
* @brief 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 Price { | ||
public Currency getCurrency(); | ||
|
||
public BigDecimal getValue() throws CurrencyValueNull; | ||
} |