Skip to content

Commit b194100

Browse files
authored
Merge pull request #75 from tetexxr/feature/expose-cancellation-motive
Expose cancellation motive to be used easily
2 parents 4c39fa1 + 19b551e commit b194100

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ export default class Facturapi {
8080
return enums.InvoiceStatus;
8181
}
8282

83+
static get CancellationMotive() {
84+
return enums.CancellationMotive;
85+
}
86+
8387
constructor(apiKey: string, options: FacturapiOptions = {}) {
8488
if (options.apiVersion) {
8589
if (!VALID_API_VERSIONS.includes(options.apiVersion)) {

0 commit comments

Comments
 (0)