| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_CREDIT_CARD_FORM_H_ |
| #define IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_CREDIT_CARD_FORM_H_ |
| |
| #import "ios/chrome/browser/ui/autofill/manual_fill/credit_card.h" |
| |
| namespace autofill { |
| class CreditCard; |
| } |
| |
| @interface ManualFillCreditCard (CreditCard) |
| |
| // Convenience initializer from a autofill::CreditCard. It also prepares some |
| // fields for user presentation, like creating an obfuscated version of the |
| // credit card number and formatting month/year fields. |
| - (instancetype)initWithCreditCard:(const autofill::CreditCard&)creditCard; |
| |
| @end |
| |
| #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_CREDIT_CARD_FORM_H_ |