Module tdlight.api

Class TdApi.PaymentsProviderStripe

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PaymentsProviderStripe
Enclosing class:
TdApi

public static final class TdApi.PaymentsProviderStripe extends TdApi.Object
Stripe payment provider.
  • Field Details

    • publishableKey

      public String publishableKey
      Stripe API publishable key.
    • needCountry

      public boolean needCountry
      True, if the user country must be provided.
    • needPostalCode

      public boolean needPostalCode
      True, if the user ZIP/postal code must be provided.
    • needCardholderName

      public boolean needCardholderName
      True, if the cardholder name must be provided.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • PaymentsProviderStripe

      public PaymentsProviderStripe()
      Stripe payment provider.
    • PaymentsProviderStripe

      public PaymentsProviderStripe(String publishableKey, boolean needCountry, boolean needPostalCode, boolean needCardholderName)
      Stripe payment provider.
      Parameters:
      publishableKey - String Stripe API publishable key.
      needCountry - boolean True, if the user country must be provided.
      needPostalCode - boolean True, if the user ZIP/postal code must be provided.
      needCardholderName - boolean True, if the cardholder name must be provided.
    • PaymentsProviderStripe

      public PaymentsProviderStripe(DataInput input) throws IOException
      Stripe payment provider.
      Throws:
      IOException
  • Method Details