Package org.drinkless.tdlib
Class TdApi.PaymentsProviderStripe
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PaymentsProviderStripe
-
- Enclosing class:
- TdApi
public static class TdApi.PaymentsProviderStripe extends TdApi.Object
Stripe payment provider.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanneedCardholderNameTrue, if the cardholder name must be provided.booleanneedCountryTrue, if the user country must be provided.booleanneedPostalCodeTrue, if the user ZIP/postal code must be provided.StringpublishableKeyStripe API publishable key.
-
Constructor Summary
Constructors Constructor Description PaymentsProviderStripe()Stripe payment provider.PaymentsProviderStripe(String publishableKey, boolean needCountry, boolean needPostalCode, boolean needCardholderName)Stripe payment provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
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
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaymentsProviderStripe
public PaymentsProviderStripe()
Stripe payment provider.
-
PaymentsProviderStripe
public PaymentsProviderStripe(String publishableKey, boolean needCountry, boolean needPostalCode, boolean needCardholderName)
Stripe payment provider.- Parameters:
publishableKey- Stripe API publishable key.needCountry- True, if the user country must be provided.needPostalCode- True, if the user ZIP/postal code must be provided.needCardholderName- True, if the cardholder name must be provided.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-