class Stripe::Source

Included Modules

Defined in:

stripe/methods/core/sources/create_source.cr
stripe/objects/core/source.cr

Constructors

Class Method Summary

Instance Method Summary

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 #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.retrieve(id : String) #

def self.retrieve(source : Stripe::Source) #

Instance Method Detail

def amount : Int32 | Nil #

def client_secret : String #

def code_verification : Hash(String, String | Int32) | Nil #

def created : Time | Nil #

def currency : String #

def customer : String | Nil #

def id : String #

def metadata : Hash(String, String | Nil) | Nil #

def owner : Owner | Nil #

def receiver : Hash(String, String | Int32) | Nil #

def redirect : Hash(String, String) | Nil #

def statement_descriptor : String | Nil #

def status : Status #

def type : String #