-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from sanjaymandadi/master
Regen SDK for 1.17
- Loading branch information
Showing
31 changed files
with
1,849 additions
and
1,128 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
572 changes: 287 additions & 285 deletions
572
mozu-java-core/src/main/java/com/mozu/api/clients/commerce/catalog/admin/CategoryClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
mozu-java-core/src/main/java/com/mozu/api/clients/commerce/payments/PublicCardClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
/** | ||
* This code was auto-generated by a Codezu. | ||
* | ||
* Changes to this file may cause incorrect behavior and will be lost if | ||
* the code is regenerated. | ||
*/ | ||
package com.mozu.api.clients.commerce.payments; | ||
|
||
import java.util.List; | ||
import java.util.ArrayList; | ||
import com.mozu.api.MozuClient; | ||
import com.mozu.api.MozuClientFactory; | ||
import com.mozu.api.MozuUrl; | ||
import com.mozu.api.Headers; | ||
import com.mozu.api.security.AuthTicket; | ||
import org.apache.commons.lang.StringUtils; | ||
/** <summary> | ||
* | ||
* </summary> | ||
*/ | ||
public class PublicCardClient { | ||
|
||
/** | ||
* | ||
* <p><pre><code> | ||
* MozuClient<com.mozu.api.contracts.paymentservice.response.SyncResponse> mozuClient=CreateClient( request); | ||
* client.setBaseAddress(url); | ||
* client.executeRequest(); | ||
* SyncResponse syncResponse = client.Result(); | ||
* </code></pre></p> | ||
* @param request | ||
* @return Mozu.Api.MozuClient <com.mozu.api.contracts.paymentservice.response.SyncResponse> | ||
* @see com.mozu.api.contracts.paymentservice.response.SyncResponse | ||
* @see com.mozu.api.contracts.paymentservice.PublicCard | ||
*/ | ||
public static MozuClient<com.mozu.api.contracts.paymentservice.response.SyncResponse> createClient(com.mozu.api.contracts.paymentservice.PublicCard request) throws Exception | ||
{ | ||
MozuUrl url = com.mozu.api.urls.commerce.payments.PublicCardUrl.createUrl(); | ||
String verb = "POST"; | ||
Class<?> clz = com.mozu.api.contracts.paymentservice.response.SyncResponse.class; | ||
MozuClient<com.mozu.api.contracts.paymentservice.response.SyncResponse> mozuClient = (MozuClient<com.mozu.api.contracts.paymentservice.response.SyncResponse>) MozuClientFactory.getInstance(clz); | ||
mozuClient.setVerb(verb); | ||
mozuClient.setResourceUrl(url); | ||
mozuClient.setBody(request); | ||
return mozuClient; | ||
|
||
} | ||
|
||
/** | ||
* | ||
* <p><pre><code> | ||
* MozuClient<com.mozu.api.contracts.paymentservice.response.SyncResponse> mozuClient=UpdateClient( request, cardId); | ||
* client.setBaseAddress(url); | ||
* client.executeRequest(); | ||
* SyncResponse syncResponse = client.Result(); | ||
* </code></pre></p> | ||
* @param cardId | ||
* @param request | ||
* @return Mozu.Api.MozuClient <com.mozu.api.contracts.paymentservice.response.SyncResponse> | ||
* @see com.mozu.api.contracts.paymentservice.response.SyncResponse | ||
* @see com.mozu.api.contracts.paymentservice.PublicCard | ||
*/ | ||
public static MozuClient<com.mozu.api.contracts.paymentservice.response.SyncResponse> updateClient(com.mozu.api.contracts.paymentservice.PublicCard request, String cardId) throws Exception | ||
{ | ||
MozuUrl url = com.mozu.api.urls.commerce.payments.PublicCardUrl.updateUrl(cardId); | ||
String verb = "PUT"; | ||
Class<?> clz = com.mozu.api.contracts.paymentservice.response.SyncResponse.class; | ||
MozuClient<com.mozu.api.contracts.paymentservice.response.SyncResponse> mozuClient = (MozuClient<com.mozu.api.contracts.paymentservice.response.SyncResponse>) MozuClientFactory.getInstance(clz); | ||
mozuClient.setVerb(verb); | ||
mozuClient.setResourceUrl(url); | ||
mozuClient.setBody(request); | ||
return mozuClient; | ||
|
||
} | ||
|
||
/** | ||
* | ||
* <p><pre><code> | ||
* MozuClient mozuClient=DeleteClient( cardId); | ||
* client.setBaseAddress(url); | ||
* client.executeRequest(); | ||
* </code></pre></p> | ||
* @param cardId | ||
* @return Mozu.Api.MozuClient | ||
*/ | ||
public static MozuClient deleteClient(String cardId) throws Exception | ||
{ | ||
MozuUrl url = com.mozu.api.urls.commerce.payments.PublicCardUrl.deleteUrl(cardId); | ||
String verb = "DELETE"; | ||
MozuClient mozuClient = (MozuClient) MozuClientFactory.getInstance(); | ||
mozuClient.setVerb(verb); | ||
mozuClient.setResourceUrl(url); | ||
return mozuClient; | ||
|
||
} | ||
|
||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.