public static MozuClient addCouponsClient(List<com.mozu.api.contracts.productadmin.Coupon> coupons, String couponSetCode) throws Exception
	{
		MozuUrl url = com.mozu.api.urls.commerce.catalog.admin.couponsets.CouponUrl.addCouponsUrl(couponSetCode);
		String verb = "POST";
				MozuClient mozuClient = (MozuClient) MozuClientFactory.getInstance();
		mozuClient.setVerb(verb);
		mozuClient.setResourceUrl(url);
		mozuClient.setBody(coupons);
		return mozuClient;

	}
public static MozuClient addCouponsClient ( List < com . mozu . api . contracts . productadmin . Coupon > coupons , String couponSetCode ) throws Exception { MozuUrl url = com . mozu . api . urls . commerce . catalog . admin . couponsets . CouponUrl . addCouponsUrl ( couponSetCode ) ; String verb = "POST" ; MozuClient mozuClient = ( MozuClient ) MozuClientFactory . getInstance ( ) ; mozuClient . setVerb ( verb ) ; mozuClient . setResourceUrl ( url ) ; mozuClient . setBody ( coupons ) ; return mozuClient ; }
<p><pre><code>
MozuClient mozuClient=AddCouponsClient( coupons,  couponSetCode);
client.setBaseAddress(url);
client.executeRequest();
</code></pre></p>
@param couponSetCode The unique identifier of the coupon set.
@param coupons The details necessary to assign the discount to a coupon set, including .
@return Mozu.Api.MozuClient
@see com.mozu.api.contracts.productadmin.Coupon