class Stripe::Source
- Stripe::Source
- Reference
- Object
Included Modules
- JSON::Serializable
- StripeMethods
Defined in:
stripe/methods/core/sources/create_source.crstripe/objects/core/source.cr
Constructors
- .create(type : String, amount : Int32 | Nil = nil, currency : String | Nil = nil, metadata : U | Nil = nil, owner : U | Nil = nil, redirect : U | Nil = nil, statement_descriptor : String | Nil = nil, flow : String | Nil = nil, token : String | Nil = nil, usage : String | Nil = nil, expand : Array(String) | Nil = nil) : Source forall T, U
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #amount : Int32 | Nil
- #client_secret : String
- #code_verification : Hash(String, String | Int32) | Nil
- #created : Time | Nil
- #currency : String
- #customer : String | Nil
- #id : String
- #metadata : Hash(String, String | Nil) | Nil
- #owner : Owner | Nil
- #receiver : Hash(String, String | Int32) | Nil
- #redirect : Hash(String, String) | Nil
- #statement_descriptor : String | Nil
- #status : Status
- #type : String
Constructor Detail
def self.create(type : String, amount : Int32 | Nil = nil, currency : String | Nil = nil, metadata : U | Nil = nil, owner : U | Nil = nil, redirect : U | Nil = nil, statement_descriptor : String | Nil = nil, flow : String | Nil = nil, token : String | Nil = nil, usage : String | Nil = nil, expand : Array(String) | Nil = nil) : Source forall T, U
#