getDeferredCharges()

DeferredChargeList getDeferredCharges(string usn)

This method returns a list of deferred charges for a given USN. Deferred charges are also known as pending charges.

Parameters

usn
Format: string
Purpose: Specifies the USN of the account or subscription for which to return deferred charges.

Results

This method returns a list of charges for the given USN. If there are no charges a document with no charges will be returned.

If an account USN is given all deferred charges for the account and it's subscriptions will be returned, not just for the account itself.

There are no messages defined by this method.

Example: A returned DeferredChargeList XML document with charges

This example shows a DeferredChargeList XML document with deferred charges for the given USN.

<DeferredChargeList xmlns="http://xml.inomial.com/smile/2.xsd" xmlns="http://ws.inomial.com/smile.2">
  <TransactionItem>
    <usn>2142423413</usn>
    <lineNumber>0</lineNumber>
    <itemCode>000109</itemCode>
    <chargeFrom>2014-12-15+11:00</chargeFrom>
    <chargeTo>2014-12-15+11:00</chargeTo>
    <description>13XX Flagfall</description>
    <quantity>1.000</quantity>
    <currency>AUD</currency>
    <amount>1.00</amount>
    <isGst>false</isGst>
    <chargeGst>true</chargeGst>
    <discount>0.00</discount>
    <count>0</count>
    <gstAmount>0.100000</gstAmount>
    <salesReportCategory>unknown</salesReportCategory>
  </TransactionItem>
</DeferredChargeList>

Example: A returned DeferredChargeList XML document with no charges

This example shows a DeferredChargeList XML document with no deferred charges for the given USN.

<DeferredChargeList xmlns="http://xml.inomial.com/smile/2.xsd" xmlns="http://ws.inomial.com/smile.2"/>

Faults

NoSuchExceptionItem

This fault is returned when the account or subscription USN does not exist.

Java client syntax

java -cp build/smilewsv2-client.jar [options]
 com.inomial.smile.client.v2.examples.GetDeferredCharges usn
usn
Purpose: Specifies the USN of the account or subscription for which to return deferred charges.
Note: For more information about the Java client and the options it accepts, see Java client syntax.