Skip to content

Commit

Permalink
fix: list items.
Browse files Browse the repository at this point in the history
  • Loading branch information
nonz250 committed Apr 8, 2024
1 parent a6f4f28 commit b9977a6
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ namespace Payjp {
net: number,
term: Term | null,
balance_id: string,
items: List<StatementItems>,
items: StatementItems[],
updated: number,
}

export interface StatementItems {
Expand Down Expand Up @@ -516,13 +517,7 @@ namespace Payjp {
net: number,
object: "balance",
state: "collecting" | "transfer" | "claim",
statements: {
count: number,
data: List<Statement>,
has_more: false,
object: "list",
url: string
},
statements: Statement[],
closed: boolean,
due_date: null | number,
tenant_id: string,
Expand Down

0 comments on commit b9977a6

Please sign in to comment.