Returns the string value representing the receipt id. Allows private variable access through dot notation. Sets the receipt id of a NotifyFulfillmentInput object and returns the object so that calls can be chained together Public function withReceiptId(receiptId:String):NotifyFulfillmentInput If you do not supply any arguments to the constructor, you can set the values of the member variables at a later time either by using the implicit setters, or by chaining together with-setter calls. The constructor optionally takes arguments corresponding to the member variables. Public function NotifyFulfillmentInput(receiptId:String=null,Ĭonstructor. The following table describes the various methods that are defined on input objects and show an example of each of the three ways in which you can construct an input object. By constructing an empty object and then chaining together with-setter method calls.By constructing an empty object and then using implicit setters to set the object's properties.By passing arguments to the constructor.You may define an input object in one of several ways: Call the operation, passing in any required input and/or callback function as arguments.For asynchronous operations, define a callback function that is invoked when a response is ready.See Constructing an Input Object for a complete description. There are several ways to construct the input object. If needed, construct the object used to pass input to the operation.To initiate a method call, you must perform the following general steps: You can use the requestId to match a specific request to a specific response, if necessary. The returned data, accessible from within your event handler, includes a unique requestId that matches the requestId that was returned in the request method call. To get the data contained in an event, you must define a handler function and bind it to an event listener for the specific type of event. The NotifyFulfillment method call does not return a response because its purpose is to notify Amazon that your app has delivered the purchased item to the user. The requested data is returned asynchronously via an event. When you initiate a request for data, the system immediately returns an object containing a requestId string, which is a unique request identification string. Events are asynchronous system-generated messages that are sent in response to method calls to return the requested data to you.Īll of the method calls, except for NotifyFulfillment, request data from the system. Method calls initiate requests, some of which return a response. You can initiate method calls and listen for events. See the License for the specific language governing permissions and limitations under the License. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. A copy of the License is located at or in the "license" file accompanying this file. You may not use this file except in compliance with the License. Licensed under the Apache License, Version 2.0 (the "License"). You can download the Adobe Air plugin here: This document provides sample code showing how to use the In-App Purchasing (IAP) v2.0 plugin for Adobe Air.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |