Skip to main content

luna.payments.types

PaymentStatus Objects

@enum.unique
class PaymentStatus(enum.Enum)

Enumeration for classifying status of payments.

PaymentProvider Objects

@enum.unique
class PaymentProvider(str, enum.Enum)

Enumeration for classifying available Payment Providers.

Needs to inherit str class so it can be serialized as it's passed to tasks from celery

PaymentMethods Objects

@enum.unique
class PaymentMethods(str, enum.Enum)

Enumeration for classifying details of payments.

PaymentTypes Objects

@enum.unique
class PaymentTypes(str, enum.Enum)

Enumeration for classifying types of payments.

PaymentEnv Objects

@enum.unique
class PaymentEnv(str, enum.Enum)

Enumeration for classifying environment type of payment gateway. This will determine the 3rd party payment gateway URL to use.

Needs to inherit str class so it can be serialized as it's passed to tasks from celery

ParticipantPaymentDetails Objects

class ParticipantPaymentDetails(LunaModel)

Represents participants payment details.

Attributes:

  • payment_method (str): Method participant wishes to pay or receive payment with.
  • role (str): The Id of the participant.
  • bank_account_name Optional[str]: Required only when payment_method is BANK_ACCOUNT. Name of bank_account in AccountDetails