OnRampPaymentSession class

Describes a session for an on-ramp purchase

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

OnRampPaymentSession({required String sessionId, required int expirationDate, required String url})
const

Properties

expirationDate → int
expirationDate Point in time (Unix timestamp) when the session will expire
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String
sessionId Identifier of the session
final
url → String
url HTTPS URL to be opened in a WebView to complete the purchase
final

Methods

copyWith({String? sessionId, int? expirationDate, String? url}) → OnRampPaymentSession

Available on OnRampPaymentSession, provided by the OnRampPaymentSessionExtensions extension

getConstructor() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → OnRampPaymentSession?

Constants

constructor → const String