-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9eb88cf
commit b40b759
Showing
6 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .debit import SepaDD as SepaDD | ||
from .transfer import SepaTransfer as SepaTransfer | ||
|
||
version: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from .shared import SepaPaymentInitn as SepaPaymentInitn | ||
from .utils import ADDRESS_MAPPING as ADDRESS_MAPPING, int_to_decimal_str as int_to_decimal_str, make_id as make_id | ||
|
||
class SepaDD(SepaPaymentInitn): | ||
root_el: str | ||
def __init__(self, config, schema: str = 'pain.008.003.02', clean: bool = True) -> None: ... | ||
def check_config(self, config): ... | ||
def check_payment(self, payment): ... | ||
def add_payment(self, payment) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from .utils import decimal_str_to_int as decimal_str_to_int, int_to_decimal_str as int_to_decimal_str, make_msg_id as make_msg_id | ||
from .validation import try_valid_xml as try_valid_xml | ||
from _typeshed import Incomplete | ||
|
||
class SepaPaymentInitn: | ||
schema: Incomplete | ||
msg_id: Incomplete | ||
clean: Incomplete | ||
def __init__(self, config, schema, clean: bool = True) -> None: ... | ||
def export(self, validate: bool = True, pretty_print: bool = False) -> bytes: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from .shared import SepaPaymentInitn as SepaPaymentInitn | ||
from .utils import ADDRESS_MAPPING as ADDRESS_MAPPING, int_to_decimal_str as int_to_decimal_str, make_id as make_id | ||
|
||
class SepaTransfer(SepaPaymentInitn): | ||
root_el: str | ||
def __init__(self, config, schema: str = 'pain.001.001.03', clean: bool = True) -> None: ... | ||
def check_config(self, config): ... | ||
def check_payment(self, payment): ... | ||
def add_payment(self, payment) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from _typeshed import Incomplete | ||
|
||
using_sysrandom: bool | ||
|
||
def get_rand_string(length: int = 12, allowed_chars: str = '0123456789abcdef'): ... | ||
def make_msg_id(): ... | ||
def make_id(name): ... | ||
def int_to_decimal_str(integer): ... | ||
def decimal_str_to_int(decimal_string): ... | ||
|
||
ADDRESS_MAPPING: Incomplete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class ValidationError(Exception): ... | ||
|
||
def try_valid_xml(xmlout, schema) -> None: ... |