#include "components/payments/content/payment_request_converter.h"
#include <memory>
#include "components/payments/core/payment_currency_amount.h"
#include "components/payments/core/payment_details.h"
#include "components/payments/core/payment_details_modifier.h"
#include "components/payments/core/payment_item.h"
#include "components/payments/core/payment_method_data.h"
#include "components/payments/core/payment_shipping_option.h"
namespace payments {
namespace {
PaymentItem ConvertPaymentItem(const mojom::PaymentItemPtr& item_entry) { … }
PaymentDetailsModifier ConvertPaymentDetailsModifier(
const mojom::PaymentDetailsModifierPtr& modifier_entry) { … }
PaymentShippingOption ConvertPaymentShippingOption(
const mojom::PaymentShippingOptionPtr& option_entry) { … }
}
std::string GetBasicCardNetworkName(const mojom::BasicCardNetwork& network) { … }
PaymentMethodData ConvertPaymentMethodData(
const mojom::PaymentMethodDataPtr& method_data_entry) { … }
PaymentDetails ConvertPaymentDetails(
const mojom::PaymentDetailsPtr& details_entry) { … }
}