Instant Payments
- class q2_sdk.hq.db.instant_payments.InstantPaymentsVendorsRow(element, row_class=None, rename_fields=None)[source]
Bases:
TableRow-
VendorID:
int
-
ShortName:
str
-
ServiceURL:
str
-
StringIdentifier:
str
-
GetHostAccountIDStoredProcName:
str
-
VendorID:
- class q2_sdk.hq.db.instant_payments.InstantPaymentsDataTypeRow(element, row_class=None, rename_fields=None)[source]
Bases:
TableRow-
DataTypeID:
int
-
ShortName:
str
-
AdditionalValueLength:
int
-
DataTypeID:
- class q2_sdk.hq.db.instant_payments.InstantPaymentsRequestTypeRow(element, row_class=None, rename_fields=None)[source]
Bases:
TableRow-
RequestTypeID:
int
-
ShortName:
str
-
GeneratedTransactionTypeID:
int
-
EnforceLimits:
bool
-
BitFlagValue:
int
-
VendorID:
int
-
CanStartOutgoingRTPConversation:
bool
-
ReplyParentRequestTypes:
int
-
RequiredParentDirectionOutgoing:
bool
-
AllowExpiryDate:
bool
-
RequireExpiryDate:
bool
-
AllowRequestedExecutionDate:
bool
-
RequireRequestedExecutionDate:
bool
-
AllowAmountModificationAllowed:
bool
-
RequireAmountModificationAllowed:
bool
-
ExternalTransactionTypeID:
int
-
RequestTypeID:
- class q2_sdk.hq.db.instant_payments.InstantPayments(logger, hq_credentials=None, ret_table_obj=None)[source]
Bases:
DbObjectProgrammatic 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 ifFalseor 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]