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 #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.retrieve(id : String) #

[View source]
def self.retrieve(source : Stripe::Source) #

[View source]

Instance Method Detail

def amount : Int32 | Nil #

[View source]
def client_secret : String #

[View source]
def code_verification : Hash(String, String | Int32) | Nil #

[View source]
def created : Time | Nil #

[View source]
def currency : String #

[View source]
def customer : String | Nil #

[View source]
def id : String #

[View source]
def metadata : Hash(String, String | Nil) | Nil #

[View source]
def owner : Owner | Nil #

[View source]
def receiver : Hash(String, String | Int32) | Nil #

[View source]
def redirect : Hash(String, String) | Nil #

[View source]
def statement_descriptor : String | Nil #

[View source]
def status : Status #

[View source]
def type : String #

[View source]