class Stripe::PaymentMethod

Included Modules

Defined in:

stripe/methods/core/payment_methods/attach_payment_method.cr
stripe/objects/payment_methods/payment_method.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.attach(payment_method : PaymentMethod | String, customer : Customer | String) #

[View source]
def self.retrieve(id : String) #

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

[View source]

Instance Method Detail

def billing_details : BillingDetails | Nil #

[View source]
def created : Time #

[View source]
def customer : String | Nil | Stripe::Customer | Nil #

[View source]
def description : String | Nil #

[View source]
def id : String #

[View source]
def livemode : Bool #

[View source]
def type : String | Nil #

[View source]