class Stripe::Product
- Stripe::Product
- Reference
- Object
Included Modules
- JSON::Serializable
- StripeMethods
Defined in:
stripe/methods/core/products/create_product.crstripe/objects/core/product.cr
Constructors
- .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
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #active : Bool
- #created : Time
- #description : String | Nil
- #id : String
- #livemode : Bool
- #metadata : Hash(String, String) | Nil
- #name : String
- #statement_descriptor : String | Nil
- #type : String
- #unit_label : String | Nil
- #updated : Time
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
#
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)
#