I'm working with the ebay API and using one of the methods to retrieve some
Category Info, this gets me the top level categories.
>From there I want to get the child categories. There is a method that is
returned from the web service call named getChildCategory(), this method has
a return type of eBLBaseComponents.apis.ebay.StoreCustomCategoryType
If I do this:
<cfset ebayCategoryCreator = createObject("component","components.Ebay") />
<cfset createdCategories = ebayCategoryCreator.createEbayCategory() />
<cfset store =
createdCategories.getStore().getCustomCategories().getCustomCategory() />
<cfloop from="1" to="#ArrayLen(store)#" index="category">
<cfoutput>
#store[category].getChildCategory()# <br />
</cfoutput>
</cfloop>
The output returned is:
[LeBLBaseComponents.apis.ebay.StoreCustomCategoryType;@3c474b6
If I look at the StoreCustomCategoryType Java file I can see the methods
defined as follows:
public eBLBaseComponents.apis.ebay.StoreCustomCategoryType[]
getChildCategory() {
return childCategory;
}
public eBLBaseComponents.apis.ebay.StoreCustomCategoryType
getChildCategory(int i) {
return childCategory[i];
}
How can I get at the child categories?
Thanks,
Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---