You will find the following files in the Kit.
Used for encryption & decryption of Request & Response packets. Use
encrypt() function for encrypting the packet and
decrypt() for decrypting.
Contains models (structs) for Request, Response
Contains constants for API Endpoint URLs, Access Code, Secret Key, IV, Merchant Code, and Response URLs
Provides guidance on how to invoke the Checkout API to integrate with Hesabe Payment API 2.0 and redirect to Payment URL.
Calls HesabeGatewayVC, creates and sends PaymentRequest object, handles Response.
You will have to include the following PODS:
It contains crypto related functions and helpers for Swift implemented in Swift. It is used by HesabeCrypt.swift to perform AES Encryption and Decryption. Visit https://github.com/krzyzanowskim/CryptoSwift/ to learn more about CryptoSwift.
Alamofire is a Swift-based HTTP networking library for iOS and macOS. Visit https://github.com/Alamofire/ to learn more about Alamofire.