// // SKPayment.h // StoreKit // // Copyright 2009 Apple, Inc. All rights reserved. // #import #import @class SKProduct; //Model class to define a payment for a particular product NS_CLASS_AVAILABLE(10_7, NA) @interface SKPayment : NSObject { @private id _internal; } + (id)paymentWithProduct:(SKProduct *)product; // Identifier agreed upon with the store. Required. @property(copy, readonly) NSString *productIdentifier; // Payment request data agreed upon with the store. Optional. @property(copy, readonly) NSData *requestData; // default: 1. Must be at least 1. @property(readonly) NSInteger quantity; @end NS_CLASS_AVAILABLE(10_7, NA) @interface SKMutablePayment : SKPayment { } @property(copy, readwrite) NSString *productIdentifier; @property(readwrite) NSInteger quantity; @property(copy, readwrite) NSData *requestData; @end