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) #

Class Method Detail

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

def self.retrieve(id : String) #

def self.retrieve(paymentmethod : Stripe::PaymentMethod) #

Instance Method Detail

def billing_details : BillingDetails | Nil #

def created : Time #

def customer : String | Nil | Stripe::Customer | Nil #

def description : String | Nil #

def id : String #

def livemode : Bool #

def type : String | Nil #