Skip to main content

PaymentEntity

Derive Macro PaymentEntity 

Source
#[derive(PaymentEntity)]
{
    // Attributes available to this derive:
    #[payment]
}
Expand description

PaymentEntity Pattern - Payment state management and validation (saves ~150 lines)