ios-unity/purchase/Section.h
2023-07-20 15:28:40 +08:00

20 lines
492 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
See LICENSE folder for this samples licensing information.
Abstract:
Model class used to represent a list of products/purchases.
*/
@import Foundation;
@interface Section : NSObject
/// Products/Purchases are organized by category.
@property (nonatomic, copy) NSString *name;
/// List of products/purchases.
@property (strong) NSArray *elements;
/// Create a Section object.
-(instancetype)initWithName:(NSString *)name elements:(NSArray *)elements NS_DESIGNATED_INITIALIZER;
@end