class Stripe::Product
- Stripe::Product
- Reference
- Object
Included Modules
- JSON::Serializable
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)
Instance Method Summary
- #active : Bool
- #created : Time
- #description : String | Nil
- #id : String
- #livemode : Bool
- #metadata : Hash(String, String) | Nil
- #name : String
- #statement_descriptor : String
- #type : String
- #unit_label : String
- #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
#