getFlexibleCreditProgramsInfo


SoftLayer_Account::getFlexibleCreditProgramsInfo

This method retrieves information on all of your Flexible Credit Program enrollments for your account.

Description

This method will return a SoftLayer_Container_Account_Discount_Program_Collection object containing information on all of the Flexible Credit Programs your account is enrolled in. To be considered an active participant, the account must have at least one enrollment record with a monthly credit amount set and the current date must be within the range defined by the enrollment and graduation date. The forNextBillCycle parameter can be set to true to return a SoftLayer_Container_Account_Discount_Program_Collection object with information with relation to the next bill cycle. The forNextBillCycle parameter defaults to false. Please note that all discount amount entries are reported as pre-tax amounts.

Parameters

Name Type Description
nextBillingCycleFlag boolean Flag indicating whether the information in the container should be in the next bill cycle.

Required Headers

Optional Headers

  • None

Return Values

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [boolean]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getFlexibleCreditProgramsInfo'