public class

AffiliateCredentials

extends Object
java.lang.Object
   ↳ com.c2call.sdk.pub.affiliate.AffiliateCredentials

Class Overview

A simple struct that holds basic affiliate information, which is needed to initialize C2CallSdk

Summary

Public Constructors
AffiliateCredentials(String affiliateId, String appId, String secret)
Instantiates a new affiliate credentials.
Public Methods
String getAffiliateId()
Gets the affiliate id.
String getAppId()
Gets the app id.
String getSecret()
Gets the secret.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AffiliateCredentials (String affiliateId, String appId, String secret)

Instantiates a new affiliate credentials.

Parameters
affiliateId The affiliate ID that you get after registration at C2Call Deleloper Area
appId the appId that you get after creating an an app
secret the secret that you get after creating an app

Public Methods

public String getAffiliateId ()

Gets the affiliate id.

Returns
  • the affiliate id

public String getAppId ()

Gets the app id.

Returns
  • the app id

public String getSecret ()

Gets the secret.

Returns
  • the secret

public String toString ()