Files
sendico/frontend/pshared/lib/models/payment/intent.dart
2025-12-26 19:26:19 +03:00

30 lines
850 B
Dart

import 'package:pshared/models/payment/fx/intent.dart';
import 'package:pshared/models/payment/kind.dart';
import 'package:pshared/models/payment/customer.dart';
import 'package:pshared/models/payment/methods/data.dart';
import 'package:pshared/models/payment/money.dart';
import 'package:pshared/models/payment/settlement_mode.dart';
class PaymentIntent {
final PaymentKind kind;
final PaymentMethodData? source;
final PaymentMethodData? destination;
final Money? amount;
final FxIntent? fx;
final SettlementMode settlementMode;
final Map<String, String>? attributes;
final Customer? customer;
const PaymentIntent({
this.kind = PaymentKind.unspecified,
this.source,
this.destination,
this.amount,
this.fx,
this.settlementMode = SettlementMode.unspecified,
this.attributes,
this.customer,
});
}