fetchRemainingPaymentDetails method returns AutoBill information after the most recent payment.
Note: If an AutoBillItem has a price basis of Included, fetchRemainingPaymentDetails will return undefined.
Input
srd: sparse response description, a SOAP string (which must be a JSON object), in which you specify the elements you want returned.This parameter enables the calling system to constrain amethod call to return only components you specify. This gives you greater control over returned content, and improves response time within the Vindicia platform by reducing the processing needed for the call.
Some fields are required, either practically or in the WSDL, and will be returned regardless of the srd. A null srd returns the complete response.
autobill: the AutoBill object to query.
Output
return: an object of typeReturn that indicates the success or failure of the call.
autobillRemainingBalanceInSet: the balance remaining on the AutoBill.
billingPlanRemainingBalanceInSet: the balance remaining on the BillingPlan.
billingPlanRemainingPaymentsInSet: the number of payments remaining on the BillingPlan.
autobillItemRemainingPaymentDetails: an array of PaymentDetails objects, listing information about the payment due to each AutoBillItem.
- autobillItemVid: the Vindicia unique name (VID) for the
AutoBillItem. - merchantAutoBillItemId: the unique identifier for this
AutoBillItemobject. - merchantProductId: the unique identifier for the product. If you track your products internally by SKU, use the SKU as your
merchantProductId, to allow you to map your local records to SubscribeTransactionsthat have thisAutoBillItemas a line item. - productVid: the Vindicia unique name (VID) for the
Product. - remainingBalanceInSet :the balance remaining in the
AutoBillfor theAutoBillItem. - remainingPaymentsInSet: the number of payments remaining in the AutoBill for the
AutoBillItem.

