public static class TdApi.PaymentsProviderStripe extends TdApi.Object
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 |
---|
PaymentsProviderStripe()
Stripe payment provider.
|
PaymentsProviderStripe(java.lang.String publishableKey,
boolean needCountry,
boolean needPostalCode,
boolean needCardholderName)
Stripe payment provider.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String publishableKey
public boolean needCountry
public boolean needPostalCode
public boolean needCardholderName
public static final int CONSTRUCTOR
public PaymentsProviderStripe()
public PaymentsProviderStripe(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()
getConstructor
in class TdApi.Object