payments.api.v1 package

Submodules

payments.api.v1.fields module

class payments.api.v1.fields.PaymentTypeField(*args, **kwargs)[source]

Bases: rest_framework.fields.ChoiceField

NO_PAYMENT = 'no_payment'
get_attribute(instance)[source]

Given the outgoing object instance, return the primitive value that should be used for this field.

payments.api.v1.urls module

Defines the API routes of the payments package.