PaymentForm class
Constructors
- PaymentForm({required int id, required Invoice invoice, required String url, required int sellerBotUserId, required int paymentsProviderUserId, PaymentsProviderStripe? paymentsProvider, OrderInfo? savedOrderInfo, SavedCredentials? savedCredentials, required bool canSaveCredentials, required bool needPassword, dynamic extra, int? clientId})
-
Contains information about an invoice payment form
const
-
PaymentForm.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- canSaveCredentials → bool
-
canSaveCredentials True, if the user can choose to save credentials
final
- clientId → int?
-
clientId client identifier
final
- extra → dynamic
-
extra callback sign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
id The payment form identifier
final
- invoice → Invoice
-
invoice Full information of the invoice
final
- needPassword → bool
-
needPassword True, if the user will be able to save credentials protected by a password they set up
final
- paymentsProvider → PaymentsProviderStripe?
-
paymentsProvider Information about the payment provider, if available, to support it natively without the need for opening the URL; may be null
final
- paymentsProviderUserId → int
-
paymentsProviderUserId User identifier of the payment provider bot
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- savedCredentials → SavedCredentials?
-
savedCredentials Information about saved card credentials; may be null
final
- savedOrderInfo → OrderInfo?
-
savedOrderInfo Saved server-side order information; may be null
final
- sellerBotUserId → int
-
sellerBotUserId User identifier of the seller bot
final
- url → String
-
url Payment form URL
final
Methods
-
copyWith(
{int? id, Invoice? invoice, String? url, int? sellerBotUserId, int? paymentsProviderUserId, PaymentsProviderStripe? paymentsProvider, OrderInfo? savedOrderInfo, SavedCredentials? savedCredentials, bool? canSaveCredentials, bool? needPassword, dynamic extra, int? clientId}) → PaymentForm -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String