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

Macros inherited from module StripeMethods

add_delete_method add_delete_method, add_list_method(*arguments) add_list_method, add_retrieve_method add_retrieve_method

Constructor Detail

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

def self.new(*, __pull_for_json_serializable 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 #