Skip to content

Commit

Permalink
v5.1 with API template,domain and subdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
ivikramsahu committed Sep 2, 2020
1 parent 3ecd0f6 commit 161e432
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/pepipost/api/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

public class Configuration {
//The base Uri for API calls
public static String baseUri = "https://api.pepipost.com/v5";
public static String baseUri = "https://api.pepipost.com/v5.1";

//Your Pepipost API Key. You will find the api key in the Pepipost application in Integrations.
//TODO: Replace the apiKey with an appropriate value
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/pepipost/api/PepipostClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ public SubaccountsGetSubAccountsController getSubaccountsGetSubAccounts() {
return SubaccountsGetSubAccountsController.getInstance();
}

/**
* Singleton access to SubaccountsGetcreditddetails controller
* @return Returns the SubaccountsGetcreditddetailsController instance
*/
public SubaccountsGetcreditddetailsController getSubaccountsGetcreditddetails() {
return SubaccountsGetcreditddetailsController.getInstance();
}

/**
* Singleton access to Setrecurringcreditddetails controller
* @return Returns the SetrecurringcreditddetailsController instance
Expand Down Expand Up @@ -105,6 +113,22 @@ public DomainDeleteController getDomainDelete() {
return DomainDeleteController.getInstance();
}

/**
* Singleton access to DomainGetDomains controller
* @return Returns the DomainGetDomainsController instance
*/
public DomainGetDomainsController getDomainGetDomains() {
return DomainGetDomainsController.getInstance();
}

/**
* Singleton access to Template controller
* @return Returns the TemplateController instance
*/
public TemplateController getTemplate() {
return TemplateController.getInstance();
}

/**
* Singleton access to Domain controller
* @return Returns the DomainController instance
Expand Down

0 comments on commit 161e432

Please sign in to comment.