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 #

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

[View source]

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

[View source]

Instance Method Detail

def active : Bool #

[View source]
def created : Time #

[View source]
def description : String | Nil #

[View source]
def id : String #

[View source]
def livemode : Bool #

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

[View source]
def name : String #

[View source]
def statement_descriptor : String | Nil #

[View source]
def type : String #

[View source]
def unit_label : String | Nil #

[View source]
def updated : Time #

[View source]