startDeeplink static method
Future<StartDeeplinkResponse>
startDeeplink({
- required Merchant merchant,
- required Transaction transaction,
- required Buyer buyer,
Returns a JSON response or if an error occurred will be throw exception. This type of payment is to direct an end user to a bank mobile application. After the end user completes payment via mobile banking, user will be directed back to merchant mobile application.
merchant
(Required) - Merchant datatransaction
(Required) - Transaction databuyer
(Required) - Buyer data
Implementation
static Future<StartDeeplinkResponse> startDeeplink({
required Merchant merchant,
required Transaction transaction,
required Buyer buyer,
}) async {
var result = await _channel.invokeMethod('startDeeplink', {
'merchant': merchant.toJson(),
'transaction': transaction.toJson(),
'buyer': buyer.toJson(),
});
return StartDeeplinkResponse.fromJson(result);
}