Constants¶
-
netsgiro.
NETS_ID
¶ Nets’ data transmitter/recipient ID
>>> import netsgiro >>> netsgiro.NETS_ID '00008080'
-
class
netsgiro.
ServiceCode
[source]¶ Service codes tell which Nets service the record applies to.
-
NONE
= 0¶ Used for the transmission start and end record.
-
OCR_GIRO
= 9¶ Used for all OCR Giro records.
-
AVTALEGIRO
= 21¶ Used for all AvtaleGiro records.
-
-
class
netsgiro.
RecordType
[source]¶ Record types tell what type of record this is.
-
TRANSMISSION_START
= 10¶ See
netsgiro.TransmissionStart
.
-
ASSIGNMENT_START
= 20¶ See
netsgiro.AssignmentStart
.
-
TRANSACTION_AMOUNT_ITEM_1
= 30¶ See
netsgiro.TransactionAmountItem1
.
-
TRANSACTION_AMOUNT_ITEM_2
= 31¶ See
netsgiro.TransactionAmountItem2
.
-
TRANSACTION_AMOUNT_ITEM_3
= 32¶ See
netsgiro.TransactionAmountItem3
.
-
TRANSACTION_SPECIFICATION
= 49¶ See
netsgiro.TransactionSpecification
.
-
TRANSACTION_AGREEMENTS
= 70¶ See
netsgiro.TransactionAgreements
.
-
ASSIGNMENT_END
= 88¶ See
netsgiro.AssignmentEnd
.
-
TRANSMISSION_END
= 89¶ See
netsgiro.TransmissionEnd
.
-
-
class
netsgiro.
AssignmentType
[source]¶ Assignment types tell what type of assignment this is.
-
TRANSACTIONS
= 0¶ Used both for AvtaleGiro payment requests and OCR Giro transactions.
-
AVTALEGIRO_AGREEMENTS
= 24¶ Used for AvtaleGiro agreement updates.
-
AVTALEGIRO_CANCELLATIONS
= 36¶ Used for AvtaleGiro cancellations.
-
-
class
netsgiro.
TransactionType
[source]¶ Assignment types tell what type of transaction this is.
-
FROM_GIRO_DEBITED_ACCOUNT
= 10¶ Used for OCR Giro.
-
FROM_STANDING_ORDERS
= 11¶ Used for OCR Giro.
-
FROM_DIRECT_REMITTANCE
= 12¶ Used for OCR Giro.
-
FROM_BUSINESS_TERMINAL_GIRO
= 13¶ Used for OCR Giro.
-
FROM_COUNTER_GIRO
= 14¶ Used for OCR Giro.
-
FROM_AVTALEGIRO
= 15¶ Used for OCR Giro.
-
FROM_TELEGIRO
= 16¶ Used for OCR Giro.
-
FROM_CASH_GIRO
= 17¶ Used for OCR Giro.
-
REVERSING_WITH_KID
= 18¶ Used for OCR Giro.
-
PURCHASE_WITH_KID
= 19¶ Used for OCR Giro.
-
REVERSING_WITH_TEXT
= 20¶ Used for OCR Giro.
-
PURCHASE_WITH_TEXT
= 21¶ Used for OCR Giro.
Note
The value
21
is used for bothPURCHASE_WITH_TEXT
andAVTALEGIRO_WITH_BANK_NOTIFICATION
. The enum representation will be<PURCHASE_WITH_TEXT: 21>
in either case.
-
AVTALEGIRO_WITH_PAYEE_NOTIFICATION
= 2¶ Used for AvtaleGiro when you want to notify the payer yourself.
-
AVTALEGIRO_WITH_BANK_NOTIFICATION
= 21¶ Used for AvtaleGiro when you want the bank to notify the payer.
-
AVTALEGIRO_CANCELLATION
= 93¶ Used for transactions that are part of an AvtaleGiro cancellation assignment.
-
AVTALEGIRO_AGREEMENT
= 94¶ Used by Nets for updates to AvtaleGiro agreeements.
-
-
class
netsgiro.
AvtaleGiroRegistrationType
[source]¶ AvtaleGiro registration types tell what kind of update this is.
-
ACTIVE_AGREEMENT
= 0¶ Used when the AvtaleGiro agreement assignment contains all currently active agreements.
-
NEW_OR_UPDATED_AGREEMENT
= 1¶ Used when the AvtaleGiro agreement assignment contains only changes, and the current agreement is new or updated.
-
DELETED_AGREEMENT
= 2¶ Used when the AvtaleGiro agreement assignment contains only changes, and the current agreement has been deleted.
-