LoyaltyClient
Create authentication network requests by using the LoyaltyClient class. LoyaltyClient uses ForceAuthenticator, which is an interface that defines the methods
to handle access tokens in the Salesforce API. LoyaltyClient
creates a retrofit instance to invoke Force APIs.
Available in: all editions that have Loyalty Management enabled |
Use this signature to define the LoyaltyClient
class.
public final class LoyaltyClient
extends NetworkClient
getNetworkClient Method
Gives an implementation of the retrofit interface using an instance of retrofit.
LoyaltyApiInterface getNetworkClient()