mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: rename voucher to license.
This commit is contained in:
@@ -2,16 +2,16 @@
|
||||
|
||||
export interface IPaymentModel {}
|
||||
|
||||
export interface IVoucherPaymentModel extends IPaymentModel {
|
||||
voucherCode: string;
|
||||
export interface ILicensePaymentModel extends IPaymentModel {
|
||||
licenseCode: string;
|
||||
}
|
||||
|
||||
export interface IPaymentMethod {
|
||||
makePayment(paymentModel: IPaymentModel): Promise<boolean>;
|
||||
}
|
||||
|
||||
export interface IVoucherPaymentMethod {
|
||||
makePayment(paymentModel: IVoucherPaymentModel): Promise<boolean>;
|
||||
export interface ILicensePaymentMethod {
|
||||
makePayment(paymentModel: ILicensePaymentModel): Promise<boolean>;
|
||||
}
|
||||
|
||||
export interface IPaymentContext<PaymentModel> {
|
||||
|
||||
Reference in New Issue
Block a user