Constants¶
These constants inherit from django.db.models.TextChoices
, not the built-in Python StrEnum
type.
Django TextChoices
provides attributes such as choices
, values
, labels
and more.
- class terminusgps.authorizenet.constants.CurrencyCode(*values)[source]¶
- AUD = 'AUD'¶
Australian dollar.
- CAD = 'CAD'¶
Canadian dollar.
- DKK = 'DKK'¶
Danish krone.
- EUR = 'EUR'¶
Euro.
- GBP = 'GBP'¶
Great British pound.
- NOK = 'NOK'¶
Norwegian krone.
- NZD = 'NZD'¶
New Zealand dollar.
- PLN = 'PLN'¶
Polish zloty.
- SEK = 'SEK'¶
Swedish krona.
- USD = 'USD'¶
US dollar.
- class terminusgps.authorizenet.constants.Environment(*values)[source]¶
An Authorizenet execution environment.
- PRODUCTION = 'https://api2.authorize.net/xml/v1/request.api'¶
Production environment.
- SANDBOX = 'https://apitest.authorize.net/xml/v1/request.api'¶
Sandbox environment.
- class terminusgps.authorizenet.constants.SubscriptionStatus(*values)[source]¶
An Authorizenet subscription status.
- ACTIVE = 'active'¶
Active subscription.
- CANCELED = 'canceled'¶
Canceled subscription.
- EXPIRED = 'expired'¶
Expired subscription.
- SUSPENDED = 'suspended'¶
Suspended subscription.
- TERMINATED = 'terminated'¶
Terminated subscription.