ecommpay_flutter_plugin 1.0.9 ecommpay_flutter_plugin: ^1.0.9 copied to clipboard
Flutter plugin of Mobile SDK UI is a software development kit that can be used to integrate Android applications with the Ecommpay payment platform.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ecommpay_flutter_plugin
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ecommpay_flutter_plugin: ^1.0.9
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ecommpay_flutter_plugin/ecmpplugin.dart';
import 'package:ecommpay_flutter_plugin/ecmpplugin_method_channel.dart';
import 'package:ecommpay_flutter_plugin/ecmpplugin_platform_interface.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_additional_field.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_additional_field.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment_info.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment_info.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment_options.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_payment_options.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_plugin_result.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_plugin_result.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_recipient_info.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_recipient_info.g.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_recurrent_data.dart';
import 'package:ecommpay_flutter_plugin/models/ecmp_recurrent_data.g.dart';