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
|
import braintree
from braintree.resource import Resource
from braintree.configuration import Configuration
class SEPABankAccount(Resource):
class MandateType(object):
"""
Constants representing the type of the mandate. Available type:
* Braintree.SEPABankAccount.MandateType.Business
* Braintree.SEPABankAccount.MandateType.Consumer
"""
Business = "business"
Consumer = "consumer"
@staticmethod
def signature():
signature = [
"billing_address",
"customer_id",
"token",
"masked_iban",
"bic",
"mandate_reference_number",
"mandate_accepted_at",
"account_holder_name"
]
return signature
|