New comments section in the requests/responses
This commit is contained in:
@@ -57,6 +57,7 @@ void main() {
|
||||
),
|
||||
amount: MoneyDTO(amount: '10', currency: 'USD'),
|
||||
settlementMode: 'fix_received',
|
||||
comment: 'invoice-7',
|
||||
),
|
||||
);
|
||||
|
||||
@@ -70,6 +71,7 @@ void main() {
|
||||
final intent = json['intent'] as Map<String, dynamic>;
|
||||
expect(intent['kind'], equals('payout'));
|
||||
expect(intent['settlement_mode'], equals('fix_received'));
|
||||
expect(intent['comment'], equals('invoice-7'));
|
||||
expect(intent.containsKey('settlement_currency'), isFalse);
|
||||
|
||||
final source = intent['source'] as Map<String, dynamic>;
|
||||
|
||||
Reference in New Issue
Block a user