All Downloads are FREE. Search and download functionalities are using the official Maven repository.

amk.sdk.deeplink.Test Maven / Gradle / Ivy

Go to download

The AMK Deeplink SDK is a library for AMK's merchant that allow them to be able generate deeplink for their user to pay via AMK Bank app.

There is a newer version: 1.1.0
Show newest version
package amk.sdk.deeplink;

import amk.sdk.deeplink.entity.model.AMKDLCurrency;
import amk.sdk.deeplink.entity.model.AMKDLIndividual;
import amk.sdk.deeplink.entity.model.AMKDLMerchant;


public class Test {

    public static void main(String[] arg) {

        AMKDLIndividual amkdlIndividual = new AMKDLIndividual(
                "daniel_seth_1992@devb",
                "12sfd3243700234234",
                "",
                "",
                AMKDLCurrency.USD,
                0.5,
                "Van deourn",
                "Phnom Penh",
                "BIL00132N",
                "015667727",
                "AEONSENSOK",
                "no2"
        );

        AMKDLMerchant amkdlMerchant = new AMKDLMerchant(
                "12sfd3243700234234",
                "1234567890",
                "",
                AMKDLCurrency.USD,
                0.5,
                "Van deourn",
                "Phnom Penh",
                "BIL00132N",
                "015667727",
                "AEONSENSOK",
                "no2",
                null
        );
        AMKDeeplink amkDeeplink = new AMKDeeplink(
                "e78e80fc-a20a-4d91-a7ff-1e6a0be126c0",
                "/Users/vandoeurn-nbc/Documents/freelance2/key/private.key",
                "http://apiserver/api/oauth/token");

        System.out.println(amkDeeplink.generateIndividualDeeplink(amkdlIndividual));
       // System.out.println(amkDeeplink.generateMerchantDeeplink(amkdlMerchant));

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy