Package org.drinkless.tdlib
Class TdApi.PaymentProviderStripe
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PaymentProvider
org.drinkless.tdlib.TdApi.PaymentProviderStripe
- Enclosing class:
- TdApi
Stripe payment provider.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanTrue, if the cardholder name must be provided.booleanTrue, if the user country must be provided.booleanTrue, if the user ZIP/postal code must be provided.Stripe API publishable key. -
Constructor Summary
ConstructorsConstructorDescriptionStripe payment provider.PaymentProviderStripe(String publishableKey, boolean needCountry, boolean needPostalCode, boolean needCardholderName) Stripe payment provider. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
publishableKey
Stripe API publishable key. -
needCountry
public boolean needCountryTrue, if the user country must be provided. -
needPostalCode
public boolean needPostalCodeTrue, if the user ZIP/postal code must be provided. -
needCardholderName
public boolean needCardholderNameTrue, if the cardholder name must be provided. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PaymentProviderStripe
public PaymentProviderStripe()Stripe payment provider. -
PaymentProviderStripe
public PaymentProviderStripe(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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-