littlefish_payments 3.2.0 copy "littlefish_payments: ^3.2.0" to clipboard
littlefish_payments: ^3.2.0 copied to clipboard

The littlefish payments library, that is used to handle payments in all littlefish mobile applications.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add littlefish_payments

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  littlefish_payments: ^3.2.0

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:littlefish_payments/gateways/cash_payments_gateway.dart';
import 'package:littlefish_payments/gateways/mobile_money_payment_gateway.dart';
import 'package:littlefish_payments/gateways/pos_payment_gateway.dart';
import 'package:littlefish_payments/gateways/qr_payment_gateway.dart';
import 'package:littlefish_payments/gateways/softpos_payment_gateway.dart';
import 'package:littlefish_payments/managers/linked_account_manager.dart';
import 'package:littlefish_payments/managers/payments_manager.dart';
import 'package:littlefish_payments/managers/terminal_manager.dart';
import 'package:littlefish_payments/models/accounts/address.dart';
import 'package:littlefish_payments/models/accounts/address.g.dart';
import 'package:littlefish_payments/models/accounts/business_profile.dart';
import 'package:littlefish_payments/models/accounts/business_profile.g.dart';
import 'package:littlefish_payments/models/accounts/business_type.dart';
import 'package:littlefish_payments/models/accounts/business_type.g.dart';
import 'package:littlefish_payments/models/accounts/linked_account.dart';
import 'package:littlefish_payments/models/accounts/linked_account.g.dart';
import 'package:littlefish_payments/models/customer/customer.dart';
import 'package:littlefish_payments/models/customer/customer.g.dart';
import 'package:littlefish_payments/models/customer/shipping_address.dart';
import 'package:littlefish_payments/models/customer/shipping_address.g.dart';
import 'package:littlefish_payments/models/order/combo_info.dart';
import 'package:littlefish_payments/models/order/combo_info.g.dart';
import 'package:littlefish_payments/models/order/order.dart';
import 'package:littlefish_payments/models/order/order.g.dart';
import 'package:littlefish_payments/models/order/order_discount.dart';
import 'package:littlefish_payments/models/order/order_discount.g.dart';
import 'package:littlefish_payments/models/order/order_history_log.dart';
import 'package:littlefish_payments/models/order/order_history_log.g.dart';
import 'package:littlefish_payments/models/order/order_line_item.dart';
import 'package:littlefish_payments/models/order/order_line_item.g.dart';
import 'package:littlefish_payments/models/order/tax_info.dart';
import 'package:littlefish_payments/models/order/tax_info.g.dart';
import 'package:littlefish_payments/models/shared/payment_gateway.dart';
import 'package:littlefish_payments/models/shared/payment_provider.dart';
import 'package:littlefish_payments/models/shared/payment_result.dart';
import 'package:littlefish_payments/models/shared/payment_type.dart';
import 'package:littlefish_payments/models/shared/purchase_helper.dart';
import 'package:littlefish_payments/models/terminal/merchant_enrol_data.dart';
import 'package:littlefish_payments/models/terminal/terminal_data.dart';
import 'package:littlefish_payments/models/terminal/terminal_enrol_data.dart';
import 'package:littlefish_payments/models/theme/provider_theme.dart';
import 'package:littlefish_payments/models/transaction/order_refund.dart';
import 'package:littlefish_payments/models/transaction/order_refund.g.dart';
import 'package:littlefish_payments/models/transaction/order_refund_line_item.dart';
import 'package:littlefish_payments/models/transaction/order_refund_line_item.g.dart';
import 'package:littlefish_payments/models/transaction/order_transaction.dart';
import 'package:littlefish_payments/models/transaction/order_transaction.g.dart';
import 'package:littlefish_payments/models/transaction/payment_type.dart';
import 'package:littlefish_payments/models/transaction/payment_type.g.dart';
import 'package:littlefish_payments/utils/business_service.dart';
import 'package:littlefish_payments/utils/device_helpers.dart';
import 'package:littlefish_payments/utils/linked_account_helper.dart';
import 'package:littlefish_payments/utils/linked_account_service.dart';
0
likes
100
points
1.34k
downloads

Publisher

verified publisherlittlefishapp.com

Weekly Downloads

The littlefish payments library, that is used to handle payments in all littlefish mobile applications.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

device_info_plus, equatable, flutter, geolocator, http, injectable, json_annotation, littlefish_core, littlefish_core_utils, littlefish_notifications_signalr, package_info_plus, uuid

More

Packages that depend on littlefish_payments