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

// Copyright 2022 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/get_details_for_enrollment_request.h"

#include "base/json/json_writer.h"
#include "base/strings/string_number_conversions.h"

namespace autofill::payments {

namespace {

// The path that the request will be sent to.
const char kGetDetailsForEnrollmentRequestPath[] =;

// The billable service number for the request if the enrollment happens after
// a local card upload.
const int kUpstreamEnrollBillableServiceNumber =;

// The billable service number for the request if the enrollment happens after a
// server card retrieval or in the settings page.
const int kDownstreamEnrollBillableServiceNumber =;

}  // namespace

GetDetailsForEnrollmentRequest::GetDetailsForEnrollmentRequest(
    const PaymentsNetworkInterface::GetDetailsForEnrollmentRequestDetails&
        request_details,
    base::OnceCallback<void(PaymentsAutofillClient::PaymentsRpcResult,
                            const PaymentsNetworkInterface::
                                GetDetailsForEnrollmentResponseDetails&)>
        callback)
    :{}

GetDetailsForEnrollmentRequest::~GetDetailsForEnrollmentRequest() = default;

std::string GetDetailsForEnrollmentRequest::GetRequestUrlPath() {}

std::string GetDetailsForEnrollmentRequest::GetRequestContentType() {}

std::string GetDetailsForEnrollmentRequest::GetRequestContent() {}

void GetDetailsForEnrollmentRequest::ParseResponse(
    const base::Value::Dict& response) {}

bool GetDetailsForEnrollmentRequest::IsResponseComplete() {}

void GetDetailsForEnrollmentRequest::RespondToDelegate(
    PaymentsAutofillClient::PaymentsRpcResult result) {}

}  // namespace autofill::payments