pub trait Object {
type Id;
fn id(&self) -> Self::Id;
fn object(&self) -> &'static str;
}
Expand description
Implemented by types which represent stripe objects.
The canonical id type for this object.
The object’s type, typically represented in wire format as the object
property.