Class: TD::Types::PaymentsProviderStripe

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/payments_provider_stripe.rb

Overview

Stripe payment provider.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#need_cardholder_nameBoolean

True, if the cardholder name must be provided.

Returns:

  • (Boolean)

    the current value of need_cardholder_name



8
9
10
# File 'lib/tdlib/types/payments_provider_stripe.rb', line 8

def need_cardholder_name
  @need_cardholder_name
end

#need_countryBoolean

True, if the user country must be provided.

Returns:

  • (Boolean)

    the current value of need_country



8
9
10
# File 'lib/tdlib/types/payments_provider_stripe.rb', line 8

def need_country
  @need_country
end

#need_postal_codeBoolean

True, if the user ZIP/postal code must be provided.

Returns:

  • (Boolean)

    the current value of need_postal_code



8
9
10
# File 'lib/tdlib/types/payments_provider_stripe.rb', line 8

def need_postal_code
  @need_postal_code
end

#publishable_keyString

Stripe API publishable key.

Returns:

  • (String)

    the current value of publishable_key



8
9
10
# File 'lib/tdlib/types/payments_provider_stripe.rb', line 8

def publishable_key
  @publishable_key
end