2021-03-24 17:59:30 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stripe/stripe_address.h"
|
|
|
|
|
|
|
|
#include <QtCore/QString>
|
|
|
|
|
|
|
|
namespace Stripe {
|
|
|
|
|
|
|
|
struct PaymentConfiguration {
|
|
|
|
QString publishableKey;
|
|
|
|
// PaymentMethodType additionalPaymentMethods; // Apply Pay
|
2021-03-25 15:27:30 +00:00
|
|
|
|
|
|
|
// TODO incomplete, not used.
|
|
|
|
//BillingAddressFields requiredBillingAddressFields
|
|
|
|
// = BillingAddressFields::None;
|
|
|
|
|
2021-03-24 17:59:30 +00:00
|
|
|
QString companyName;
|
|
|
|
// QString appleMerchantIdentifier; // Apple Pay
|
|
|
|
// bool smsAutofillDisabled = true; // Mobile only
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Stripe
|