class Stripe::Product

Included Modules

Defined in:

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

Constructors

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]

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 #

[View source]
def type : String #

[View source]
def unit_label : String #

[View source]
def updated : Time #

[View source]