Index: ios/chrome/browser/payments/cells/payment_method_item.h |
diff --git a/ios/chrome/browser/payments/cells/payment_method_item.h b/ios/chrome/browser/payments/cells/payment_method_item.h |
index 0713ec995fea4132993094774f1f0b583bb3cccc..5b6f4fc3f1ad3b03970294055585010f6f703e15 100644 |
--- a/ios/chrome/browser/payments/cells/payment_method_item.h |
+++ b/ios/chrome/browser/payments/cells/payment_method_item.h |
@@ -7,11 +7,12 @@ |
#import <UIKit/UIKit.h> |
+#import "ios/chrome/browser/payments/cells/payments_has_accessory_type.h" |
#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" |
#import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h" |
// PaymentMethodItem is the model class corresponding to PaymentMethodCell. |
-@interface PaymentMethodItem : CollectionViewItem |
+@interface PaymentMethodItem : CollectionViewItem<PaymentsHasAccessoryType> |
// A unique identifier for the payment method (for example, the type and last 4 |
// digits of a credit card). |
@@ -36,9 +37,6 @@ |
// has the same size regardless of whether the accessory type is set. |
@property(nonatomic, assign) BOOL reserveRoomForAccessoryType; |
-// The accessory type to be shown in the cell. |
-@property(nonatomic) MDCCollectionViewCellAccessoryType accessoryType; |
- |
@end |
// PaymentMethodCell implements an MDCCollectionViewCell subclass containing |