Skip to content

Commit

Permalink
feat(wallet): Add started_at to recurring_transaction_rule
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Jun 4, 2024
1 parent f208c61 commit 73771b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lago_python_client/models/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class RecurringTransactionRule(BaseModel):
method: Optional[str]
paid_credits: Optional[str]
granted_credits: Optional[str]
started_at: Optional[str]
target_ongoing_balance: Optional[str]


Expand All @@ -24,6 +25,7 @@ class RecurringTransactionRuleResponse(BaseModel):
method: Optional[str]
paid_credits: Optional[str]
granted_credits: Optional[str]
started_at: Optional[str]
target_ongoing_balance: Optional[str]
created_at: Optional[str]

Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/wallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"interval": "monthly",
"paid_credits": "105.0",
"granted_credits": "105.0",
"started_at": null,
"target_ongoing_balance": "200.0"
}
],
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/wallet_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"interval": "monthly",
"paid_credits": "105.0",
"granted_credits": "105.0",
"started_at": null,
"target_ongoing_balance": null
}
]
Expand Down

0 comments on commit 73771b4

Please sign in to comment.