java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PaymentsProviderStripe
- Enclosing class:
- TdApi
Stripe payment provider.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
boolean
True, if the cardholder name must be provided.boolean
True, if the user country must be provided.boolean
True, if the user ZIP/postal code must be provided.Stripe API publishable key. -
Constructor Summary
ConstructorsConstructorDescriptionStripe payment provider.PaymentsProviderStripe
(DataInput input) PaymentsProviderStripe
(String publishableKey, boolean needCountry, boolean needPostalCode, boolean needCardholderName) Stripe payment provider. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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 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
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-