public static class TdApi.PaymentProviderStripe extends TdApi.PaymentProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
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.
|
java.lang.String |
publishableKey
Stripe API publishable key.
|
| Constructor and Description |
|---|
PaymentProviderStripe()
Stripe payment provider.
|
PaymentProviderStripe(java.lang.String publishableKey,
boolean needCountry,
boolean needPostalCode,
boolean needCardholderName)
Stripe payment provider.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String publishableKey
public boolean needCountry
public boolean needPostalCode
public boolean needCardholderName
public static final int CONSTRUCTOR
public PaymentProviderStripe()
public PaymentProviderStripe(java.lang.String publishableKey,
boolean needCountry,
boolean needPostalCode,
boolean needCardholderName)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object