chromium/components/autofill/core/browser/payments/payments_requests/payments_request.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/core/browser/payments/payments_requests/payments_request.h"

#include <utility>

#include "base/strings/string_number_conversions.h"
#include "base/types/cxx23_to_underlying.h"
#include "base/values.h"
#include "build/build_config.h"
#include "components/autofill/core/browser/payments/client_behavior_constants.h"
#include "components/autofill/core/browser/payments/payments_network_interface.h"

namespace autofill::payments {

PaymentsRequest::PaymentsRequest() {}

PaymentsRequest::~PaymentsRequest() = default;

bool PaymentsRequest::IsRetryableFailure(const std::string& error_code) {}

std::string PaymentsRequest::GetHistogramName() const {}

std::optional<base::TimeDelta> PaymentsRequest::GetTimeout() const {}

base::Value::Dict PaymentsRequest::BuildRiskDictionary(
    const std::string& encoded_risk_data) {}

base::Value::Dict PaymentsRequest::BuildCustomerContextDictionary(
    int64_t external_customer_id) {}

base::Value::Dict PaymentsRequest::BuildChromeUserContext(
    const std::vector<ClientBehaviorConstants>& client_behavior_signals,
    bool full_sync_enabled) {}

base::Value::Dict PaymentsRequest::BuildAddressDictionary(
    const AutofillProfile& profile,
    const std::string& app_locale,
    bool include_non_location_data) {}

base::Value::Dict PaymentsRequest::BuildCreditCardDictionary(
    const CreditCard& credit_card,
    const std::string& app_locale,
    const std::string& pan_field_name) {}

// static
void PaymentsRequest::AppendStringIfNotEmpty(const AutofillProfile& profile,
                                             const FieldType& type,
                                             const std::string& app_locale,
                                             base::Value::List& list) {}

// static
void PaymentsRequest::SetStringIfNotEmpty(const AutofillDataModel& profile,
                                          const FieldType& type,
                                          const std::string& app_locale,
                                          const std::string& path,
                                          base::Value::Dict& dictionary) {}

}  // namespace autofill::payments