com.ecwid.mailchimp
Class MailChimpMethod<R>
java.lang.Object
java.util.AbstractMap<String,Object>
com.ecwid.mailchimp.MailChimpObject
com.ecwid.mailchimp.MailChimpMethod<R>
- All Implemented Interfaces:
- Serializable, Map<String,Object>
- Direct Known Subclasses:
- CampaignEcommOrderAddMethod, CampaignSegmentTestMethod, CampaingRelatedMethod, GenerateTextFromHtmlMethod, GetAccountDetailsMethod, HasListIdMethod, HasUsernameAndPasswordMethod, InterestGroupingDelMethod, ListInterestGroupingDelMethod, ListMethod, ListsMethod, ListsRelatedMethod, OrderAddMethod, TemplatesMethod
public abstract class MailChimpMethod<R>
- extends MailChimpObject
Abstract class representing MailChimp API calls.
Only a limited number of MailChimp API methods have wrappers in the current version of ecwid-mailchimp.
If you need to wrap a method which is not in the list,
you can easily create the wrapper by extending this class.
- Author:
- Vasily Karyaev
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Field Summary |
String |
apikey
API key to access MailChimp service. |
Methods inherited from class com.ecwid.mailchimp.MailChimpObject |
as, clear, containsKey, entrySet, fromJson, get, getReflectiveMappingTypes, getReflectiveMappingTypes, keySet, put, remove, size, toJson |
apikey
@MailChimpObject.Field
public String apikey
- API key to access MailChimp service.
MailChimpMethod
public MailChimpMethod()
getMetaInfo
public final MailChimpMethod.Method getMetaInfo()
- Get the MailChimp API method meta-info.
- Throws:
IllegalArgumentException
- if neither this class nor any of its superclasses
are annotated with MailChimpMethod.Method
.
getResultType
public final Type getResultType()
- Get the method result type.
Copyright © 2012-2014 Ecwid, Inc. All Rights Reserved.