| java.lang.Object |
| ↳ |
org.mule.modules.zuora.ZuoraModule |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Zuora is the leader in online recurring billing and payment solutions for SaaS and subscription businesses.
This connector provides full access to the Z-Commerce platform API.
Summary
| Public Methods |
|
Map<String, Object>
|
accountProfile(String accountId)
Retrieve an account profile
|
|
List<AmendResult>
|
amend(List<AmendRequest> amendaments)
|
|
synchronized
void
|
connect(String username, String password)
Connects to Zuora
|
|
List<SaveResult>
|
create(ZObjectType type, List<Map<String, Object>> zobjects)
Batch creation of ZObjects
|
|
List<DeleteResult>
|
delete(ZObjectType type, List<String> ids)
|
|
synchronized
void
|
disconnect()
Destroys the session
|
|
Iterable<ZObject>
|
find(String zquery)
Lazily retrieves ZObject that match a given query,
written in Zuora native query language
|
|
List<SaveResult>
|
generate(ZObjectType type, List<Map<String, Object>> zobjects)
Batch creation of invoces for accounts
|
|
String
|
getEnpoint()
|
|
String
|
getSessionId()
|
|
User
|
getUserInfo()
|
|
boolean
|
isConnected()
|
|
Map<String, Object>
|
productProfile(String productId)
Retrieve a product profile
|
|
void
|
setClient(ZuoraClient<Exception> client)
|
|
void
|
setEndpoint(String enpoint)
|
|
List<SubscribeResult>
|
subscribe(List<SubscribeRequest> subscriptions)
Batch creation of ZObjects associated to Subscriptions
|
|
List<SaveResult>
|
update(ZObjectType type, List<Map<String, Object>> zobjects)
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
ZuoraClient<Exception>
client
The client to use. Mainly for mocking purposes
Public Constructors
Public Methods
public
Map<String, Object>
accountProfile
(String accountId)
Retrieve an account profile
Parameters
| accountId
| The id of the account to retrieve an account profile for |
Returns
- the account, as a String-Object Map
Parameters
| amendaments
| The list of amendaments to perform |
public
synchronized
void
connect
(String username, String password)
Parameters
| username
| Username to identify the user |
| password
| Password to authenticate the username
|
public
List<SaveResult>
create
(ZObjectType type, List<Map<String, Object>> zobjects)
Batch creation of ZObjects
Parameters
| type
| The type of zobject passed |
| zobjects
| The zobjects to create |
Parameters
| type
| The type of ZObjects to delete |
| ids
| The list of ids to delete |
public
synchronized
void
disconnect
()
public
Iterable<ZObject>
find
(String zquery)
Lazily retrieves ZObject that match a given query,
written in Zuora native query language
Parameters
| zquery
| The query, using the SQL-Like Zuora Query Language |
Returns
- a
ZObject iterable. ZObject returned by this operation
may be instances of either static ZObject - like Account or Amendment -, if the object is a non-customizable Zuora entity,
or ZObject, if the object is a customizable Zuora entity
public
List<SaveResult>
generate
(ZObjectType type, List<Map<String, Object>> zobjects)
Batch creation of invoces for accounts
Parameters
| type
| The type of zobject passed |
| zobjects
| The zobjects to generate, as a list of string-object maps .
Zuora attribute names, unlike java beans, are CamelCase. |
public
String
getEnpoint
()
public
String
getSessionId
()
public
User
getUserInfo
()
public
boolean
isConnected
()
public
Map<String, Object>
productProfile
(String productId)
Retrieve a product profile
Parameters
| productId
| The id of the product to retrieve a product profile for |
Returns
- the profile, as a String-Object Map
Throws
|
| ZuoraException}
|
| Exception
| |
public
void
setEndpoint
(String enpoint)
Batch creation of ZObjects associated to Subscriptions
Parameters
| subscriptions
| The list of subscriptions to perform |
Returns
- a subscription results list, one for each subscription
public
List<SaveResult>
update
(ZObjectType type, List<Map<String, Object>> zobjects)
Parameters
| type
| The type of zobject passed |
| zobjects
| The zobjects to update, as a list of string-object maps .
Zuora attribute names, unlike java beans, are CamelCase. |