<doc>
	<legacy_id></legacy_id>
	<name>productDetailsReceived</name>
	<type>message</type>

	<syntax>
		<example>productDetailsReceived<i> productID, details</i></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Sent by the store when the request for specific product details is successful.</summary>

	<examples>
<example><p>on productDetailsReceived pProdID, pDetails</p><p>   answer "Querying details for product : " &amp;&amp; pProdID</p><p>   if pDetails is empty then</p><p>      answer "pDetails is empty"</p><p>   else</p><p>      combine pDetails using return</p><p>      answer pDetails</p><p>   end if   </p><p>end productDetailsReceived</p></example>
	</examples>

	<history>
		<introduced version="6.7">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

	<platforms>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<function tag="mobileStoreCanMakePurchase">mobileStoreCanMakePurchase function</function>
		<function tag="mobileStorePurchasedProducts">mobileStorePurchasedProducts function</function>
		<function tag="mobileStorePurchaseError">mobileStorePurchaseError function</function>
		<function tag="mobileStoreProductProperty">mobileStoreProductProperty function</function>
		<command tag="mobileStoreEnablePurchaseUpdates">mobileStoreEnablePurchaseUpdates command</command>
		<command tag="mobileStoreDisablePurchaseUpdates">mobileStoreDisablePurchaseUpdates command</command>
		<command tag="mobileStoreConsumePurchase">mobileStoreConsumePurchase command</command>
		<command tag="mobileStoreConfirmPurchase">mobileStoreConfirmPurchase command</command>
		<command tag="mobileStoreRestorePurchases">mobileStoreRestorePurchases command</command>
		<command tag="mobileStoreSetProductType">mobileStoreSetProductType command</command>
		<command tag="mobileStoreRequestProductDetails">mobileStoreRequestProductDetails command</command>
		<command tag="mobileStoreMakePurchase">mobileStoreMakePurchase command</command>
		<command tag="mobileStoreVerifyPurchase">mobileStoreVerifyPurchase command</command>
		<message tag="purchaseStateUpdate">purchaseStateUpdate message</message>
		<message tag="productRequestError">productRequestError message</message>
	</references>

	<description>
	<overview>Use the <b>productDetailsReceived</b> message to get details for a specific product.</overview>

		<parameters>
  <parameter>
    <name>productID</name>
    <description>Is the identifier of the product for which the request for details was made.</description>
  </parameter>
  <parameter>
    <name>details</name>
    <description>Is an array that contains information about the specified product. The keys of this array may differ, depending on the store.</description>
  </parameter>		</parameters>

	<value></value>
	<comments>The message <b>productDetailsReceived</b> is sent in response to <command tag="mobileStoreRequestProductDetails">mobileStoreRequestProductDetails</command> command, when the request is successful. The details are returned in the second parameter, <i>details</i>, which is an array with the following keys:<p></p><p>For android stores (Google/Amazon/Samsung), the keys are : </p><p>- <i>productID</i> : identifier of the requested product</p><p>- <i>price</i> : price of the requested product</p><p>- <i>description</i> : description of the requested product</p><p>- <i>title</i> : title of the requested product</p><p>- <i>itemType</i> : type of the requested product</p><p>- <i>itemImageUrl</i> : URL where the image of the requested product is stored</p><p>- <i>itemDownloadUrl</i> : URL to download the requested product</p><p>- <i>subscriptionDurationUnit</i> : subscription duration unit of the requested product</p><p>- <i>subscriptionDurationMultiplier</i> : subscription duration multiplier of the requested product</p><p></p><p>For iOS store (Apple), the keys are :</p><p>- <i>price</i> : price of the requested product</p><p>- <i>description</i> : description of the requested product</p><p>- <i>title</i> : title of the requested product</p><p>- <i>currency</i> <i>code</i> : price currency code of the requested product</p><p>- <i>currency</i> <i>symbol</i> : currency symbol of the requested product</p><p>- <i>unicode</i> <i>description</i> : unicode description of the requested product</p><p>- <i>unicode</i> <i>title</i> : unicode title of the requested product</p><p>- <i>unicode</i> <i>currency</i> <i>symbol</i> : unicode currency symbol of the requested product</p></comments>
	</description>
</doc>