Skip to content

Commit

Permalink
thunderpay-api: billing[catalog(InternationPrice)]
Browse files Browse the repository at this point in the history
  • Loading branch information
krishpranav committed Jan 21, 2025
1 parent ef3cc20 commit 92beaff
Showing 1 changed file with 22 additions and 0 deletions.
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();
}

0 comments on commit 92beaff

Please sign in to comment.