Class TdApi.PaymentProviderStripe
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PaymentProvider
dev.voroby.springframework.telegram.client.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
(String publishableKey, boolean needCountry, boolean needPostalCode, boolean needCardholderName) Stripe payment provider. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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.
-
-
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
-