public static MozuClient<List<com.mozu.api.contracts.shippingadmin.profile.ShippingStates>> getStatesClient(String profileCode) throws Exception
	{
		MozuUrl url = com.mozu.api.urls.commerce.shipping.admin.profiles.ShippingStatesUrl.getStatesUrl(profileCode);
		String verb = "GET";
		Class<?> clz = new ArrayList<com.mozu.api.contracts.shippingadmin.profile.ShippingStates>(){}.getClass();
		MozuClient<List<com.mozu.api.contracts.shippingadmin.profile.ShippingStates>> mozuClient = (MozuClient<List<com.mozu.api.contracts.shippingadmin.profile.ShippingStates>>) MozuClientFactory.getInstance(clz);
		mozuClient.setVerb(verb);
		mozuClient.setResourceUrl(url);
		return mozuClient;

	}
public static MozuClient < List < com . mozu . api . contracts . shippingadmin . profile . ShippingStates > > getStatesClient ( String profileCode ) throws Exception { MozuUrl url = com . mozu . api . urls . commerce . shipping . admin . profiles . ShippingStatesUrl . getStatesUrl ( profileCode ) ; String verb = "GET" ; Class < ? > clz = new ArrayList < com . mozu . api . contracts . shippingadmin . profile . ShippingStates > ( ) { } . getClass ( ) ; MozuClient < List < com . mozu . api . contracts . shippingadmin . profile . ShippingStates > > mozuClient = ( MozuClient < List < com . mozu . api . contracts . shippingadmin . profile . ShippingStates > > ) MozuClientFactory . getInstance ( clz ) ; mozuClient . setVerb ( verb ) ; mozuClient . setResourceUrl ( url ) ; return mozuClient ; }
<p><pre><code>
MozuClient<List<com.mozu.api.contracts.shippingadmin.profile.ShippingStates>> mozuClient=GetStatesClient( profileCode);
client.setBaseAddress(url);
client.executeRequest();
ShippingStates shippingStates = client.Result();
</code></pre></p>
@param profileCode The unique, user-defined code of the profile with which the shipping state is associated.
@param dataViewMode DataViewMode
@return Mozu.Api.MozuClient <List<com.mozu.api.contracts.shippingadmin.profile.ShippingStates>>
@see com.mozu.api.contracts.shippingadmin.profile.ShippingStates