Namespacehttp://repository.mulesoft.org/releases/org/mule/modules/mule-module-zuora
Schema Locationhttp://repository.mulesoft.org/releases/org/mule/modules/mule-module-zuora/1.0/mule-zuora.xsd
Version1.0

Summary

Configuration
<zuora:config>
Configure an instance of this module
Message Processors
<zuora:amend>
Amends subscriptions


<amend amendaments-ref="#[header:amendamentsList]"/>

<zuora:create>
Batch creation of ZObjects


<create> <zobjects> <zobject ref="#[variable:anObject]"/> </zobject> </create>

<zuora:delete>
Batch delete of ZObjects


<delete ids-ref="#[variable:ids]" type="#[variable:zobjectType]"/>

<zuora:find>
Lazily retrieves ZObject that match a given query, written in Zuora native query language


<find query="#[header:queryString]" />

<zuora:generate>
Batch creation of invoces for accounts


<generate zobjects-ref="#[variable:accounts]"/>

<zuora:get-user-info>
Answers user information


<get-user-info userId="#[header:userId]""/>

<zuora:subscribe>
Batch creation of ZObjects associated to Subscriptions


<subscribe subscriptions-ref="#[variable:subscribtions]"/>

<zuora:update>
Batch update of ZObjects


<update zobjects-ref="#[variable:objects]"/>

Configuration

This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.

Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.

Attributes
TypeNameDefault ValueDescription
xs:string name Optional. Give a name to this configuration so it can be later referenced.
client Optional. 
xs:string endpoint

Message Processors

<zuora:amend>

Amends subscriptions


<amend amendaments-ref="#[header:amendamentsList]"/>

Attributes
NameDefault ValueDescription
config-ref Optional. Specify which configuration to use.
session
amendaments
Child Elements
Return Payload
  • a list of AmmendResults, one for each amendament
Exception Payload
ZuoraException

<zuora:create>

Batch creation of ZObjects


<create> <zobjects> <zobject ref="#[variable:anObject]"/> </zobject> </create>

Attributes
NameDefault ValueDescription
config-ref Optional. Specify which configuration to use.
session
type the type of zobject passed
zobjects the zobjects to create
Child Elements
Return Payload
  • a list of SaveResult, one for each ZObject
Exception Payload
ZuoraException

<zuora:delete>

Batch delete of ZObjects


<delete ids-ref="#[variable:ids]" type="#[variable:zobjectType]"/>

Attributes
NameDefault ValueDescription
config-ref Optional. Specify which configuration to use.
session
type the type of ZObjects to delete
ids
Child Elements
Return Payload
  • a list of DeleteResults, one for each id
Exception Payload
ZuoraException

<zuora:find>

Lazily retrieves ZObject that match a given query, written in Zuora native query language


<find query="#[header:queryString]" />

Attributes
NameDefault ValueDescription
config-ref Optional. Specify which configuration to use.
session
zquery
Child Elements
Return Payload
  • a ZObjects iterable. ZObjects returned by this operation may be instances of either StaticZObject - like Account or Amendment -, if the object is a non-customizable Zuora entity, or ZObject, if the object is a customizable Zuora entity
Exception Payload
ZuoraException

<zuora:generate>

Batch creation of invoces for accounts


<generate zobjects-ref="#[variable:accounts]"/>

Attributes
NameDefault ValueDescription
config-ref Optional. Specify which configuration to use.
session
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.
Child Elements
Return Payload
  • a list of SaveResult, one for each ZObject
Exception Payload
ZuoraException

<zuora:get-user-info>

Answers user information


<get-user-info userId="#[header:userId]""/>

Attributes
NameDefault ValueDescription
config-ref Optional. Specify which configuration to use.
session
Child Elements
Return Payload
  • a User
Exception Payload
ZuoraException

<zuora:subscribe>

Batch creation of ZObjects associated to Subscriptions


<subscribe subscriptions-ref="#[variable:subscribtions]"/>

Attributes
NameDefault ValueDescription
config-ref Optional. Specify which configuration to use.
session
subscriptions
Child Elements
Return Payload
  • a subscription results list, one for each subscription
Exception Payload
ZuoraException

<zuora:update>

Batch update of ZObjects


<update zobjects-ref="#[variable:objects]"/>

Attributes
NameDefault ValueDescription
config-ref Optional. Specify which configuration to use.
session
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.
Child Elements
Return Payload
  • a list of SaveResult, one for each ZObject
Exception Payload
ZuoraException