merchant_args_controller library
Helper to build and normalize merchantArgs passed to paysheet and native pay.
Usage examples:
final controller = MerchantArgsController(merchantName: 'Source', merchantInfo: 'Order #1234', summaryItems: [SummaryLineItem(label: 'Subtotal', amountCents: 1000)]);
final m = controller.toMap(); // Map<String, dynamic> or null
Classes
- MerchantArgsController
- Controller for building and normalizing merchantArgs passed to paysheet and native pay.