Fixes for build
This commit is contained in:
25
frontend/pshared/lib/models/payment/customer.dart
Normal file
25
frontend/pshared/lib/models/payment/customer.dart
Normal file
@@ -0,0 +1,25 @@
|
||||
class Customer {
|
||||
final String id;
|
||||
final String? firstName;
|
||||
final String? middleName;
|
||||
final String? lastName;
|
||||
final String? ip;
|
||||
final String? zip;
|
||||
final String? country;
|
||||
final String? state;
|
||||
final String? city;
|
||||
final String? address;
|
||||
|
||||
const Customer({
|
||||
required this.id,
|
||||
this.firstName,
|
||||
this.middleName,
|
||||
this.lastName,
|
||||
this.ip,
|
||||
this.zip,
|
||||
this.country,
|
||||
this.state,
|
||||
this.city,
|
||||
this.address,
|
||||
});
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
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';
|
||||
@@ -13,6 +14,7 @@ class PaymentIntent {
|
||||
final FxIntent? fx;
|
||||
final SettlementMode settlementMode;
|
||||
final Map<String, String>? attributes;
|
||||
final Customer? customer;
|
||||
|
||||
const PaymentIntent({
|
||||
this.kind = PaymentKind.unspecified,
|
||||
@@ -22,5 +24,6 @@ class PaymentIntent {
|
||||
this.fx,
|
||||
this.settlementMode = SettlementMode.unspecified,
|
||||
this.attributes,
|
||||
this.customer,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user