#include "components/autofill/core/browser/payments/payments_requests/get_iban_upload_details_request.h"
#include "base/json/json_writer.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
namespace autofill::payments {
namespace {
const char kGetIbanUploadDetailsRequestPath[] = …;
}
GetIbanUploadDetailsRequest::GetIbanUploadDetailsRequest(
const bool full_sync_enabled,
const std::string& app_locale,
int64_t billing_customer_number,
int billable_service_number,
const std::string& country_code,
base::OnceCallback<void(PaymentsAutofillClient::PaymentsRpcResult,
const std::u16string& validation_regex,
const std::u16string& context_token,
std::unique_ptr<base::Value::Dict>)> callback)
: … { … }
GetIbanUploadDetailsRequest::~GetIbanUploadDetailsRequest() = default;
std::string GetIbanUploadDetailsRequest::GetRequestUrlPath() { … }
std::string GetIbanUploadDetailsRequest::GetRequestContentType() { … }
std::string GetIbanUploadDetailsRequest::GetRequestContent() { … }
void GetIbanUploadDetailsRequest::ParseResponse(
const base::Value::Dict& response) { … }
bool GetIbanUploadDetailsRequest::IsResponseComplete() { … }
void GetIbanUploadDetailsRequest::RespondToDelegate(
PaymentsAutofillClient::PaymentsRpcResult result) { … }
}