// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_EWALLET_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_EWALLET_H_ #include <cstdint> #include <string> #include <string_view> #include "base/containers/flat_set.h" #include "components/autofill/core/browser/data_model/payment_instrument.h" class GURL; namespace autofill { // An ewallet is a form of payment that facilitates a push payment to the // merchant rather than a pull payment from the merchant. In the case of a pull // payment, the merchant collects payment information from the user and // initiates the payment with the issuer. Example: credit cards. For a push // payment, the payment is initiated from the issuer side, to a payment target // indicating the recipient merchant. Ewallets fall into that category. Ewallets // are typically already linked to a user's bank account. This class consists of // the details for a user's ewallet, and this data is synced from the Google // Payments server. class Ewallet { … }; } // namespace autofill #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_EWALLET_H_