class Stripe::Product

Included Modules

Defined in:

stripe/methods/core/products/create_product.cr
stripe/objects/core/product.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.create(name : String, active : Bool | Nil = nil, description : String | Nil = nil, metadata : Hash | Nil = nil, images : Array(String) | Nil = nil, statement_descriptor : String | Nil = nil, unit_label : String | Nil = nil, type : String | Nil = nil) : Product forall T, U #

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

Class Method Detail

def self.list(active : Bool | Nil = nil, created : Hash(String, Int32) | Nil = nil, ids : Array(String) | Nil = nil, shippable : Bool | Nil = nil, url : String | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil, ending_before : String | Nil = nil) : List(Stripe::Product) #

Instance Method Detail

def active : Bool #

def created : Time #

def description : String | Nil #

def id : String #

def livemode : Bool #

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

def name : String #

def statement_descriptor : String | Nil #

def type : String #

def unit_label : String | Nil #

def updated : Time #