Overview

TerraCore v0

Overview#

TerraLoyalty is the client library for communicating with Loyalty service. It is for both consumer/staff dev team who wants to implement their own loyalty UI while leveraging Loyalty service's API.

Prerequisite#

Before using features of TerraLoyalty make sure:

Installation#

Firstly please refer to Teko repository access guide for instruction to setup the environment.

When the environment is ready, add the below code to import TerraLoyalty:

Using Gradle

Add to your project's build.gradle.kts

implement("vn.teko.loyalty:terra-loyalty:$version")

Configuration#

Please contact Terra team for support.

Usage#

You can get instance of TerraLoyalty through TerraApp

val loyaltyService = TerraLoyalty.getInstance(terraApp)