java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PaymentProvider
it.tdlight.jni.TdApi.PaymentProviderStripe
- Enclosing class:
- TdApi
Stripe payment provider.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.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
ConstructorDescriptionStripe payment provider.PaymentProviderStripe
(DataInput input) Stripe payment provider.PaymentProviderStripe
(String publishableKey, boolean needCountry, boolean needPostalCode, boolean needCardholderName) Stripe payment provider. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 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.
-
PaymentProviderStripe
Stripe payment provider.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-