OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_PICKER_ROW_H_ | |
6 #define IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_PICKER_ROW_H_ | |
7 | |
8 #import <Foundation/Foundation.h> | |
9 | |
10 // The model object for a row in the payment request picker. | |
11 @interface PickerRow : NSObject | |
12 | |
13 // The label for the row. This is displayed in the UI. | |
14 @property(nonatomic, copy) NSString* label; | |
15 // The value for the row. This is not displayed in the UI and is optional. | |
16 @property(nonatomic, copy) NSString* value; | |
17 | |
18 - (instancetype)initWithLabel:(NSString*)label value:(NSString*)value; | |
lpromero
2017/04/03 16:41:41
Nit: add a new line.
Moe
2017/04/05 05:09:49
Done.
| |
19 @end | |
20 | |
21 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_PICKER_ROW_H_ | |
OLD | NEW |