PaymentMethod class

An object which contains information about a transfer of funds.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

PaymentMethod({String? id, String? type, String? name, String? currency, bool? primaryBuy, bool? primarySell, bool? instantBuy, bool? instantSell, DateTime? createdAt, DateTime? updatedAt, String? resource, String? resourcePath, PaymentMethodLimits? limits, bool? allowBuy, bool? allowSell, bool? allowDeposit, bool? allowWithdraw, PaymentMethodFiatAccount? fiatAccounts, bool? verified, PaymentMethodPickerData? pickerData, int? holdBusinessDays, int? holdDays})
PaymentMethod.fromJson(Map<String, dynamic> json)
factory

Properties

allowBuy bool?
final
allowDeposit bool?
final
allowSell bool?
final
allowWithdraw bool?
final
createdAt DateTime?
final
currency String?
final
fiatAccounts PaymentMethodFiatAccount?
final
hashCode int
The hash code for this object.
no setterinherited
holdBusinessDays int?
final
holdDays int?
final
id String?
final
instantBuy bool?
final
instantSell bool?
final
limits PaymentMethodLimits?
final
name String?
final
pickerData PaymentMethodPickerData?
final
primaryBuy bool?
final
primarySell bool?
final
resource String?
final
resourcePath String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
final
updatedAt DateTime?
final
verified bool?
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited