google-code-export / google-checkout-java-sdk

Automatically exported from code.google.com/p/google-checkout-java-sdk
1 stars 0 forks source link

setMerchantPrivateItemData should not constrain the types of elements that can be added #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The exception thrown by Item.setMerchantPrivateItemData occurs when one of
the subtags I want to add to merchant-private-item-data is not of type
item-data. The public description of this tag doesn't explicitly state
that, item-data is only found in the example [1]. Another example, [2],
suggests that the SDK implementation is wrong. There should not be a
constrain on what elements can be placed under the
merchant-private-item-data node.

[1]
http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notificat
ion_API.html#tag_merchant-private-item-data

[2] the first example under this point, search for the
merchant-private-item-data in the new-order-notification:
http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notificat
ion_API.html#Types_of_Notifications

Original issue reported on code.google.com by dang.cha...@gmail.com on 7 Dec 2007 at 6:49

GoogleCodeExporter commented 9 years ago
The setMerchantPrivateItemData no longer restricts which elements can be added.

Original comment by dang.cha...@gmail.com on 7 Dec 2007 at 10:17