Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str Str Str decorator_list decorator_list ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Assign NameStore TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str body AugAssignSub AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str Str Str Str Assign NameStore TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str body Return Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str If Call AttributeLoad NameLoad attr Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Return Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str body Return TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str attr Assign NameStore Dict Str Str Str Str Str Str Str SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr body Assign SubscriptStore NameLoad Index Str Str orelse Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return TupleLoad Str AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases body Assign NameStore TupleLoad Str Str Str Str Str Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad ClassDef bases body Assign NameStore ListLoad Call NameLoad keyword Str keyword Str keyword Num Call NameLoad keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Str If Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr body Assign NameStore Str orelse Assign NameStore Str AugAssignAdd NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Index Str Assign NameStore Dict Str Str Str Str Str Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str Dict Str Str BinOpAdd NameLoad Str BinOpAdd NameLoad Str ListLoad Dict Str Str Str Dict Str ListLoad Dict Str Str Str Str Str Str Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Num Dict Str Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str ListLoad Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign NameStore AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr orelse Assign NameStore Call NameLoad NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str CompareEq SubscriptLoad NameLoad Index Str Str Str If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str body Assign NameStore Dict Str Str Assign NameStore Dict Str Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad Str Str keyword Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str body Assign NameStore Dict Str Str SubscriptLoad NameLoad Index Str Str Assign NameStore Call NameLoad keyword TupleLoad Str Str keyword NameLoad keyword Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str If Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return TupleLoad Dict Str NameLoad NameLoad orelse Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A rest_framework serializers django.contrib.auth.models User rest_framework status crowdsourcing.models Transaction FinancialAccount PayPalFlow UserProfile crowdsourcing.serializers.dynamic DynamicFieldsModelSerializer crowdsourcing.validators.utils InequalityValidator ConditionallyRequiredValidator crowdsourcing.utils PayPalBackend get_model_or_none FinancialAccountSerializer N/A DynamicFieldsModelSerializer N/A Meta N/A N/A N/A model FinancialAccount N/A fields N/A id owner type is_active balance N/A N/A TransactionSerializer N/A DynamicFieldsModelSerializer N/A Meta N/A N/A N/A model Transaction N/A fields N/A id sender_type amount currency state method sender recipient reference created_timestamp last_updated N/A read_only_fields N/A created_timestamp last_updated N/A create N/A N/A self N/A args kwargs N/A N/A transaction N/A N/A N/A Transaction objects create N/A self validated_data N/A N/A N/A transaction recipient balance N/A transaction amount N/A N/A N/A N/A transaction recipient save N/A N/A N/A N/A transaction sender type N/A paypal_external paypal_deposit N/A N/A N/A N/A transaction sender balance N/A transaction amount N/A N/A N/A N/A transaction sender save N/A transaction N/A N/A PayPalFlowSerializer N/A DynamicFieldsModelSerializer N/A Meta N/A N/A N/A model PayPalFlow N/A fields N/A id paypal_id state recipient redirect_url payer_id N/A read_only_fields N/A state recipient N/A create N/A N/A self N/A args kwargs N/A N/A flow N/A N/A N/A PayPalFlow objects create state created recipient N/A kwargs N/A recipient paypal_id N/A N/A self validated_data N/A paypal_id redirect_url N/A N/A self validated_data N/A redirect_url N/A flow N/A execute N/A N/A self N/A args kwargs N/A N/A paypalbackend N/A PayPalBackend N/A payment N/A N/A N/A N/A paypalbackend paypalrestsdk Payment find N/A N/A self validated_data N/A paypal_id N/A N/A N/A N/A payment N/A state approved N/A N/A N/A N/A Transaction objects filter reference N/A payment N/A id N/A N/A N/A N/A self create_transaction payment N/A N/A self validated_data N/A payer_id N/A N/A N/A payment execute N/A payer_id N/A N/A self validated_data N/A payer_id N/A N/A N/A N/A self create_transaction payment N/A N/A self validated_data N/A payer_id N/A N/A N/A N/A N/A Transaction objects filter reference N/A payment N/A id N/A N/A N/A N/A N/A payment error N/A message N/A status HTTP_400_BAD_REQUEST N/A N/A N/A N/A self create_transaction payment N/A N/A self validated_data N/A payer_id N/A create_transaction N/A N/A self payment payer_id N/A N/A N/A flow N/A N/A N/A PayPalFlow objects get paypal_id N/A payment N/A id N/A N/A flow state approved N/A N/A flow payer_id payer_id N/A N/A N/A flow save N/A sender N/A N/A N/A N/A N/A FinancialAccount objects filter is_system True type paypal_deposit first N/A transaction N/A amount currency recipient reference state method sender N/A N/A N/A N/A payment N/A transactions N/A 0 N/A amount N/A total N/A N/A N/A N/A payment N/A transactions N/A 0 N/A amount N/A currency N/A N/A flow recipient id N/A payment N/A id approved N/A N/A payment N/A payer N/A payment_method N/A sender id N/A N/A N/A N/A N/A N/A N/A self context N/A request user is_anonymous N/A N/A N/A transaction N/A sender_type self N/A N/A N/A transaction N/A sender_type other N/A serializer N/A TransactionSerializer data transaction N/A N/A N/A serializer is_valid N/A N/A N/A N/A serializer create N/A N/A Payment executed successfully N/A status HTTP_201_CREATED N/A N/A N/A serializer errors N/A status HTTP_400_BAD_REQUEST N/A N/A CreditCardSerializer N/A N/A serializers Serializer N/A N/A type N/A N/A serializers ChoiceField choices N/A visa mastercard discover american_express N/A number N/A N/A serializers CharField min_length 13 max_length 19 N/A expire_month N/A N/A serializers IntegerField min_value 1 max_value 12 N/A expire_year N/A N/A serializers IntegerField N/A cvv2 N/A N/A serializers RegexField regex ^[0-9]{3,4}$ required True N/A first_name N/A N/A serializers CharField N/A last_name N/A N/A serializers CharField Meta N/A N/A N/A fields N/A type number expire_month expire_year cvv2 first_name last_name N/A N/A PayPalPaymentSerializer N/A N/A serializers Serializer N/A N/A amount N/A N/A serializers DecimalField max_digits 19 decimal_places 4 N/A type N/A N/A serializers ChoiceField choices N/A self other N/A username N/A N/A serializers SlugRelatedField queryset N/A N/A N/A User objects all slug_field username allow_null True required False N/A method N/A N/A serializers ChoiceField choices N/A paypal credit_card N/A credit_card N/A CreditCardSerializer many False required False Meta N/A N/A N/A validators N/A N/A InequalityValidator field amount operator gt value 0 N/A ConditionallyRequiredValidator field method field2 credit_card value credit_card N/A build_payment N/A N/A self N/A args kwargs N/A N/A host N/A N/A N/A N/A N/A self context N/A request is_secure N/A N/A host https:// N/A N/A host http:// N/A host N/A N/A N/A N/A self context N/A request META N/A HTTP_HOST N/A payment N/A intent payer redirect_urls transactions sale N/A payment_method N/A N/A self validated_data N/A method N/A return_url cancel_url N/A host /payment-success N/A host /payment-cancelled N/A N/A item_list amount description N/A items N/A N/A name sku price currency quantity Daemo Deposit DMO-7CA000 N/A str N/A N/A self validated_data N/A amount USD 1 N/A total currency N/A str N/A N/A self validated_data N/A amount USD Daemo Deposit N/A N/A N/A N/A self validated_data N/A method credit_card N/A N/A N/A N/A payment N/A payer N/A funding_instruments N/A N/A credit_card N/A N/A self validated_data N/A credit_card N/A payment N/A create N/A N/A self N/A args kwargs N/A N/A recipient None N/A recipient_profile None N/A payment_data N/A N/A self build_payment N/A N/A N/A N/A self validated_data N/A type self N/A N/A recipient_profile N/A N/A N/A N/A self context N/A request user userprofile N/A N/A recipient_profile N/A get_model_or_none UserProfile user__username N/A N/A self validated_data N/A username N/A recipient N/A get_model_or_none FinancialAccount owner recipient_profile type requester N/A paypalbackend N/A PayPalBackend N/A payment N/A N/A N/A paypalbackend paypalrestsdk Payment payment_data N/A N/A N/A payment create N/A N/A redirect_url N/A next N/A link N/A link N/A payment N/A links N/A N/A link N/A method REDIRECT # N/A N/A N/A N/A payment N/A payer N/A payment_method credit_card N/A N/A redirect_url N/A href # N/A flow_data N/A redirect_url paypal_id N/A redirect_url N/A href N/A payment id N/A payment_flow N/A PayPalFlowSerializer data flow_data fields N/A redirect_url paypal_id context N/A request N/A N/A self context N/A request N/A N/A N/A payment_flow is_valid N/A N/A N/A N/A payment_flow create recipient recipient N/A N/A N/A N/A payment N/A payer N/A payment_method credit_card N/A N/A data N/A paypal_id payer_id N/A payment N/A id UNKNOWN_CC N/A execute_serializer N/A PayPalFlowSerializer fields N/A paypal_id payer_id data data context N/A request N/A N/A self context N/A request N/A N/A N/A execute_serializer is_valid N/A N/A N/A message https_status N/A N/A execute_serializer execute N/A N/A N/A message message https_status N/A N/A N/A N/A execute_serializer errors N/A status HTTP_400_BAD_REQUEST N/A N/A N/A payment_flow data N/A status HTTP_201_CREATED N/A N/A N/A N/A payment_flow errors N/A status HTTP_400_BAD_REQUEST N/A N/A N/A N/A payment error N/A status HTTP_400_BAD_REQUEST N/A N/A