class
TD::PaymentsProviderStripe
- TD::PaymentsProviderStripe
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/payments_provider_stripe.crConstructors
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
- .new(publishable_key : String, need_country : Bool = false, need_postal_code : Bool = false, need_cardholder_name : Bool = false)
Instance Method Summary
- #need_cardholder_name : Bool
- #need_cardholder_name=(need_cardholder_name : Bool)
- #need_country : Bool
- #need_country=(need_country : Bool)
- #need_postal_code : Bool
- #need_postal_code=(need_postal_code : Bool)
- #object_type : String
- #object_type=(object_type : String)
- #publishable_key : String
- #publishable_key=(publishable_key : String)
Instance methods inherited from class TD::Base
extract_abstract_type(__json : JSON::Any)
extract_abstract_type,
extract_type(__json : JSON::Any, class_type : Class)
extract_type
Macros inherited from class TD::Base
object_attributes(type)
object_attributes,
object_type(type)
object_type
Constructor Detail
def self.new(publishable_key : String, need_country : Bool = false, need_postal_code : Bool = false, need_cardholder_name : Bool = false)
#