stripe_payment_configuration.h 723 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. #include "stripe/stripe_address.h"
  9. #include <QtCore/QString>
  10. namespace Stripe {
  11. struct PaymentConfiguration {
  12. QString publishableKey;
  13. // PaymentMethodType additionalPaymentMethods; // Apply Pay
  14. // TODO incomplete, not used.
  15. //BillingAddressFields requiredBillingAddressFields
  16. // = BillingAddressFields::None;
  17. QString companyName;
  18. // QString appleMerchantIdentifier; // Apple Pay
  19. // bool smsAutofillDisabled = true; // Mobile only
  20. };
  21. } // namespace Stripe