Instant Payments
- class q2_sdk.hq.db.instant_payments.InstantPaymentsVendorsRow[source]
Bases:
RepresentationRowBase
-
VendorID:
IntElement
= 'VendorID'
-
ShortName:
StringElement
= 'ShortName'
-
ServiceURL:
StringElement
= 'ServiceURL'
-
StringIdentifier:
StringElement
= 'StringIdentifier'
-
GetHostAccountIDStoredProcName:
StringElement
= 'GetHostAccountIDStoredProcName'
-
VendorID:
- class q2_sdk.hq.db.instant_payments.InstantPaymentsDataTypeRow[source]
Bases:
RepresentationRowBase
-
DataTypeID:
IntElement
= 'DataTypeID'
-
ShortName:
StringElement
= 'ShortName'
-
AdditionalValueLength:
IntElement
= 'ServiceURL'
-
DataTypeID:
- class q2_sdk.hq.db.instant_payments.InstantPaymentsRequestTypeRow[source]
Bases:
RepresentationRowBase
-
RequestTypeID:
IntElement
= 'RequestTypeID'
-
ShortName:
StringElement
= 'ShortName'
-
GeneratedTransactionTypeID:
IntElement
= 'GeneratedTransactionTypeID'
-
EnforceLimits:
BoolElement
= 'EnforceLimits'
-
BitFlagValue:
IntElement
= 'BitFlagValue'
-
VendorID:
IntElement
= 'VendorID'
-
CanStartOutgoingRTPConversation:
BoolElement
= 'CanStartOutgoingRTPConversation'
-
ReplyParentRequestTypes:
IntElement
= 'ReplyParentRequestTypes'
-
RequiredParentDirectionOutgoing:
BoolElement
= 'RequiredParentDirectionOutgoing'
-
AllowExpiryDate:
BoolElement
= 'AllowExpiryDate'
-
RequireExpiryDate:
BoolElement
= 'RequireExpiryDate'
-
AllowRequestedExecutionDate:
BoolElement
= 'AllowRequestedExecutionDate'
-
RequireRequestedExecutionDate:
BoolElement
= 'RequireRequestedExecutionDate'
-
AllowAmountModificationAllowed:
BoolElement
= 'AllowAmountModificationAllowed'
-
RequireAmountModificationAllowed:
BoolElement
= 'RequireAmountModificationAllowed'
-
ExternalTransactionTypeID:
IntElement
= 'ExternalTransactionTypeID'
-
RequestTypeID:
- class q2_sdk.hq.db.instant_payments.InstantPayments(logger, hq_credentials=None, ret_table_obj=None)[source]
Bases:
DbObject
Programmatic access to the Q2 database. Not as flexible as a true ORM, but takes the guesswork out of database schemas and ensures safety in the transactions.
- Parameters:
logger – Reference to calling request’s logger (self.logger in your extension)
hq_credentials (
Optional
[HqCredentials
]) – HQ Connectivity Information (Defaults to settings file)ret_table_obj (
bool
) – Flag to return list of LXML elements ifFalse
or TableRow objects from DB calls ifTrue
(Defaults to settings file)
- NAME = 'InstantPayments'
- property transaction_type: TransactionType
- async create_request_type(short_name, generated_transaction_type, enforce_limits, bitflag_value, vendor_name, can_start_outgoing_rtp_conversation, require_parent_direction_outgoing=False, reply_parent_request_types=None, external_transaction_type=None)[source]