pgw_sdk 4.0.9 pgw_sdk: ^4.0.9 copied to clipboard
2C2P PGW SDK for flutter and allows merchants to build an excellent payment experience within their mobile apps by integrating easily with 2C2P's payment gateway.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pgw_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
pgw_sdk: ^4.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:pgw_sdk/core/pgw_sdk_delegate.dart';
import 'package:pgw_sdk/core/pgw_sdk_helper_delegate.dart';
import 'package:pgw_sdk/core/pgw_sdk_pigeon.dart';
import 'package:pgw_sdk/core/pgw_webview_navigation_delegate.dart';
import 'package:pgw_sdk/enum/api_environment.dart';
import 'package:pgw_sdk/enum/api_response_code.dart';
import 'package:pgw_sdk/enum/apple_pay_payment_response_code.dart';
import 'package:pgw_sdk/enum/deep_link_payment_response_code.dart';
import 'package:pgw_sdk/enum/google_pay_api_environment.dart';
import 'package:pgw_sdk/enum/google_pay_payment_response_code.dart';
import 'package:pgw_sdk/enum/installment_interest_type_code.dart';
import 'package:pgw_sdk/enum/payment_channel_code.dart';
import 'package:pgw_sdk/enum/payment_custom_data_code.dart';
import 'package:pgw_sdk/enum/payment_input_code.dart';
import 'package:pgw_sdk/enum/payment_notification_platform_code.dart';
import 'package:pgw_sdk/enum/qr_type_code.dart';
import 'package:pgw_sdk/enum/zalo_pay_api_environment.dart';
import 'package:pgw_sdk/enum/zalo_pay_payment_response_code.dart';