Package it.tdlight.jni
Class TdApi.PaymentsProviderStripe
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.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 int
CONSTRUCTOR
boolean
needCardholderName
True, if the cardholder name must be provided.boolean
needCountry
True, if the user country must be provided.boolean
needPostalCode
True, if the user ZIP/postal code must be provided.String
publishableKey
Stripe API publishable key. -
Constructor Summary
Constructors Constructor Description PaymentsProviderStripe()
Stripe payment provider.PaymentsProviderStripe(DataInput input)
PaymentsProviderStripe(String publishableKey, boolean needCountry, boolean needPostalCode, boolean needCardholderName)
Stripe payment provider. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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()
-