Skip to content

Commit 0ce6aaf

Browse files
committed
feat(bills): adds deprecation
1 parent b96143c commit 0ce6aaf

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/resources/Bills.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import Payments from "./Payments";
44
import { PaymentsStatic } from "../interfaces/PaymentsStatic";
55
import { BaseStatic } from "../interfaces/BaseStatic";
66

7+
/**
8+
* @deprecated Use BillsV4 instead
9+
*/
710
export default class Bills extends BaseCrud<
811
BillsStatic.Bill,
912
BillsStatic.BillFull,

src/resources/Payments.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import BaseCrud from "./BaseCrud";
22
import { PaymentsStatic } from "../interfaces/PaymentsStatic";
33
import { BaseStatic } from "../interfaces/BaseStatic";
44

5+
/**
6+
* @deprecated Payments are now handled via BillsV4.listPayments()
7+
*/
58
export default class Payments extends BaseCrud<
69
PaymentsStatic.Payment,
710
PaymentsStatic.Payment,

0 commit comments

Comments
 (0)