RevenueWithdrawalState.failed constructor
- @Assert('type == RevenueWithdrawalStateType.failed', 'type must be RevenueWithdrawalStateType.failed')
- @JsonKey(name: 'type') @Default(RevenueWithdrawalStateType.failed) RevenueWithdrawalStateType type,
The withdrawal failed and the transaction was refunded
Implementation
@Assert(
'type == RevenueWithdrawalStateType.failed',
'type must be RevenueWithdrawalStateType.failed',
)
const factory RevenueWithdrawalState.failed({
/// Type of the revenue withdrawal state, must be "failed"
@JsonKey(name: 'type')
@Default(RevenueWithdrawalStateType.failed)
RevenueWithdrawalStateType type,
}) = RevenueWithdrawalStateFailed;