pub trait Object {
    type Id;
    fn id(&self) -> Self::Id;
fn object(&self) -> &'static str; }
Expand description

Implemented by types which represent stripe objects.

Associated Types

The canonical id type for this object.

Required methods

The id of the object.

The object’s type, typically represented in wire format as the object property.

Implementors