Models
components.payment_gateway.subcomponents.payments.models.payment_request ¶
PaymentRequest ¶
Bases: ProviderEntityMixin, BaseModel
__table_args__ ¶
account
class-attribute
instance-attribute
¶
account_id
class-attribute
instance-attribute
¶
amount
class-attribute
instance-attribute
¶
Amount of the payment request (in minor units).
bank_transfer
class-attribute
instance-attribute
¶
bank_transfer_id
class-attribute
instance-attribute
¶
currency
class-attribute
instance-attribute
¶
Currency of the payment request, represented as a 3-letter ISO 4217 code.
financial_instrument
class-attribute
instance-attribute
¶
financial_instrument_id
class-attribute
instance-attribute
¶
financial_instrument_id = mapped_column(
UUID(as_uuid=True),
ForeignKey(id),
index=True,
nullable=True,
)
ID of the financial instrument used for this payment request.
raw
class-attribute
instance-attribute
¶
raw = mapped_column_with_privacy(
JSONB(none_as_null=True),
nullable=True,
privacy_properties=PrivacyProperties(
other,
PassThrough(),
PassThrough(),
AlwaysNone(),
PassThrough(),
),
)
Raw data from the payment provider.
reference
class-attribute
instance-attribute
¶
Reference of the payment request.
type
class-attribute
instance-attribute
¶
Type of payment ex: direct_debit, wire_transfer ...