tonder_sdk_lite

Creator: coderz1093

Last updated:

0 purchases

tonder_sdk_lite Image
tonder_sdk_lite Images

Languages

Categories

Add to Cart

Description:

tonder sdk lite

Tonder SDK #
Tonder SDK Lite to integrate REST service
Required #
If you are deploying to Android, edit your AndroidManifest.xml file to add the Internet permission.
<uses-permission android:name="android.permission.INTERNET" />
copied to clipboard
Likewise, if you are deploying to macOS, edit your macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements files to include the network client entitlement.
<key>com.apple.security.network.client</key>
<true/>
copied to clipboard
Installation #
You can install using Flutter
flutter pub add tonder_sdk_lite
copied to clipboard
Or by adding
dependencies:
tonder_sdk_lite: ^0.0.1
copied to clipboard
And import
import 'package:tonder_sdk_lite/network/liteCheckout.dart';
copied to clipboard
Example #
LiteCheckout sdkTonder = LiteCheckout('https://stage.tonder.io', '00d17d61e9240c6e0611fbdb1558e636ed6389db');
await sdkTonder.getBussiness()
copied to clipboard
Methods #
Future<GetBusinessResponse> getBusiness(){}
Future<CustomerRegisterResponse> customerRegister(String email){}
Future<CreateOrderResponse> createOrder(CreateOrderRequest order){}
Future<CreatePaymentResponse> createPayment(CreatePaymentRequest paymentItems){}
Future<StartCheckoutResponse> startCheckoutRouter(StartCheckoutRequest routerData){}
Future<GetVaultTokenResponse> getVaultToken(){}
Future<RegisterCustomerCardResponse> registerCustomerCard(String customerToken, RegisterCustomerCardRequest data){}
Future<GetCustomerCardsResponse> getCustomerCards(String customerToken, String query){}
Future<GetCustomerCardsResponse> deleteCustomerCard({required String customerToken, String skyflowId = ''}){}
Future<String?> getOpenpayDeviceSessionID(OpenpayKeys openpayKeys){}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.