AppotaAppleIAPItem
Inherits from: NSObject
Declared in: AppotaAppleIAPItem.h
Tổng quan
AppotaAppleIAPItem là class định nghĩa IAP item trên hệ thống Appota Payment, được sử dụng để thanh toán với Apple Payment.
Thuộc tính
NSString *productId | ID của item được hệ thống Appota cung cấp |
NSString *description | Mô tả item |
float price | Giá item |
Phương thức
constructor | initWithProductID:(NSString*) productId_ withPrice:(float) price_
withDescription:(NSString*) description_ Hàm khởi tạo |
(void) | setProductId:(NSString *)newValue; Đặt giá trị productId |
(NSString *) | productId Lấy giá trị productId |
(void) | setDescription:(NSString *)newValue Đặt giá trị trường description |
(NSString *) | description Lấy giá trị trường description |
(void) | setPrice:(float)newValue Đặt giá trị trường price |
(float) | price Lấy giá trị trường price |