GostPaymentContent class final
A Russian bank transfer (ГОСТ Р 56042-2014): ST00012|Name=…|….
Parsed in any of the standard's encodings, written in UTF-8.
- Inheritance
-
- Object
- BarcodeContent
- PaymentContent
- GostPaymentContent
Constructors
-
GostPaymentContent({required String name, required String personalAccount, required String bankName, required String bic, required String correspondentAccount, String? amount, String? purpose, String? payeeInn, String? kpp, Map<
String, String> extra = const <String, String>{}}) -
Creates a payment.
const
Properties
- account → String
-
The account paid into: an IBAN, an account number, a UPI address or a
PIX key.
no setteroverride
- amount → String?
-
The amount in rubles with two decimals (
'1250.50'); the code holds it in kopecks (Sum).final - bankName → String
-
The payee's bank (
BankName), up to 45 characters.final - bic → String
-
The bank's BIC (
BIC), 9 digits.final - correspondentAccount → String
-
The bank's correspondent account (
CorrespAcc), 20 digits, or0.final - currency → String
-
The ISO 4217 alphabetic code of the currency, such as
EUR.no setteroverride -
extra
→ Map<
String, String> -
The other fields of the standard, by name, in order:
PayerAddress,PersAcc,UIN,CBC,OKTMOand so on.final - hashCode → int
-
The hash code for this object.
no setteroverride
- kpp → String?
-
The payee's tax registration reason code (
KPP), 9 characters.final - name → String
-
The payee (
Name), up to 160 characters.final - payee → String
-
Who is paid.
no setteroverride
- payeeInn → String?
-
The payee's taxpayer number (
PayeeINN), 10 or 12 digits.final - personalAccount → String
-
The payee's account (
PersonalAcc), 20 digits.final - purpose → String?
-
What the payment is for (
Purpose), up to 210 characters.final - reference → String?
-
What the payment is for: a reference or a message.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri?
-
A link that opens this content in the app made for it, for
launchUrlof package:url_launcher;nullwhen there is none.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPayload(
) → String -
ST00012|Name=…|PersonalAcc=…|BankName=…|BIC=…|CorrespAcc=…|….override -
toString(
) → String -
A string representation of this object.
override
-
validate(
) → List< ContentIssue> -
The problems that keep toPayload from building this value, such as
an empty network name or a latitude out of range. Empty when the value
can be built. For forms: show each ContentIssue.message next to its
ContentIssue.field.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override