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; |
| 19 |
| 20 @end |
| 21 |
| 22 #endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_PICKER_ROW_H_ |
OLD | NEW |