-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprogram.py
More file actions
71 lines (50 loc) · 2.06 KB
/
program.py
File metadata and controls
71 lines (50 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from datetime import datetime
from typing_extensions import Literal
from .._models import BaseModel
__all__ = ["Program", "Lending"]
class Lending(BaseModel):
"""The lending details for the program."""
maximum_extendable_credit: int
"""The maximum extendable credit of the program."""
class Program(BaseModel):
"""Programs determine the compliance and commercial terms of Accounts.
By default, you have a Commercial Banking program for managing your own funds. If you are lending or managing funds on behalf of your customers, or otherwise engaged in regulated activity, we will work together to create additional Programs for you.
"""
id: str
"""The Program identifier."""
bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank"]
"""The Bank the Program is with.
- `core_bank` - Core Bank
- `first_internet_bank` - First Internet Bank of Indiana
- `grasshopper_bank` - Grasshopper Bank
"""
billing_account_id: Optional[str] = None
"""The Program billing account."""
created_at: datetime
"""
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Program
was created.
"""
default_digital_card_profile_id: Optional[str] = None
"""The default configuration for digital cards attached to this Program."""
interest_rate: str
"""
The Interest Rate currently being earned on the accounts in this program, as a
string containing a decimal number. For example, a 1% interest rate would be
represented as "0.01".
"""
lending: Optional[Lending] = None
"""The lending details for the program."""
name: str
"""The name of the Program."""
type: Literal["program"]
"""A constant representing the object's type.
For this resource it will always be `program`.
"""
updated_at: datetime
"""
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Program
was last updated.
"""