<s> from django import forms <EOL> from django . conf import settings <EOL> class BraintreePaymentsForm ( forms . Form ) : <EOL> transaction__customer__first_name = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__customer__last_name = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__customer__company = forms . CharField ( max_length = <NUM_LIT:100> , required = False ) <EOL> transaction__customer__email = forms . EmailField ( required = False ) <EOL> transaction__customer__phone = forms . CharField ( max_length = <NUM_LIT:15> , required = False ) <EOL> transaction__customer__fax = forms . CharField ( max_length = <NUM_LIT:15> , required = False ) <EOL> transaction__customer__website = forms . URLField ( required = False ) <EOL> transaction__credit_card__cardholder_name = forms . CharField ( max_length = <NUM_LIT:100> ) <EOL> transaction__credit_card__number = forms . CharField ( ) <EOL> transaction__credit_card__cvv = forms . CharField ( max_length = <NUM_LIT:4> ) <EOL> transaction__credit_card__expiration_date = forms . CharField ( max_length = <NUM_LIT:7> ) <EOL> transaction__billing__first_name = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__billing__last_name = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__billing__company = forms . CharField ( max_length = <NUM_LIT:100> , required = False ) <EOL> transaction__billing__street_address = forms . CharField ( widget = forms . Textarea ( ) , required = False ) <EOL> transaction__billing__extended_address = forms . CharField ( widget = forms . Textarea ( ) , required = False ) <EOL> transaction__billing__locality = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__billing__region = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__billing__postal_code = forms . CharField ( max_length = <NUM_LIT:10> , required = False ) <EOL> transaction__billing__country_code_alpha2 = forms . CharField ( max_length = <NUM_LIT:2> , required = False ) <EOL> transaction__billing__country_code_alpha3 = forms . CharField ( max_length = <NUM_LIT:3> , required = False ) <EOL> transaction__billing__country_code_numeric = forms . IntegerField ( required = False , min_value = <NUM_LIT:0> ) <EOL> transaction__billing__country_name = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__shipping__first_name = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__shipping__last_name = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__shipping__company = forms . CharField ( max_length = <NUM_LIT:100> , required = False ) <EOL> transaction__shipping__street_address = forms . CharField ( widget = forms . Textarea ( ) , required = False ) <EOL> transaction__shipping__extended_address = forms . CharField ( widget = forms . Textarea ( ) , required = False ) <EOL> transaction__shipping__locality = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__shipping__region = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__shipping__postal_code = forms . CharField ( max_length = <NUM_LIT:10> , required = False ) <EOL> transaction__shipping__country_code_alpha2 = forms . CharField ( max_length = <NUM_LIT:2> , required = False ) <EOL> transaction__shipping__country_code_alpha3 = forms . CharField ( max_length = <NUM_LIT:3> , required = False ) <EOL> transaction__shipping__country_code_numeric = forms . IntegerField ( required = False , min_value = <NUM_LIT:0> ) <EOL> transaction__shipping__country_name = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__options__add_billing_address_to_payment_method = forms . BooleanField ( required = False ) <EOL> transaction__options__store_shipping_address_in_vault = forms . BooleanField ( required = False ) <EOL> transaction__options__store_in_vault_on_success = forms . BooleanField ( required = False ) <EOL> transaction__options__submit_for_settlement = forms . BooleanField ( required = False ) <EOL> transaction__type = forms . CharField ( max_length = <NUM_LIT:10> ) <EOL> transaction__amount = forms . DecimalField ( required = False ) <EOL> transaction__order_id = forms . CharField ( max_length = <NUM_LIT:50> ) <EOL> transaction__customer__id = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__credit_card__token = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> transaction__payment_method_token = forms . CharField ( max_length = <NUM_LIT:50> , required = False ) <EOL> tr_data = forms . CharField ( widget = forms . HiddenInput ( ) ) </s>
